From 0d76fb6495e82b1dbed0981246f272badd4dc98b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:42:37 +0400 Subject: feat(eslint): Rule "no-undef-init" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 43aeb2c..4b50fcc 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" ], -- cgit v1.2.3