-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
62 lines (62 loc) · 1.73 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
52
53
54
55
56
57
58
59
60
61
62
{
"extends": ["prisma", "plugin:@typescript-eslint/recommended", "airbnb", "prettier"],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"extraFileExtensions": [".css"]
},
"ignorePatterns": ["globals.css"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"env": {
"node": true,
"es6": true
},
"rules": {
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"no-console": "off",
"semi": "off",
"max-len": "off",
"import/order": "off",
"import/extensions": "off",
"import/no-unresolved": [
"error",
{
"ignore": ["@/*"]
}
],
"prefer-arrow/prefer-arrow-functions": "off",
"react/jsx-filename-extension": "off",
"react/react-in-jsx-scope": "off",
"react/no-array-index-key": "off",
"react/require-default-props": "off",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/restrict-template-expressions": "off"
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"no-undef": "off",
"no-unused-vars": ["error", { "args": "none" }],
"no-use-before-define": "off"
}
}
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}