diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:49:01 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:49:01 +0300 |
commit | f6794430fc56483d322203d154e38b0d3173cbc3 (patch) | |
tree | 6cffc1eb91a1abd4b314d8dd7188395efe6984ab | |
parent | ea076dbff177f20446ce8fda5f526aee6feed8b1 (diff) | |
download | eslint-config-f6794430fc56483d322203d154e38b0d3173cbc3.tar.xz eslint-config-f6794430fc56483d322203d154e38b0d3173cbc3.zip |
feat(eslint): Rule "sort-vars"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -259,7 +259,7 @@ - [X] "semi-style" - [X] "sort-imports" - [X] "sort-keys" -- [ ] "sort-vars" +- [X] "sort-vars" - [ ] "space-before-blocks" - [ ] "space-before-function-paren" - [ ] "space-in-parens" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 5f6f663..663c295 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -140,6 +140,12 @@ "natural": true } ], + "sort-vars": [ + "error", + { + "ignoreCase": false + } + ], "valid-jsdoc": [ "off" ] |