-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
59 lines (50 loc) · 1.2 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
{
"extends": "./node_modules/eslint-config-moment/index.js",
"plugins": ["angular"],
"ecmaFeatures": {
"globalReturn": true,
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"document": false,
"escape": false,
"navigator": false,
"unescape": false,
"window": false,
"before": true,
"sinon": true,
"angular": true,
"afterEach": false,
"beforeEach": false,
"describe": false,
"expect": false,
"it": false,
"jasmine": false,
"pending": false,
"spyOn": false,
"waits": false,
"waitsFor": false,
"xdescribe": false,
"xit": false,
"beforeAll": false,
"afterAll": false,
"runs": false
},
"parser": "babel-eslint",
"rules": {
// Needed for angular
"no-use-before-define": 0,
// Needed for angular
"no-unused-vars": 0,
"angular/log": 0,
// Disabled this since we uses classes for services
// http://www.michaelbromley.co.uk/blog/350/exploring-es6-classes-in-angularjs-1-x%20nice
"angular/no-service-method": 0
}
}