angelozerr / tern-eslint

Tern Plugin to validate JS files with ESLint
https://github.com/eslint/eslint
MIT License
10 stars 6 forks source link

Support for .eslintignore #7

Open ptitgraig opened 9 years ago

ptitgraig commented 9 years ago

Hello. First thanks for this plugin.

I'd like to know if that would be easy to add support for .eslintignore or eslintignore.json file. Since javascript project often includes node_modules folder, we don't need to actually lint files in it.

Regards

angelozerr commented 9 years ago

Hello. First thanks for this plugin.

Glad this tern plugin can help you.

I'd like to know if that would be easy to add support for .eslintignore or eslintignore.json file.

I will study that.

Since javascript project often includes node_modules folder, we don't need to actually lint files in it.

If you are using tern.java 1.0.0, you will able to exclude files/folders with JSDT Install Path. Validation should ignore folders/files that you exclude.

IcyT commented 8 years ago

+1 for that feature request.