【发布时间】:2015-11-16 09:24:50
【问题描述】:
我已将"strict": false 添加到默认.jshintrc,但Sublime 3 仍然显示“缺少'use strict'”编辑器内警告。
任何帮助如何禁用此警告?
这是我完整的.jshintrc:
【问题讨论】:
-
上面的配置应该可以工作,如果你想在单个文件上禁用/启用严格模式,你可以写:
/* jshint strict: false */ -
好像other people have had this issue。你使用的是最新版本的 Sublime Linter 吗?
标签: javascript ide sublimetext3 jshint