-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 1.15 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
{
"root":true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"settings": {
"react":{
"version":"detect"
}
},
"rules": {
"@typescript-eslint/no-unsafe-assessment": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/require-await": ["error"],
"@typescript-eslint/no-unsafe-return": ["error"],
"@typescript-eslint/no-unsafe-call": ["error"],
"@typescript-eslint/no-unsafe-argument": ["error"],
"@typescript-eslint/no-unsafe-member-access": ["error"],
"@typescript-eslint/no-non-null-assertion": ["error"],
"@typescript-eslint/ban-ts-comment": "off",
"no-unused-vars": "off",
"require-await": "off"
}
}