Enforce curly braces for control statements

This commit is contained in:
Pierre Ossman
2018-09-06 17:22:40 +02:00
parent 4a16dc51a8
commit 426a8c927b
7 changed files with 32 additions and 16 deletions
+1
View File
@@ -31,6 +31,7 @@
"ignoreComments": true }],
"comma-spacing": ["error"],
"comma-style": ["error"],
"curly": ["error", "multi-line"],
"func-call-spacing": ["error"],
"func-names": ["error"],
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],