-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
112 lines (112 loc) · 2.36 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
{
"env": {
"browser": true,
"node": true,
"amd": false,
"mocha": false,
"jasmine": false,
"es6": true
},
"parserOptions": {
"sourceType": "module",
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true
},
"globals": {
"angular": true,
"_": true,
"moment": true,
"$": true,
"jQuery": true
},
"rules": {
"no-use-before-define": [
1,
"nofunc"
],
"quotes": [
0,
"single"
],
"camelcase": 1,
"semi": 0,
"no-undef": 0,
"yoda": [
0,
"never"
],
"eqeqeq": 1,
"strict": 0,
"eol-last": 1,
"no-trailing-spaces": 1,
"no-shadow": 1,
"comma-spacing": 1,
"key-spacing": 1,
"comma-dangle": 1,
"no-cond-assign": 1,
"no-console": 1,
"no-constant-condition": 2,
"no-control-regex": 1,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 1,
"no-empty": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-parens": [
1,
"all"
],
"no-extra-semi": 1,
"no-func-assign": 2,
"no-inner-declarations": 1,
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-unreachable": 1,
"use-isnan": 1,
"valid-typeof": 2,
"no-fallthrough": 2,
"no-octal": 2,
"no-redeclare": 2,
"no-delete-var": 1,
"no-unused-vars": 1,
"array-bracket-spacing": 1,
"arrow-parens": 1,
"arrow-spacing": 1,
"generator-star-spacing": 1,
"no-const-assign": 2,
"no-var": 1,
"object-shorthand": 1,
"prefer-const": 1,
"prefer-spread": 1,
"prefer-reflect": 1,
"require-yield": 2
}
}