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