feat(eslint): Rule "no-labels"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
3a8aa43fb9
commit
dcea1fb8f5
@ -134,7 +134,7 @@
|
|||||||
- [ ] "no-irregular-whitespace"
|
- [ ] "no-irregular-whitespace"
|
||||||
- [X] "no-iterator"
|
- [X] "no-iterator"
|
||||||
- [ ] "no-label-var"
|
- [ ] "no-label-var"
|
||||||
- [ ] "no-labels"
|
- [X] "no-labels"
|
||||||
- [ ] "no-lone-blocks"
|
- [ ] "no-lone-blocks"
|
||||||
- [ ] "no-lonely-if"
|
- [ ] "no-lonely-if"
|
||||||
- [ ] "no-loop-func"
|
- [ ] "no-loop-func"
|
||||||
|
@ -251,6 +251,9 @@
|
|||||||
"no-iterator": [
|
"no-iterator": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-labels": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"no-magic-numbers": [
|
"no-magic-numbers": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user