diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:42:37 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:42:37 +0300 |
commit | 0d76fb6495e82b1dbed0981246f272badd4dc98b (patch) | |
tree | 0cbd56c41651da7ace30cea7f891a1bad96dd3db | |
parent | c6c3b6b7694ff077c483e2558742ef0658d0b701 (diff) | |
download | eslint-config-0d76fb6495e82b1dbed0981246f272badd4dc98b.tar.xz eslint-config-0d76fb6495e82b1dbed0981246f272badd4dc98b.zip |
feat(eslint): Rule "no-undef-init"
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
@@ -194,7 +194,7 @@ - [ ] "no-throw-literal" - [ ] "no-trailing-spaces" - [ ] "no-undef" -- [ ] "no-undef-init" +- [X] "no-undef-init" - [X] "no-undefined" - [X] "no-underscore-dangle" - [ ] "no-unexpected-multiline" diff --git a/src/rules/default.json b/src/rules/default.json index 62d5ffe..aad6552 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -338,6 +338,9 @@ "no-ternary": [ "off" ], + "no-undef-init": [ + "error" + ], "no-undefined": [ "off" ], |