-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (39 loc) · 1.14 KB
/
.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
42
"extends": ['airbnb-base/rules/best-practices',
'airbnb-base/rules/errors',
'airbnb-base/rules/node',
'airbnb-base/rules/variables',
'airbnb-base/rules/es6',
'airbnb-base/rules/imports']
"plugins": [
"promise",
"fp"
]
"parserOptions": {
"ecmaVersion": 2017
}
"rules": {
"promise/always-return": 2,
"promise/no-return-wrap": 2,
"promise/param-names": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
"fp/no-arguments": "error",
"fp/no-class": "error",
"fp/no-delete": "error",
"fp/no-events": "error",
"fp/no-get-set": "error",
"fp/no-let": "error",
"fp/no-loops": "error",
"fp/no-mutating-assign": "error",
"fp/no-mutating-methods": "error",
"fp/no-mutation": ["error", {"commonjs": true}],
"fp/no-nil": "error",
"fp/no-proxy": "error",
"fp/no-rest-parameters": "error",
"fp/no-this": "error",
"fp/no-throw": "error",
"fp/no-unused-expression": "off",
"no-unused-expressions": "error",
"fp/no-valueof-field": "error",
"no-var": "error"
}