aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/unicorn/default.json6
-rw-r--r--yarn.lock6
3 files changed, 10 insertions, 4 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index e381ebe..89a27b1 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -486,7 +486,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 bb3abab..bf11b2b 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"
],
diff --git a/yarn.lock b/yarn.lock
index 32755eb..f618377 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -114,9 +114,9 @@ acorn-jsx@^5.1.0:
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
acorn@^7.1.0:
- version "7.1.0"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
- integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
+ version "7.1.1"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf"
+ integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==
ajv@^6.10.0, ajv@^6.10.2:
version "6.11.0"