-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
51 lines (51 loc) · 1.28 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
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"extends": [
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"import/no-extraneous-dependencies": ["warn", { "devDependencies": false }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/prefer-default-export": "off",
"arrow-parens": ["error", "as-needed"],
"no-param-reassign": ["error", { "props": false }],
"react/prop-types": [0],
"no-shadow": "off",
"react/jsx-props-no-spreading": [0],
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"quotes": [2, "single"],
"jsx-quotes": ["error", "prefer-single"],
"react/react-in-jsx-scope": "off",
"react/button-has-type": [1, { "reset": true }],
"prettier/prettier": ["error", {
"endOfLine":"auto"
}],
"func-names": "off",
"jsx-a11y/anchor-is-valid": "off"
}
}