diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -135,7 +135,7 @@ - [X] "no-iterator" - [ ] "no-label-var" - [X] "no-labels" -- [ ] "no-lone-blocks" +- [X] "no-lone-blocks" - [ ] "no-lonely-if" - [ ] "no-loop-func" - [X] "no-magic-numbers" diff --git a/src/rules/default.json b/src/rules/default.json index e50530f..8f2d02a 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -254,6 +254,9 @@ "no-labels": [ "error" ], + "no-lone-blocks": [ + "error" + ], "no-magic-numbers": [ "warn", { |