-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
48 lines (48 loc) · 1.02 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"no-nested-ternary": 0,
"no-multi-assign": 0,
"no-underscore-dangle": 0,
"arrow-parens": ["error", "always"],
"object-curly-newline": 0,
"no-multi-spaces": 0,
"function-paren-newline": 0,
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"no-confusing-arrow": [
"error",
{
"allowParens": true
}
],
"max-len": [
2,
{
"code": 100,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreTemplateLiterals": true
}
],
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/prefer-default-export": 0,
"react/prop-types": 0,
"no-console": 0
}
}