-
Notifications
You must be signed in to change notification settings - Fork 93
/
.eslintrc.json
60 lines (60 loc) · 1.57 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"extends": [
"plugin:react/recommended",
"plugin:cypress/recommended",
"plugin:security/recommended",
"airbnb",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"hj": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier",
"react-hooks",
"security"
],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"react/jsx-fragments": "off",
"react/require-default-props": "off",
"react/button-has-type": "off",
"react/sort-comp": "off",
"react/state-in-constructor": "off",
"react/no-access-state-in-setstate": "off",
"react/no-array-index-key": "off",
"react/destructuring-assignment": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/anchor-is-valid": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-restricted-globals": "off",
"camelcase": "off",
"security/detect-object-injection": "off",
"react/jsx-one-expression-per-line": "off",
"import/no-extraneous-dependencies": "off"
}
}