javascript - Sublime下使用JShint Gutter插件检测JS 结果被红色警告亮瞎 求问警告有纠正提示么
阿神
阿神 2017-04-10 15:25:07
[JavaScript讨论组]

题主第一次使用jshint,吓一跳,只看到一屏幕的警告,没有纠正提示啊,求相关提示,若能说说大家常用的.jshintrc配置就更好了 谢谢

阿神
阿神

闭关修行中......

全部回复(2)
伊谢尔伦

右键选择Lint Code 它会具体提示那一行有什么错误

ringa_lee

将strict选项设为false

"global" - there must be a "use strict"; directive at global level
"implied" - lint the code as if there is the "use strict"; directive
false - disable warnings about strict mode
true - there must be a "use strict"; directive at function level;

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号