Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm error message - use esversion 6

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.

like image 745
Bonifacio2 Avatar asked Jun 28 '17 18:06

Bonifacio2


1 Answers

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.

like image 118
Bonifacio2 Avatar answered Sep 24 '22 18:09

Bonifacio2