Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JsHint - Hide This Message: ES5 option is now set per default

I'm using gulp-jshint, and the following error message is annoying:

ES5 option is now set per default

How can I remove it?

like image 685
ac360 Avatar asked Jun 13 '14 18:06

ac360


2 Answers

It's just telling you that it is the default so you don't need to add it as an option. Look in the .jshintrc file and remove "es5": true.

http://jslinterrors.com/es5-option-is-now-set-per-default

like image 90
cuth Avatar answered Oct 15 '22 15:10

cuth


For me it was line:

 "esversion"     : 5, 

in .jshintrc. When I commented it problem disappeared.

like image 33
csharpfolk Avatar answered Oct 15 '22 16:10

csharpfolk