feat(eslint): Rule "no-labels"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:37:14 +04:00
parent 3a8aa43fb9
commit dcea1fb8f5
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

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"

View File

@ -251,6 +251,9 @@
"no-iterator": [
"error"
],
"no-labels": [
"error"
],
"no-magic-numbers": [
"warn",
{