From 0fdc1f6b956dbc273325842a4af60a5425826f5f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:27:28 +0400 Subject: feat(eslint): Rule "no-duplicate-imports" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 2e278b3..94f0774 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -104,7 +104,7 @@ - [ ] "no-dupe-else-if" - [ ] "no-dupe-keys" - [ ] "no-duplicate-case" -- [ ] "no-duplicate-imports" +- [X] "no-duplicate-imports" - [X] "no-else-return" - [X] "no-empty" - [ ] "no-empty-character-class" diff --git a/src/rules/default.json b/src/rules/default.json index 7c2e48c..91af2ff 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -218,6 +218,12 @@ "no-debugger": [ "warn" ], + "no-duplicate-imports": [ + "error", + { + "includeExports": true + } + ], "no-else-return": [ "error", { -- cgit v1.2.3