feat(eslint): Rule "prefer-numeric-literals"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
ddbdb502fa
commit
1191beb965
@ -237,7 +237,7 @@
|
||||
- [ ] "prefer-destructuring"
|
||||
- [ ] "prefer-exponentiation-operator"
|
||||
- [ ] "prefer-named-capture-group"
|
||||
- [ ] "prefer-numeric-literals"
|
||||
- [X] "prefer-numeric-literals"
|
||||
- [X] "prefer-object-spread"
|
||||
- [ ] "prefer-promise-reject-errors"
|
||||
- [X] "prefer-reflect"
|
||||
|
@ -395,6 +395,9 @@
|
||||
"ignoreReadBeforeAssign": false
|
||||
}
|
||||
],
|
||||
"prefer-numeric-literals": [
|
||||
"error"
|
||||
],
|
||||
"prefer-object-spread": [
|
||||
"error"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user