diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:48:49 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:48:49 +0300 |
commit | 5abf93f0e1a5ad9917518e0e8066e67a4b17cae7 (patch) | |
tree | 179b616b453d508b2a2a4bcbe6a0715972b18398 | |
parent | 9b25e5c0d1bd14d2951c954ac8bb39b36a418904 (diff) | |
download | eslint-config-5abf93f0e1a5ad9917518e0e8066e67a4b17cae7.tar.xz eslint-config-5abf93f0e1a5ad9917518e0e8066e67a4b17cae7.zip |
feat(import): Rule "first"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/import.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -288,7 +288,7 @@ - [ ] "export" - [X] "exports-last" - [ ] "extensions" -- [ ] "first" +- [X] "first" - [ ] "group-exports" - [ ] "imports-first" - [ ] "max-dependencies" diff --git a/src/rules/import.json b/src/rules/import.json index 152f009..c7b7dba 100644 --- a/src/rules/import.json +++ b/src/rules/import.json @@ -1,5 +1,8 @@ { "import/exports-last": [ "error" + ], + "import/first": [ + "error" ] } |