-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 923 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
{
"extends": ["google", "standard"],
"plugins": ["fp", "prettier"],
"env": {
"es2017": true
},
"rules": {
"max-lines": ["warn", 250],
"max-lines-per-function": ["warn", 300],
"complexity": ["warn", 5],
"max-nested-callbacks": ["warn", 2],
"max-depth": ["warn", 3],
"fp/no-mutation": [
"warn",
{
"commonjs": true
}
],
"no-param-reassign": "error",
"fp/no-mutating-assign": "error",
"fp/no-mutating-methods": "error",
"fp/no-delete": "error",
"fp/no-loops": "warn",
"max-params": ["error", 3],
"import/first": "error",
"quotes": ["error", "single", "avoid-escape"],
"indent": ["error", 2],
"semi": ["error", "always"],
"camelcase": [0, { "properties": "never" }],
"max-len": ["error", 150],
"linebreak-style": ["error", "unix"],
"require-jsdoc": "off",
"object-curly-spacing": [2, "always"]
}
}