-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
67 lines (67 loc) · 1.57 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
{
"useEslintrc": false,
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true
},
"parser": "babel-eslint",
"env": {
"jasmine": true,
"browser": true,
"es6": true
},
"globals": [
"browser",
"inject",
"describe",
"it",
"xit",
"beforeEach",
"afterEach",
"expect",
"spyOn",
"runs",
"waits",
"waitsFor",
"jasmine",
"element",
"by",
"debugger",
"cc",
"sofa",
"angular"
],
"rules": {
"no-bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"wrap-iife": true,
"indent": 4,
"no-use-before-define": true,
"new-cap": true,
"no-caller": true,
"quotes": "single",
"no-invalid-regexp": true,
"no-undef": true,
"no-unused-vars": true,
"strict": "global",
"no-trailing-spaces ": true
}
}