Skip to content

Commit

Permalink
.eslintrc.json: Allow opening/closing braces for block on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Jan 17, 2020
1 parent 63c86fe commit 78a6cc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"rules": {
"array-bracket-spacing" : "warn",
"block-spacing": "warn",
"brace-style": ["warn", "1tbs"],
"brace-style": ["warn", "1tbs", {
"allowSingleLine": true
}],
"camelcase": "warn",
"comma-spacing": "warn",
"computed-property-spacing" : ["warn", "never", {
Expand Down

0 comments on commit 78a6cc2

Please sign in to comment.