aboutsummaryrefslogtreecommitdiff
path: root/src/rules/eslint.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/eslint.json')
-rw-r--r--src/rules/eslint.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index db1785e..20f946f 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -3,6 +3,33 @@
"error",
"always"
],
+ "indent": [
+ "error",
+ "tab",
+ {
+ "ArrayExpression": 1,
+ "CallExpression": {
+ "arguments": 1
+ },
+ "FunctionDeclaration": {
+ "body": 1,
+ "parameters": 1
+ },
+ "FunctionExpression": {
+ "body": 1,
+ "parameters": 1
+ },
+ "ImportDeclaration": 1,
+ "MemberExpression": 1,
+ "ObjectExpression": 1,
+ "SwitchCase": 1,
+ "VariableDeclarator": "first",
+ "flatTernaryExpressions": true,
+ "ignoreComments": false,
+ "ignoredNodes": [],
+ "outerIIFEBody": 1
+ }
+ ],
"indent-legacy": [
"off"
],