feat(eslint): Rule "arrow-parens"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:30:57 +04:00
parent 4fa76141e1
commit f94ff5d8d7
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
- [ ] "array-callback-return"
- [ ] "array-element-newline"
- [ ] "arrow-body-style"
- [ ] "arrow-parens"
- [X] "arrow-parens"
- [ ] "arrow-spacing"
- [ ] "block-scoped-var"
- [ ] "block-spacing"

View File

@ -1,4 +1,8 @@
{
"arrow-parens": [
"error",
"always"
],
"brace-style": [
"error",
"1tbs",