Add lint rule for function declaration indentation

This commit is contained in:
Samuel Mannehed
2020-06-10 10:23:50 +02:00
committed by Lauri Kasanen
parent 42d437ad25
commit b84220f319

View File

@@ -25,6 +25,7 @@
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"indent": ["error", 4, { "SwitchCase": 1,
"FunctionDeclaration": { "parameters": "first" },
"CallExpression": { "arguments": "first" },
"ArrayExpression": "first",
"ObjectExpression": "first",