通过终端进行jshint验证时出错,我仍然有空js文件,但仍会引发错误。
f.js: line 0, col 0, ES5 option is now set per defaul
1 error
在主目录中创建.jshintrc文件,并将es5设置为FALSE。
{
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句