[eslint] Enforce brace style
This commit is contained in:
parent
46d6b46c0f
commit
663bdcb955
1 changed files with 12 additions and 0 deletions
12
.eslintrc
12
.eslintrc
|
|
@ -11,6 +11,18 @@
|
|||
"tab",
|
||||
{ "SwitchCase": 1 }
|
||||
],
|
||||
"brace-style": [
|
||||
"error",
|
||||
"1tbs"
|
||||
],
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"space-unary-ops": [
|
||||
"error",
|
||||
{ "words": true }
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue