We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef710a commit 13d2a3fCopy full SHA for 13d2a3f
src/models/Project.js
@@ -172,6 +172,8 @@ class Project {
172
warn('Linting JS Files ...');
173
this.eslintConfig.useEslintrc = false;
174
175
+ extend(true, this.eslintConfig, this.config._config.eslintConfig);
176
+
177
const cliengine = this.eslintConfig.linter || CLIEngine, // 优先使用项目配置的linter
178
cli = new cliengine(this.eslintConfig),
179
report = cli.executeOnFiles(this._getLintFiles(dir, 'js')),
0 commit comments