feat(eslint): Rule "valid-typeof"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
9cd13f4b41
commit
86f818d0b6
@ -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"
|
||||||
|
@ -192,5 +192,11 @@
|
|||||||
],
|
],
|
||||||
"valid-jsdoc": [
|
"valid-jsdoc": [
|
||||||
"off"
|
"off"
|
||||||
|
],
|
||||||
|
"valid-typeof": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"requireStringLiterals": true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user