-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
41 lines (41 loc) · 970 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
41
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended",
"plugin:prettier/recommended",
"prettier/flowtype"
],
"plugins": [
"flowtype",
"flowtype-errors"
],
"env": {
"jest": true,
"browser": true,
"node": true
},
"rules": {
"max-len": ["error", { "code": 170, "ignoreUrls": true }],
"flowtype/require-valid-file-annotation": [
2,
"always"
],
"no-restricted-properties": "off",
"no-tabs": ["error", {"allowIndentationTabs": true}],
"lines-between-class-members": "off",
"indent": [2, "tab"],
"no-console": "off",
"flowtype-errors/show-errors": "error",
"no-plusplus": "off",
"no-param-reassign": "off",
"class-methods-use-this": "off",
"no-unused-vars": "off",
"no-restricted-syntax": "off",
"prefer-destructuring": "off",
// /~https://github.com/facebook/flow/issues/3073
"no-continue": "off",
"import/no-cycle": "off",
"no-multi-assign": "off"
}
}