feat(eslint): Rule "curly"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
a0d10caa64
commit
658ca3ebba
@ -25,7 +25,7 @@
|
|||||||
- [ ] "consistent-return"
|
- [ ] "consistent-return"
|
||||||
- [ ] "consistent-this"
|
- [ ] "consistent-this"
|
||||||
- [ ] "constructor-super"
|
- [ ] "constructor-super"
|
||||||
- [ ] "curly"
|
- [X] "curly"
|
||||||
- [ ] "default-case"
|
- [ ] "default-case"
|
||||||
- [ ] "default-case-last"
|
- [ ] "default-case-last"
|
||||||
- [ ] "default-param-last"
|
- [ ] "default-param-last"
|
||||||
|
@ -55,6 +55,10 @@
|
|||||||
"exceptions": {}
|
"exceptions": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"curly": [
|
||||||
|
"error",
|
||||||
|
"all"
|
||||||
|
],
|
||||||
"dot-notation": [
|
"dot-notation": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user