aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 17:48:49 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 17:48:49 +0300
commit5abf93f0e1a5ad9917518e0e8066e67a4b17cae7 (patch)
tree179b616b453d508b2a2a4bcbe6a0715972b18398 /src
parent9b25e5c0d1bd14d2951c954ac8bb39b36a418904 (diff)
downloadeslint-config-5abf93f0e1a5ad9917518e0e8066e67a4b17cae7.tar.xz
eslint-config-5abf93f0e1a5ad9917518e0e8066e67a4b17cae7.zip
feat(import): Rule "first"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/import.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/import.json b/src/rules/import.json
index 152f009..c7b7dba 100644
--- a/src/rules/import.json
+++ b/src/rules/import.json
@@ -1,5 +1,8 @@
{
"import/exports-last": [
"error"
+ ],
+ "import/first": [
+ "error"
]
}