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:
Pierre Ossman 2022-12-27 12:40:49 +01:00
parent 7f4a9eebc8
commit 262a90b0e0
3 changed files with 6 additions and 3 deletions

View File

@ -26,10 +26,13 @@
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"indent": ["error", 4, { "SwitchCase": 1,
"VariableDeclarator": "first",
"FunctionDeclaration": { "parameters": "first" },
"FunctionExpression": { "parameters": "first" },
"CallExpression": { "arguments": "first" },
"ArrayExpression": "first",
"ObjectExpression": "first",
"ImportDeclaration": "first",
"ignoreComments": true }],
"comma-spacing": ["error"],
"comma-style": ["error"],