WebStorm is showing the following error message:
JSHint: 'let' is available in ES6 (use 'esversion': 6) ...
In the Preferences -> Languages & Framework -> JavaScript menu I've selected the ECMAScript 6
option and my .jshintrc
file does contain the "esversion": 6,
line.
I've tried the two most recent versions of the app (which are now 2016.3.6 and 2017.1.2) but to no avail.
I've also deleted the files in ~/Library/Application Support/WebStormXX
and
~/Library/Preferences/WebStormXX
but nothing seems to have changed.
I'm using OS X 10.10.5.
Thanks to @lena's comment I was able to figure out what was wrong. The Use config file
checkbox of the Preferences | Languages & Frameworks | JavaScript | Code Quality Tools | JSHint
was not checked so my .jshintrc
was just being ignored.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With