aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:25:08 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:25:08 +0300
commit2ffee5d7a351385e21bc73cf1780f1362f7d66bb (patch)
treee48a76738d2e931306875d79d79618931dc9542a /src
parent28a0661434c22f50dc8308742ab317b047deabe3 (diff)
downloadeslint-config-2ffee5d7a351385e21bc73cf1780f1362f7d66bb.tar.xz
eslint-config-2ffee5d7a351385e21bc73cf1780f1362f7d66bb.zip
feat(eslint): Rule "sort-imports"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index b15bed4..d512ede 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -91,6 +91,20 @@
"require-jsdoc": [
"off"
],
+ "sort-imports": [
+ "error",
+ {
+ "ignoreCase": false,
+ "ignoreDeclarationSort": false,
+ "ignoreMemberSort": false,
+ "memberSyntaxSortOrder": [
+ "all",
+ "multiple",
+ "single",
+ "none"
+ ]
+ }
+ ],
"sort-keys": [
"warn",
"asc",