diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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" diff --git a/src/rules/default.json b/src/rules/default.json index c68506d..c4c5b47 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -395,6 +395,9 @@ "ignoreReadBeforeAssign": false } ], + "prefer-numeric-literals": [ + "error" + ], "prefer-object-spread": [ "error" ], |