From dcea1fb8f525a912969d7d76d1a9105f1ab8300b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:37:14 +0400 Subject: feat(eslint): Rule "no-labels" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 3e695a9..94a3ef0 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -134,7 +134,7 @@ - [ ] "no-irregular-whitespace" - [X] "no-iterator" - [ ] "no-label-var" -- [ ] "no-labels" +- [X] "no-labels" - [ ] "no-lone-blocks" - [ ] "no-lonely-if" - [ ] "no-loop-func" diff --git a/src/rules/default.json b/src/rules/default.json index 73490d2..e50530f 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -251,6 +251,9 @@ "no-iterator": [ "error" ], + "no-labels": [ + "error" + ], "no-magic-numbers": [ "warn", { -- cgit v1.2.3