diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:37:14 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:37:14 +0300 |
commit | dcea1fb8f525a912969d7d76d1a9105f1ab8300b (patch) | |
tree | 8e8633304d8d732e37f37192ec07613f2381c9ea | |
parent | 3a8aa43fb935e37e60edae5ca3982844222b8ced (diff) | |
download | eslint-config-dcea1fb8f525a912969d7d76d1a9105f1ab8300b.tar.xz eslint-config-dcea1fb8f525a912969d7d76d1a9105f1ab8300b.zip |
feat(eslint): Rule "no-labels"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", { |