-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
46 lines (46 loc) · 1.17 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
{
"extends": "airbnb-base",
"env": {
"es6": true,
"jasmine": true,
"node": true,
"browser": true
},
"globals": {
"spyOn": true,
"app": true,
"helpers": true
},
"rules": {
"brace-style": ["error", "stroustrup"],
"comma-dangle": ["error", "never"],
"func-names": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": [2, 180, 4, {
"ignoreUrls": true,
"ignoreComments": false
}],
"new-cap": ["error", {"capIsNewExceptions": ["Router", "ObjectId", "DEBUG"], "properties": false}],
"no-underscore-dangle": 0,
"no-unused-vars": ["warn"],
"no-use-before-define": ["error", { "functions": false }],
"no-var": ["off"],
"one-var": ["off"],
"vars-on-top": ["off"],
"no-param-reassign": ["off"],
"padded-blocks": 0,
"prefer-template": ["off"],
"prefer-arrow-callback": ["off"],
"require-jsdoc": ["warn", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"object-shorthand": ["error", "never"],
"space-before-function-paren": "off",
"strict": "off",
"valid-jsdoc": ["error"]
}
}