Closed ptitgraig closed 8 years ago
@ptitgraig to be honnest with you, I'm not a big expert with ESLint. I have defined a default config which defines double quotes https://github.com/angelozerr/tern-eslint/blob/master/eslint.js#L175 and if you define an eslint.json, it merges the defaultr rule with custom rules. If you think it's not a bad idea, please provide a PR.Thanks!
Thanks for your feedback. I'll consider making a PR when i get time.
@ptitgraig it's the same issue than https://github.com/angelozerr/tern.java/issues/369 please reinstall tern.java to check if it works now. Thanks.
Thanks @angelozerr i try that and let you noticed.
@ptitgraig is it ok for you?
Your fix seems to work, but it is not included in version published in Eclipse marketplace. I had to manually replace eslint.js with latest version from git.
@zboro yes it's normal, this fix is for tern.java 1.2.0-SNAPSHOT (not released). You can install it for the moment only with update site https://github.com/angelozerr/tern.java/wiki/Installation-Update-Site
Hello Angelo !
I'm using Eslint in my projects. I activated the tern module through Tern IDE. Then i set the Validation of my project with eslint and choose a local eslint.json file.
It seems that the plugin is working partially as i don't get the error messages I should.
For example, i'haven't set anything in rules for "double quote", and the plugin returns errors for "double quotes".
Somes screenshots attached. I'm using Eclipse Kepler.
Content of eslint.json:
What I get in the IDE: