-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
42 lines (42 loc) · 1.05 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
{
"parser": "babel-eslint",
"extends": [
"prettier",
"prettier/react",
"airbnb"
],
"env": {
"node": true,
"browser": true
},
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"legacyDecorators": true,
"jsx": true
}
},
"plugins": ["react", "prettier"],
"settings": {
"react": {
"version": "16"
}
},
"rules": {
"prettier/prettier": "error",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": [0, { "forbid": ["any"] }],
"react/prop-types": 0,
"react/destructuring-assignment": "off",
"react/no-unused-state": "off",
"react/state-in-constructor": "off",
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": "off",
"react/no-array-index-key": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"object-shorthand": "off",
"jsx-a11y/control-has-associated-label": "off",
"react/require-default-props": "off"
}
}