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:
@@ -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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user