editorconfig-cli
editorconfig-cli copied to clipboard
Ignore files based on .gitignore
Awesome command line app, editorconfig-cli is really fast and consistent!
I found a cheap way to filter out .gitignore'd files, by writing a utility app called flcl:
$ go get github.com/amyboyd/editorconfig-cli
$ go get go get github.com/mcandre/flcl/...
$ flcl . | xargs -n 100 editorconfig-cli check
flcl lists all non-gitignored files, which the standard xargs unix utility then passes as additional arguments, 100 at a time, to editorconfig-cli calls.
Would you be interested in adding gitignores to editorconfig-cli directly, or perhaps integrating gitignores into a wrapper CLI application?