-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.eslintrc
More file actions
28 lines (28 loc) · 734 Bytes
/
.eslintrc
File metadata and controls
28 lines (28 loc) · 734 Bytes
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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"eqeqeq": ["error", "smart"],
"max-len": ["error", 80],
"no-use-before-define": 0,
"react/jsx-filename-extension": 0,
"react/jsx-boolean-value": ["error", "always"],
"react/jsx-no-bind": ["error", {
"allowArrowFunctions": true
}],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
}],
"react/forbid-prop-types": 0,
"import/prefer-default-export": 0
},
"globals": {
"fetch": false,
"cancelAnimationFrame": false,
"requestAnimationFrame": false
}
}