This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
.eslintrc
54 lines (54 loc) · 1.61 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
{
"extends": [
"airbnb",
"prettier",
"plugin:jest/recommended",
"plugin:react/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/react"
],
"env": {
"browser": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"consistent-return": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/extensions": [
2,
"always",
{ "ts": "never", "tsx": "never", "js": "never", "jsx": "never" }
],
"import/no-named-default": 0,
"react/jsx-filename-extension": [
1,
{ "extensions": [".ts", ".tsx", ".js", ".jsx"] }
],
"react/prop-types": 0,
"react/display-name": 0,
"react/require-default-props": 0,
"react/no-unused-prop-types": 0,
"react/state-in-constructor": 0,
"react/jsx-props-no-spreading": 0,
"react/no-array-index-key": 0,
"react/jsx-fragments": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-static-element-interactions": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"no-use-before-define": 0,
"@typescript-eslint/no-use-before-define": ["error"],
"no-shadow": 0,
"@typescript-eslint/no-shadow": ["error"]
}
}