Consistently use "first" indentation
We already enforced this for most things, so let's fix up the last few variants as well.
This commit is contained in:
parent
7f4a9eebc8
commit
262a90b0e0
|
@ -26,10 +26,13 @@
|
||||||
|
|
||||||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
||||||
"indent": ["error", 4, { "SwitchCase": 1,
|
"indent": ["error", 4, { "SwitchCase": 1,
|
||||||
|
"VariableDeclarator": "first",
|
||||||
"FunctionDeclaration": { "parameters": "first" },
|
"FunctionDeclaration": { "parameters": "first" },
|
||||||
|
"FunctionExpression": { "parameters": "first" },
|
||||||
"CallExpression": { "arguments": "first" },
|
"CallExpression": { "arguments": "first" },
|
||||||
"ArrayExpression": "first",
|
"ArrayExpression": "first",
|
||||||
"ObjectExpression": "first",
|
"ObjectExpression": "first",
|
||||||
|
"ImportDeclaration": "first",
|
||||||
"ignoreComments": true }],
|
"ignoreComments": true }],
|
||||||
"comma-spacing": ["error"],
|
"comma-spacing": ["error"],
|
||||||
"comma-style": ["error"],
|
"comma-style": ["error"],
|
||||||
|
|
Loading…
Reference in New Issue