diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:03:51 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:03:51 +0300 |
commit | fe5de6953aa1e072055058f8a8a8b9b95c924b1b (patch) | |
tree | 1cae56344f67296777b40615880d4c820d699496 /src/rules/eslint.json | |
parent | 6beddfac3497e11efdde3f3f3ef0a87a310fc72f (diff) | |
download | eslint-config-fe5de6953aa1e072055058f8a8a8b9b95c924b1b.tar.xz eslint-config-fe5de6953aa1e072055058f8a8a8b9b95c924b1b.zip |
feat(eslint): Rule "indent"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/eslint.json')
-rw-r--r-- | src/rules/eslint.json | 27 |
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" ], |