diff --git a/rules/core/es6.js b/rules/core/es6.js index df43de0c..db0e4c07 100644 --- a/rules/core/es6.js +++ b/rules/core/es6.js @@ -12,7 +12,7 @@ module.exports = { "no-class-assign": "error", "no-const-assign": "error", "no-dupe-class-members": "error", - "no-duplicate-imports": "off", // => `import/no-duplicates` + "no-duplicate-imports": "error", "no-new-symbol": "error", "no-restricted-exports": "off", "no-restricted-imports": "off", diff --git a/rules/plugins/import.js b/rules/plugins/import.js index 93e8b935..b39d2eef 100644 --- a/rules/plugins/import.js +++ b/rules/plugins/import.js @@ -24,6 +24,7 @@ module.exports = { "import/no-cycle": "error", "import/no-default-export": "off", "import/no-deprecated": "error", + "import/no-duplicates": "off", // use core rule `no-duplicate-imports` "import/no-dynamic-require": "warn", "import/no-extraneous-dependencies": [ "error",