forked from SchizoDuckie/DuckieTV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
73 lines (73 loc) · 2.19 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script",
"ecmaFeatures": {}
},
"env": {
"node": false,
"browser": true
},
"globals": {
"DuckieTV": true,
"angular": true,
"document": true,
"CRUD": true,
"Promise": true,
"X2JS": true,
"GenericTorrentSearchEngine": true,
"nw": true,
"process": true
},
"plugins": [
"angular"
],
"extends": "eslint:recommended",
"rules": {
"no-console": "off",
"semi": 0,
"comma-spacing": 2,
"no-multiple-empty-lines": 2,
"angular/angularelement": 1,
"angular/controller-as": 0,
"angular/controller-as-route": 2,
"angular/controller-as-vm": [2, "vm"],
"angular/deferred": 0,
"angular/definedundefined": 0,
"angular/di": [2, "array"],
"angular/di-order": [0, true],
"angular/directive-name": 0,
"angular/component-limit": [0, 1],
"angular/document-service": 0,
"angular/empty-controller": 0,
"angular/file-name": 0,
"angular/filter-name": 0,
"angular/foreach": 0,
"angular/function-type": 0,
"angular/interval-service": 2,
"angular/json-functions": 2,
"angular/module-getter": 0,
"angular/module-name": 0,
"angular/module-setter": 2,
"angular/no-angular-mock": 0,
"angular/no-controller": 0,
"angular/no-cookiestore": 2,
"angular/no-jquery-angularelement": 2,
"angular/no-private-call": 2,
"angular/no-service-method": 2,
"angular/no-services": [2, ["$http", "$resource", "Restangular"]],
"angular/on-watch": 0,
"angular/rest-service": 0,
"angular/service-name": 2,
"angular/timeout-service": 0,
"angular/typecheck-array": 2,
"angular/typecheck-date": 2,
"angular/typecheck-function": 2,
"angular/typecheck-number": 2,
"angular/typecheck-object": 0,
"angular/typecheck-string": 2,
"angular/watchers-execution": [0, "$digest"],
"angular/window-service": 0
}
}