diff --git a/config/plugins.js b/config/plugins.js index 6968c709..d42f8e25 100644 --- a/config/plugins.js +++ b/config/plugins.js @@ -142,7 +142,9 @@ module.exports = { // } // ], - 'import/order': 'error', + // Disabled because of https://github.com/benmosher/eslint-plugin-import/pull/1651 and other issues. + // 'import/order': 'error', + 'import/no-unassigned-import': [ 'error', { diff --git a/index.js b/index.js index 79142e5f..136fc15d 100644 --- a/index.js +++ b/index.js @@ -36,7 +36,7 @@ const runEslint = (paths, options) => { const engine = new eslint.CLIEngine(config); const report = engine.executeOnFiles( paths.filter(path => !engine.isPathIgnored(path)), - config, + config ); return processReport(report, options); };