Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.jshintrc has no effect? #121

Open
ok11 opened this issue Dec 12, 2016 · 1 comment
Open

.jshintrc has no effect? #121

ok11 opened this issue Dec 12, 2016 · 1 comment

Comments

@ok11
Copy link

ok11 commented Dec 12, 2016

Hi all,

I'm trying to suppress the messages like "'let' is available in ES6...". I placed the following content in .jshintrc in the project root (near .project):

{
  "esversion": 6,
  "node": true
}

This is then visible in the project settings under JSHint->Configuration.
Still, neither this, nor placing the same content in global preferences, does not switch off the warning.
The only thing that helps, is adding the JSHint comment (/* jshint esversion: 6 */) in each and every file, which does not scale for a large project.

Am I missing something in my setup?

Thanks in advance.

@jmannau
Copy link

jmannau commented Jan 19, 2017

After struggling with this myself, you have to turn on Project Configuration. Under the Project Properties, Select JSHint | Configuration, then tick "Enable project specific configuration".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants