angelozerr / tern-eslint

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

limit validation to .js filetype #12

Open bardware opened 8 years ago

bardware commented 8 years ago

I happend to "randomly" add tern to a php project and was surprised every file was validated by ESLint. In my opinion the validation could be limited to .js files.

angelozerr commented 8 years ago

It's the tern client which decide if the file must be validated or not. See https://github.com/angelozerr/tern.java/issues/345 why it validates html for eclipse client