summaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-17 17:13:36 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-17 17:13:36 +0100
commit78a6cc27dd67abdfc27b987d59d3afb99a2bda75 (patch)
treef663ec2b820045caa9ac586eb4d2f0f92d7a8b2a /.eslintrc.json
parent63c86fedeb23161c81375cc159f38604e7d9fc5c (diff)
.eslintrc.json: Allow opening/closing braces for block on same line
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index d4b1646280..1d26d06799 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -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", {