forked from Toxblh/react-hoc-outside-click
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 1.01 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"extends": ["airbnb"],
"rules": {
"max-len": [0],
"comma-dangle": [0],
"no-multi-spaces": [0],
"key-spacing": [0],
"no-console": ["error", {
"allow": ["warn", "error"]
}],
"no-mixed-operators": ["error", {
"allowSamePrecedence": true
}],
"no-use-before-define": ["error", "nofunc"],
"prefer-const": ["error", {
"destructuring": "all",
"ignoreReadBeforeAssign": false
}],
"import/no-unresolved": [0],
"import/no-extraneous-dependencies": [0],
"import/prefer-default-export": [0],
"import/extensions": [0],
"jsx-a11y/no-static-element-interactions": [0],
"react/no-unused-prop-types": ["error", {
"skipShapeProps": true
}],
"react/react-in-jsx-scope": [0]
}
}