-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 1.28 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
41
42
43
44
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"env": {
"commonjs": true,
"node": true,
"es6": true,
"es2022": true
},
"rules": {
"no-unused-vars": "off",
"react/prop-types": "off",
"no-useless-escape": 0,
"no-prototype-builtins": "off",
"no-debugger": 0,
"no-console": 0,
"new-cap": 0,
"strict": 1,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"eol-last": 0,
"require-atomic-updates": 0,
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
}