问题
I'm using gulp-jshint, and the following error message is annoying:
ES5 option is now set per default
How can I remove it?
回答1:
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
回答2:
For me it was line:
"esversion" : 5,
in .jshintrc
. When I commented it problem disappeared.
来源:https://stackoverflow.com/questions/24212156/jshint-hide-this-message-es5-option-is-now-set-per-default