From 776927f849d8a1d52176039e92b4a0bf1f34596d Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 12 Feb 2020 18:55:19 +0700 Subject: [PATCH] Temporarily disable the `import/order` rule --- config/plugins.js | 4 +++- index.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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); };