1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-17 05:22:18 +00:00

Add newline before return and mandate curly braces (#98)

This commit is contained in:
Adrian Calinescu
2020-05-18 22:27:43 +03:00
committed by GitHub
parent 417ddb19a4
commit 1f6870128b

View File

@@ -27,6 +27,8 @@
"padding-line-between-statements": [ "padding-line-between-statements": [
"error", "error",
{ "blankLine": "always", "prev": "*", "next": "return" } { "blankLine": "always", "prev": "*", "next": "return" }
] ],
"brace-style": [2, "stroustrup", { "allowSingleLine": false }],
"curly": ["error", "all"]
} }
} }