-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
33 lines (33 loc) · 840 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
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"plugins": [
"flowtype",
"flowtype-errors"
],
"env": {
"jest": true
},
"rules": {
"no-underscore-dangle": [ "error", { "allowAfterThis": true } ],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"indent": ["error", 4],
"no-cond-assign": ["error", "except-parens"],
"no-multi-spaces": [
"error", {
"ignoreEOLComments": true,
"exceptions": {
"Property": true,
"VariableDeclarator": true,
"ImportDeclaration": true
}
}
],
"semi": [2, "always", { "omitLastInOneLineBlock": true }],
"comma-dangle": [2, "always-multiline"],
"flowtype-errors/show-errors": 2
}
}