Add lint rule for function declaration indentation
This commit is contained in:
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",
|
||||
|
||||
Reference in New Issue
Block a user