-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.08 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
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"extends": "eslint-config-airbnb",
"plugins": ["jest"],
"rules": {
"prefer-destructuring": [0],
"object-curly-newline": [0],
"import/extensions": [0],
"import/no-extraneous-dependencies": [0],
"import/no-unresolved": [0],
"react/prefer-es6-class": [0],
"jsx-a11y/no-static-element-interactions": [0],
"no-plusplus": [0],
"no-bitwise": [0],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"func-names": [0],
"no-underscore-dangle": [0],
"react/jsx-first-prop-new-line": [0],
"jsx-a11y/click-events-have-key-events": [0],
"jsx-a11y/no-noninteractive-element-interactions": [0],
"no-mixed-operators": [
2,
{
"groups": [
["+", "-", "*", "/", "%", "**"],
["&", "|", "^", "~", "<<", ">>", ">>>"],
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"]
],
"allowSamePrecedence": true
}
]
}
}