summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/typescript/default.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 4504f4e..206e1a9 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -1,4 +1,31 @@
{
+ "@typescript-eslint/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
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",
@@ -14,6 +41,9 @@
"omitLastInOneLineBlock": false
}
],
+ "indent": [
+ "off"
+ ],
"quotes": [
"off"
],