-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
149 lines (149 loc) · 2.94 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"globals": {
"angular": true,
"moment": true
},
"plugins": [
"angular"
],
"rules": {
"angular/angularelement": 1,
"angular/component-limit": [
0,
1
],
"angular/controller-as": 0,
"angular/controller-as-route": 0,
"angular/controller-as-vm": [
0,
"vm"
],
"angular/controller-name": [
2,
"/[A-Z].*Ctrl$/"
],
"angular/deferred": 0,
"angular/definedundefined": 2,
"angular/di": [
2,
"function"
],
"angular/di-order": [
0,
true
],
"angular/directive-name": 0,
"angular/directive-restrict": [
0,
{
"explicit": "never",
"restrict": "AE"
}
],
"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/log": 2,
"angular/module-dependency-order": [
0,
{
"grouped": true,
"prefix": null
}
],
"angular/module-getter": 2,
"angular/module-name": 0,
"angular/module-setter": 2,
"angular/no-angular-mock": 0,
"angular/no-controller": 0,
"angular/no-cookiestore": 2,
"angular/no-digest": 2,
"angular/no-http-callback": 2,
"angular/no-inline-template": [
0,
{
"allowSimple": true
}
],
"angular/no-jquery-angularelement": 2,
"angular/no-private-call": 2,
"angular/no-service-method": 2,
"angular/no-services": [
2,
[
"$http",
"$resource"
]
],
"angular/on-watch": 2,
"angular/rest-service": 0,
"angular/service-name": 2,
"angular/timeout-service": 2,
"angular/typecheck-array": 2,
"angular/typecheck-date": 2,
"angular/typecheck-function": 2,
"angular/typecheck-number": 2,
"angular/typecheck-object": 2,
"angular/typecheck-regexp": 2,
"angular/typecheck-string": 2,
"angular/watchers-execution": [
0,
"$digest"
],
"angular/window-service": 2,
"brace-style": 1,
"curly": 2,
"array-bracket-spacing": [
1,
"never"
],
"comma-spacing": 1,
"dot-notation": 1,
"no-shadow": 2,
"no-trailing-spaces": 1,
"no-use-before-define": 1,
"no-multiple-empty-lines": 1,
"indent": [
1,
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
1,
"unix"
],
"no-console": 0,
"quotes": [
1,
"single"
],
"semi": [
2,
"always"
],
"space-after-keywords": 1,
"space-before-blocks": 1,
"space-before-function-paren": [
1,
"never"
],
"space-before-keywords": 1,
"space-in-parens": [
1,
"never"
],
"space-infix-ops": 1,
"space-return-throw-case": 1
}
}