-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
119 lines (119 loc) · 3.45 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"env": {
"browser": true,
"node": true,
"es2020": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:prettier/recommended",
"prettier"
],
"plugins": [
"react-hooks",
"import",
"prettier"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"presets": [
"@babel/preset-react"
]
}
},
"rules": {
"no-unreachable": "warn",
"babel/camelcase": 0,
"babel/quotes": 0,
"comma-dangle": 0,
"complexity": 0,
"consistent-return": 0,
"import/no-extraneous-dependencies": 1,
"import/no-unresolved": 0,
"import/order": 0,
"import/prefer-default-export": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/no-static-element-interactions": 0,
"max-lines-per-function": 0,
"no-console": 0,
"no-irregular-whitespace": 1,
"no-nested-ternary": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-unused-vars": 1,
"no-use-before-define": 0,
"one-var": [
"error",
{
"initialized": "never",
"uninitialized": "always"
}
],
"prefer-destructuring": 0,
"prettier/prettier": [
"error"
],
"react/boolean-prop-naming": 0,
"react/button-has-type": 0,
"react/destructuring-assignment": 0,
"react/forbid-component-props": 0,
"react/forbid-dom-props": 0,
"react/forbid-elements": 0,
"react/forbid-prop-types": 0,
"react/function-component-definition": 0,
"react/jsx-boolean-value": 0,
"react/jsx-child-element-spacing": 1,
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-fragments": 0,
"react/jsx-handler-names": 0,
"react/jsx-max-depth": 0,
"react/jsx-no-bind": 0,
"react/jsx-no-literals": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-pascal-case": 0,
"react/jsx-props-no-multi-spaces": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-sort-default-props": 0,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 0,
"react/jsx-wrap-multilines": 0,
"react/no-array-index-key": 0,
"react/no-children-prop": 0,
"react/no-danger": 0,
"react/no-multi-comp": 0,
"react/no-set-state": 0,
"react/no-unescaped-entities": 1,
"react/no-unsafe": 1,
"react/prefer-es6-class": 0,
"react/prefer-read-only-props": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"react/require-default-props": 0,
"react/require-optimization": 0,
"react/sort-comp": 0,
"react/sort-prop-types": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0
}
}