forked from ifmeorg/ifme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 885 Bytes
/
.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
{
"plugins": ["flowtype", "jest", "react"],
"extends": ["airbnb", "plugin:flowtype/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true,
"jest/globals": true
},
"root": true,
"rules": {
"import/no-named-as-default": ["off"],
"import/prefer-default-export": ["off"],
"react/require-default-props": ["off"],
"jsx-a11y/label-has-for": ["off"],
"no-alert": ["off"],
"react/sort-comp": [2, {
"order": [
"type-annotations",
"static-methods",
"lifecycle",
"everything-else",
"/^render.+$/",
"render"
]
}],
"react/prefer-stateless-function": ["off"],
// Disabled because we use Flow
"react/prop-types": ["off"]
},
"settings": {
"import/resolver": {
"node": {
"paths": [
"./app",
".."
]
}
}
}
}