Closed jonathanong closed 7 years ago
The only way to ignore things with .editorconfig
is like this:
root = true
[*]
indent_size = 4
[*.md]
indent_size = unset
In the example above, Markdown files would be "ignored" like you were hoping.
no, i am asking to ignore files checked by this tool. for example, i don't want to check anything in the node_modules
folder
Duplicate of #47
use command eclint fix
, do not need .
, and edit .gitignore
. eclint will ignore files defined in here.
There are examples for when you want to include files in git but want to exclude them from eclint.
I think this is best solved in Editorconfig as oppsed to introducing a separate ignore pattern configuration for eclint, e.g. https://github.com/editorconfig/editorconfig/issues/228.
use command eclint fix, do not need ., and edit .gitignore. eclint will ignore files defined in here.
@gucong3000 , I think, it must be in README. Users can long search for how to ignore files.
Thanks.
i would like to do
eclint fix .
and use a.eclintignore
to ignore node modules, etc. this is similar to how i use eslint.