Add lint rule for function declaration indentation

This commit is contained in:
Samuel Mannehed 2020-06-10 10:23:50 +02:00
parent 8be924c9d9
commit 07a69954b1
1 changed files with 1 additions and 0 deletions

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