-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 loc) · 1.72 KB
/
.eslintrc.json
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
41
42
43
44
45
46
47
48
49
50
51
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 13,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"no-console": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/indent": [ "error", 2],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"no-mixed-spaces-and-tabs": 0,
"prefer-const": "off",
"require-yield": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-inferrable-types": "off",
"no-extra-boolean-cast": "off",
"@typescript-eslint/no-type-alias": "off",
"@typescript-eslint/no-magic-numbers": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-unused-vars-experimental": "off",
"@typescript-eslint/typedef": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"@typescript-eslint/no-empty-function": "off",
"react/no-unescaped-entities": "off",
"no-multiple-empty-lines": ["error", { "max": 1 }]
}
}