From 9ff6063149603501052443b738bfc76f9232fb82 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 26 Feb 2020 22:01:09 +0400 Subject: feat(unicorn): import-index Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/unicorn/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 6e21048..edca367 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -480,7 +480,7 @@ - [ ] "expiring-todo-comments" - [ ] "explicit-length-check" - [X] "filename-case" -- [ ] "import-index" +- [X] "import-index" - [ ] "new-for-builtins" - [ ] "no-abusive-eslint-disable" - [ ] "no-array-instanceof" diff --git a/src/rules/unicorn/default.json b/src/rules/unicorn/default.json index 7a7dc1b..435ef7e 100644 --- a/src/rules/unicorn/default.json +++ b/src/rules/unicorn/default.json @@ -8,6 +8,12 @@ } } ], + "unicorn/import-index": [ + "error", + { + "ignoreImports": true + } + ], "unicorn/no-console-spaces": [ "error" ], -- cgit v1.2.3