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"
|
||||
- [ ] "no-label-var"
|
||||
- [X] "no-labels"
|
||||
- [ ] "no-lone-blocks"
|
||||
- [X] "no-lone-blocks"
|
||||
- [ ] "no-lonely-if"
|
||||
- [ ] "no-loop-func"
|
||||
- [X] "no-magic-numbers"
|
||||
|
@ -254,6 +254,9 @@
|
||||
"no-labels": [
|
||||
"error"
|
||||
],
|
||||
"no-lone-blocks": [
|
||||
"error"
|
||||
],
|
||||
"no-magic-numbers": [
|
||||
"warn",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user