diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:18:05 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:18:05 +0300 |
commit | 81d3e2381071b3123d9c4cc4992b953407c1b131 (patch) | |
tree | 30f8547abd89908dcdf64779bc9cace565fccb1c | |
parent | 46abf32d58915ba5da1374ac1f0a114174db41d0 (diff) | |
download | eslint-config-81d3e2381071b3123d9c4cc4992b953407c1b131.tar.xz eslint-config-81d3e2381071b3123d9c4cc4992b953407c1b131.zip |
feat(eslint): Rule "no-var"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -216,7 +216,7 @@ - [ ] "no-useless-escape" - [ ] "no-useless-rename" - [ ] "no-useless-return" -- [ ] "no-var" +- [X] "no-var" - [ ] "no-void" - [ ] "no-warning-comments" - [ ] "no-whitespace-before-property" diff --git a/src/rules/default.json b/src/rules/default.json index 905aa50..225e061 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -362,6 +362,9 @@ "vars": "all" } ], + "no-var": [ + "error" + ], "object-curly-newline": [ "error", { |