summaryrefslogtreecommitdiff
path: root/src/rules/import.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 17:54:09 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 17:54:09 +0300
commit8ce6c52655256648d26f0c5cd038f9cc98f5c3ee (patch)
tree0b19ad1fcd94f43d7705d503f15da257f687b458 /src/rules/import.json
parent3f4d2c8b7d180dfeddc172c860dfb6bab072c26f (diff)
downloadeslint-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.json6
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"
]