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.
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".
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):
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.