feat(eslint): Rule "valid-typeof"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:11:30 +04:00
parent 9cd13f4b41
commit 86f818d0b6
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -274,7 +274,7 @@
- [ ] "unicode-bom" - [ ] "unicode-bom"
- [ ] "use-isnan" - [ ] "use-isnan"
- [X] "valid-jsdoc" - [X] "valid-jsdoc"
- [ ] "valid-typeof" - [X] "valid-typeof"
- [ ] "vars-on-top" - [ ] "vars-on-top"
- [ ] "wrap-iife" - [ ] "wrap-iife"
- [ ] "wrap-regex" - [ ] "wrap-regex"

View File

@ -192,5 +192,11 @@
], ],
"valid-jsdoc": [ "valid-jsdoc": [
"off" "off"
],
"valid-typeof": [
"error",
{
"requireStringLiterals": true
}
] ]
} }