feat(eslint): Rule "curly"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 02:52:21 +04:00
parent a0d10caa64
commit 658ca3ebba
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@
- [ ] "consistent-return"
- [ ] "consistent-this"
- [ ] "constructor-super"
- [ ] "curly"
- [X] "curly"
- [ ] "default-case"
- [ ] "default-case-last"
- [ ] "default-param-last"

View File

@ -55,6 +55,10 @@
"exceptions": {}
}
],
"curly": [
"error",
"all"
],
"dot-notation": [
"error",
{