feat(eslint): Rule "no-undef-init"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 02:42:37 +04:00
parent c6c3b6b769
commit 0d76fb6495
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -194,7 +194,7 @@
- [ ] "no-throw-literal" - [ ] "no-throw-literal"
- [ ] "no-trailing-spaces" - [ ] "no-trailing-spaces"
- [ ] "no-undef" - [ ] "no-undef"
- [ ] "no-undef-init" - [X] "no-undef-init"
- [X] "no-undefined" - [X] "no-undefined"
- [X] "no-underscore-dangle" - [X] "no-underscore-dangle"
- [ ] "no-unexpected-multiline" - [ ] "no-unexpected-multiline"

View File

@ -338,6 +338,9 @@
"no-ternary": [ "no-ternary": [
"off" "off"
], ],
"no-undef-init": [
"error"
],
"no-undefined": [ "no-undefined": [
"off" "off"
], ],