-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.eslintrc.json
45 lines (45 loc) · 956 Bytes
/
.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
{
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"plugins": ["prettier"],
"globals": {
"fetch": false
},
"env": {
"browser": true
},
"rules": {
"prettier/prettier": 1,
"eol-last": 0,
"import/prefer-default-export": 0,
"no-trailing-spaces": 0,
"max-len": 0,
"no-unused-vars": 1,
"no-multiple-empty-lines": 0,
"padded-blocks": 1,
"func-names": 0,
"no-console": 0,
"import/order": 0,
"react/sort-comp": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"react/prop-types": 0,
"prefer-const": 1,
"react/no-unused-state": 1,
"no-nested-ternary": 0,
"react/destructuring-assignment": 0,
"react/jsx-sort-props": [
1,
{
"shorthandLast": true
}
],
"sort-imports": [
1,
{
"ignoreCase": true,
"ignoreDeclarationSort": true
}
]
}
}