feat(typescript): Rule "indent"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -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"
 | 
			
		||||
  ],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user