jednano / eclint

Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code.
MIT License
305 stars 28 forks source link

Should respect .gitignore #128

Closed CestDiego closed 6 years ago

CestDiego commented 6 years ago

If I want to run this at a project level, it should know about a .gitignore file

gucong3000 commented 6 years ago

there is two way to respect .gitignore:

eclint check
# for Windows `$(git ls-files)` support:
npm i --save-dev exec-extra
env eclint check $(git ls-files)