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"
|
||||
- [ ] "use-isnan"
|
||||
- [X] "valid-jsdoc"
|
||||
- [ ] "valid-typeof"
|
||||
- [X] "valid-typeof"
|
||||
- [ ] "vars-on-top"
|
||||
- [ ] "wrap-iife"
|
||||
- [ ] "wrap-regex"
|
||||
|
@ -192,5 +192,11 @@
|
||||
],
|
||||
"valid-jsdoc": [
|
||||
"off"
|
||||
],
|
||||
"valid-typeof": [
|
||||
"error",
|
||||
{
|
||||
"requireStringLiterals": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user