feat(eslint): Rule "no-labels"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-14 01:37:14 +04:00
1 parent 3a8aa43fb9
commit dcea1fb8f5
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -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"
+3
View File
@@ -251,6 +251,9 @@
"no-iterator": [
"error"
],
"no-labels": [
"error"
],
"no-magic-numbers": [
"warn",
{