fleclint
v1.0.10
Published
Enforces EditorConfig settings in a directory tree.
Downloads
24
Readme
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 followingcheck
: check all files in the given directory tree against its EditorConfigfix
: 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.