-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 1.46 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"semi": "off",
"@typescript-eslint/semi": "error",
"quotes": "off",
"@typescript-eslint/quotes": ["error", "single"],
"no-extra-parens": "off",
"@typescript-eslint/no-extra-parens": ["error"],
"comma-spacing": "off",
"@typescript-eslint/comma-spacing": ["error"],
"brace-style": "error",
"@typescript-eslint/brace-style": ["error"],
"func-call-spacing": "off",
"@typescript-eslint/func-call-spacing": ["error"],
"space-before-function-paren": "off",
"@typescript-eslint/space-before-function-paren": ["error", "never"],
"@typescript-eslint/type-annotation-spacing": ["error"],
"@typescript-eslint/prefer-function-type": ["error"],
"@typescript-eslint/array-type": ["error", {"default": "array"}],
"object-curly-spacing": ["error", "never"],
"space-in-parens": ["error", "never"],
"no-trailing-spaces": "error",
"no-whitespace-before-property": "error",
"no-misleading-character-class": "off",
"react/prop-types": "off",
"curly": "error",
"space-before-blocks": "error",
"complexity": "error"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
]
}