From f6794430fc56483d322203d154e38b0d3173cbc3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:49:01 +0400 Subject: feat(eslint): Rule "sort-vars" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 98cad69..b803377 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" ] -- cgit v1.2.3