diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 17:54:09 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 17:54:09 +0300 |
commit | 8ce6c52655256648d26f0c5cd038f9cc98f5c3ee (patch) | |
tree | 0b19ad1fcd94f43d7705d503f15da257f687b458 /src/rules/import.json | |
parent | 3f4d2c8b7d180dfeddc172c860dfb6bab072c26f (diff) | |
download | eslint-config-8ce6c52655256648d26f0c5cd038f9cc98f5c3ee.tar.xz eslint-config-8ce6c52655256648d26f0c5cd038f9cc98f5c3ee.zip |
feat(import): Rule "newline-after-import"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/import.json')
-rw-r--r-- | src/rules/import.json | 6 |
1 files changed, 6 insertions, 0 deletions
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" ] |