feat(typescript): Rule "indent"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
50a06b02ba
commit
8d2a8a6154
@ -301,7 +301,7 @@
|
||||
- [ ] "explicit-module-boundary-types"
|
||||
- [ ] "func-call-spacing"
|
||||
- [ ] "generic-type-naming"
|
||||
- [ ] "indent"
|
||||
- [X] "indent"
|
||||
- [ ] "interface-name-prefix"
|
||||
- [ ] "member-delimiter-style"
|
||||
- [ ] "member-naming"
|
||||
|
@ -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"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user