diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -106,7 +106,7 @@ - [ ] "no-duplicate-case" - [ ] "no-duplicate-imports" - [ ] "no-else-return" -- [ ] "no-empty" +- [X] "no-empty" - [ ] "no-empty-character-class" - [ ] "no-empty-function" - [ ] "no-empty-pattern" diff --git a/src/rules/default.json b/src/rules/default.json index d3b3cb1..0621268 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -197,6 +197,12 @@ "no-debugger": [ "warn" ], + "no-empty": [ + "warn", + { + "allowEmptyCatch": false + } + ], "no-eval": [ "error", { |