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

佐手、 提交于 2019-12-01 02:10:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!