fleclint
fleclint
is a tool for enforcing EditorConfig settings in a directory tree. It is a wrapper around eclint
that adds support for ignoring files/folders with an .ecignore
file (which contains globs like a .gitignore
file).
Platforms
- Windows : Tested
- Requires
bash.exe
to be in thePATH
(e.g. install 64-bit Git and addC:\Program Files\Git\bin
to thePATH
)
- Requires
- Mac : Untested
- Linux : Untested
Usage
node fleclint.js <action> <directory (optional)>
-
<action>
: the action to perform; this can be one of the following-
check
: check all files in the given directory tree against its EditorConfig -
fix
: fixes all files in the given directory tree that do not match its EditorConfig
-
-
<directory>
: the directory to enforce EditorConfig settings in. If not provided,fleclint
uses the current working directory.
License
fleclint
is licensed under the MIT License.