diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:25:08 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:25:08 +0300 |
commit | 2ffee5d7a351385e21bc73cf1780f1362f7d66bb (patch) | |
tree | e48a76738d2e931306875d79d79618931dc9542a /src/rules | |
parent | 28a0661434c22f50dc8308742ab317b047deabe3 (diff) | |
download | eslint-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/rules')
-rw-r--r-- | src/rules/eslint.json | 14 |
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", |