diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/import.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -293,7 +293,7 @@ - [ ] "max-dependencies" - [ ] "named" - [ ] "namespace" -- [ ] "newline-after-import" +- [X] "newline-after-import" - [ ] "no-absolute-path" - [ ] "no-amd" - [ ] "no-anonymous-default-export" diff --git a/src/rules/import.json b/src/rules/import.json index 6ff497d..77ec282 100644 --- a/src/rules/import.json +++ b/src/rules/import.json @@ -5,6 +5,12 @@ "import/first": [ "error" ], + "import/newline-after-import": [ + "error", + { + "count": 1 + } + ], "import/no-webpack-loader-syntax": [ "error" ] |