-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
30 lines (30 loc) · 1.01 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"no-use-before-define": "off",
"prettier/prettier": "error",
"no-var": "warn",
"prefer-const": "warn",
"no-unused-expressions": "off",
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-this-alias": "warn",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-explicit-any": "off"
},
"parser": "@typescript-eslint/parser",
"settings": {
"react": {
"version": "detect"
}
}
}