-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
85 lines (85 loc) · 2.04 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"next/core-web-vitals",
"airbnb",
"airbnb/hooks",
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"prettier",
"react",
"@typescript-eslint",
"import"
],
"rules": {
"prettier/prettier": "error",
"react/prop-types": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/prefer-interface": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"react/jsx-filename-extension": 0,
"react/jsx-props-no-spreading": 0,
"react/require-default-props": 0,
"no-restricted-syntax": 0,
"@typescript-eslint/no-var-requires": 0,
"no-use-before-define": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"global-require": 0,
"react/react-in-jsx-scope": 0,
"import/prefer-default-export": 0,
"react/function-component-definition": 0,
"react/no-danger": 0,
"no-console": "error",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"typescript": {}
}
}
}