diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-26 21:01:09 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-26 21:01:09 +0300 |
commit | 9ff6063149603501052443b738bfc76f9232fb82 (patch) | |
tree | 51173e014a017e699c066b74848e218aba69390e | |
parent | d604a6f373397e4dae70cb38e1183cad6f90a162 (diff) | |
download | eslint-config-9ff6063149603501052443b738bfc76f9232fb82.tar.xz eslint-config-9ff6063149603501052443b738bfc76f9232fb82.zip |
feat(unicorn): import-index
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/unicorn/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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" ], |