-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
74 lines (67 loc) · 1.93 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"plugins": [
"angular",
"json"
],
"env": {
"browser": true,
"es6": false,
"jquery": true,
"node": true,
},
"globals": {
"mapEditor"
},
"parser": "babel-eslint",
"rules": {
"comma-dangle": ["error", "never"],
"indent": [2, 4, {"VariableDeclarator": 1}],
"max-len": "off",
"max-nested-callbacks": "off",
"no-negated-condition": "warn",
"padded-blocks": "off",
"valid-jsdoc": [0, {
"prefer": {
"return": "returns"
},
"requireReturn": false
}],
"arrow-body-style": "warn",
"arrow-parens": "warn",
"arrow-spacing": "warn",
"constructor-super": "warn",
"generator-star-spacing": "warn",
"no-class-assign": "warn",
"no-confusing-arrow": ["warn", {"allowParens": true}],
"no-const-assign": "warn",
"no-dupe-class-members": "warn",
"no-new-symbol": "warn",
"no-restricted-imports": "warn",
"no-this-before-super": "warn",
"no-useless-constructor": "warn",
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-const": "warn",
"prefer-reflect": "off",
"prefer-rest-params": "warn",
"prefer-spread": "warn",
"prefer-template": "off",
"require-yield": "warn",
"template-curly-spacing": "warn",
"yield-star-spacing": "warn",
"no-unused-vars": "warn",
"new-cap": "warn",
// "fp/no-class": "error",
// "fp/no-delete": "warn",
"fp/no-events": "off",
"fp/no-let": "off",
"fp/no-loops": "off",
// "fp/no-mutating-assign": "error",
"fp/no-mutation": "off",
"fp/no-nil": "off",
"fp/no-this": "off",
"fp/no-throw": "off",
"fp/no-unused-expression": "off"
}
}