forked from ow2-proactive/automation-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
38 lines (38 loc) · 1.05 KB
/
.eslintrc.json
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
{
"env": {
"browser": 1
},
"extends": [
"plugin:angular/johnpapa",
"eslint-config-airbnb-es5"
],
"globals": {
"angular": true,
"swal": true,
"moment" : true,
"getSessionId" : true,
"$" : true,
"html2canvas": true
},
"rules" : {
"quotes": [1, "single"],
"indent": [1, 4],
"space-before-function-paren": [0,"always"],
"space-infix-ops": [0,"always"],
"space-before-blocks": [0,"always"],
"spaced-comment": [0,"always"],
"padded-blocks": [0,"always"],
"func-names": [0,"always"],
"semi": [0,"always"],
"no-console": [1,{ "allow": ["warn", "error"] }],
"no-else-return": [0,"always"],
"valid-jsdoc": [0,"always"],
"no-shadow": [0,"always"],
"angular/controller-as": [0,"always"],
"angular/file-name": [1,"always"],
"angular/controller-as-vm": [1,"always"],
"angular/function-type" : "warn",
"key-spacing" : 0,
"eol-last" : 0
}
}