diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:46:10 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:46:10 +0300 |
commit | 9b25e5c0d1bd14d2951c954ac8bb39b36a418904 (patch) | |
tree | e06eeb0bff06b27a8772ad82cbaa1860f05f27e4 | |
parent | e81b322b43643f8fe8f6b66167e53181b4e7c068 (diff) | |
download | eslint-config-9b25e5c0d1bd14d2951c954ac8bb39b36a418904.tar.xz eslint-config-9b25e5c0d1bd14d2951c954ac8bb39b36a418904.zip |
feat(import): Rule "exports-last"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/import.json | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -286,7 +286,7 @@ - [ ] "default" - [ ] "dynamic-import-chunkname" - [ ] "export" -- [ ] "exports-last" +- [X] "exports-last" - [ ] "extensions" - [ ] "first" - [ ] "group-exports" diff --git a/src/rules/import.json b/src/rules/import.json index 0967ef4..152f009 100644 --- a/src/rules/import.json +++ b/src/rules/import.json @@ -1 +1,5 @@ -{} +{ + "import/exports-last": [ + "error" + ] +} |