From 9b25e5c0d1bd14d2951c954ac8bb39b36a418904 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 18:46:10 +0400 Subject: feat(import): Rule "exports-last" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/import.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 247474e..e6a22e5 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" + ] +} -- cgit v1.2.3