本文介绍了JsHint - 隐藏此消息:现在默认设置 ES5 选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 gulp-jshint,下面的错误信息很烦人:

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

ES5 option is now set per default

我怎样才能删除它?

推荐答案

它只是告诉你它是默认的,所以你不需要添加它作为选项.查看 .jshintrc 文件并删除 "es5": true.

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-现在按默认设置

这篇关于JsHint - 隐藏此消息:现在默认设置 ES5 选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 14:29