Add lint rule for function declaration indentation

pull/36/head
Samuel Mannehed 5 years ago committed by Lauri Kasanen
parent 42d437ad25
commit b84220f319

@ -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",

Loading…
Cancel
Save