【发布时间】:2016-07-11 08:48:08
【问题描述】:
我对使用 webpack 的 jsHint 有疑问。 我在每个文件中都收到此警告:
WARNING in ./app/app.component.js
jshint results in errors
Bad option: 'force'. @ line 0 char 0
我的 jsHint 选项:
var options = {
quotmark: 'single',
eqeqeq: true,
strict: false,
globals: {
define: false,
module: false,
angular: false,
app: false,
Chart: false,
}
};
module.exports = options;
版本
- “jshint”:“^2.9.2”,
- "jshint-loader": "^0.8.3",
- “webpack”:“^1.13.0”,
这是什么意思,我该如何解决。
【问题讨论】:
标签: javascript node.js webpack jshint