UNPKG

6.57 kBJSONView Raw
1{
2 "env": {
3 "browser": false,
4 "node": false,
5 "amd": false,
6 "mocha": false,
7 "jasmine": false,
8 "es6": true
9 },
10 "globals": {
11 "__dirname": false,
12 "__filename": false,
13 "require": false,
14 "module": false
15 },
16 "rules": {
17 "no-alert": 2,
18 "no-array-constructor": 2,
19 "no-bitwise": 0,
20 "no-caller": 2,
21 "no-catch-shadow": 0,
22 "no-comma-dangle": 2,
23 "no-cond-assign": 2,
24 "no-console": 2,
25 "no-constant-condition": 2,
26 "no-control-regex": 2,
27 "no-debugger": 2,
28 "no-delete-var": 2,
29 "no-div-regex": 0,
30 "no-dupe-keys": 2,
31 "no-else-return": 0,
32 "no-empty": 2,
33 "no-empty-class": 2,
34 "no-empty-label": 2,
35 "no-eq-null": 0,
36 "no-eval": 2,
37 "no-ex-assign": 2,
38 "no-extend-native": 2,
39 "no-extra-bind": 2,
40 "no-extra-boolean-cast": 2,
41 "no-extra-parens": 0,
42 "no-extra-semi": 2,
43 "no-extra-strict": 2,
44 "no-fallthrough": 2,
45 "no-floating-decimal": 2,
46 "no-func-assign": 2,
47 "no-implied-eval": 2,
48 "no-inline-comments": 0,
49 "no-inner-declarations": [
50 2,
51 "functions"
52 ],
53 "no-invalid-regexp": 2,
54 "no-irregular-whitespace": 2,
55 "no-iterator": 2,
56 "no-label-var": 2,
57 "no-labels": 2,
58 "no-lone-blocks": 2,
59 "no-lonely-if": 2,
60 "no-loop-func": 2,
61 "no-mixed-requires": [
62 0,
63 false
64 ],
65 "no-mixed-spaces-and-tabs": [
66 2,
67 false
68 ],
69 "no-multi-spaces": 2,
70 "no-multi-str": 2,
71 "no-multiple-empty-lines": [
72 2,
73 {
74 "max": 1
75 }
76 ],
77 "no-native-reassign": 2,
78 "no-negated-in-lhs": 2,
79 "no-nested-ternary": 0,
80 "no-new": 2,
81 "no-new-func": 2,
82 "no-new-object": 2,
83 "no-new-require": 2,
84 "no-new-wrappers": 2,
85 "no-obj-calls": 2,
86 "no-octal": 2,
87 "no-octal-escape": 2,
88 "no-path-concat": 2,
89 "no-plusplus": 0,
90 "no-process-env": 2,
91 "no-process-exit": 2,
92 "no-proto": 2,
93 "no-redeclare": 2,
94 "no-regex-spaces": 2,
95 "no-reserved-keys": 0,
96 "no-restricted-modules": 0,
97 "no-return-assign": 2,
98 "no-script-url": 2,
99 "no-self-compare": 2,
100 "no-sequences": 2,
101 "no-shadow": 2,
102 "no-shadow-restricted-names": 2,
103 "no-space-before-semi": 2,
104 "no-spaced-func": 2,
105 "no-sparse-arrays": 2,
106 "no-sync": 0,
107 "no-ternary": 0,
108 "no-trailing-spaces": 2,
109 "no-undef": 2,
110 "no-undef-init": 2,
111 "no-undefined": 0,
112 "no-underscore-dangle": 0,
113 "no-unreachable": 2,
114 "no-unused-expressions": 2,
115 "no-unused-vars": [
116 2,
117 {
118 "vars": "all",
119 "args": "none"
120 }
121 ],
122 "no-use-before-define": [
123 2,
124 "nofunc"
125 ],
126 "no-void": 0,
127 "no-warning-comments": [
128 0,
129 {
130 "terms": [
131 "todo",
132 "fixme",
133 "xxx"
134 ],
135 "location": "start"
136 }
137 ],
138 "no-with": 2,
139 "no-wrap-func": 2,
140 "block-scoped-var": 0,
141 "brace-style": [
142 2,
143 "1tbs"
144 ],
145 "camelcase": 2,
146 "comma-spacing": [
147 2,
148 {
149 "before": false,
150 "after": true
151 }
152 ],
153 "comma-style": [
154 2,
155 "last"
156 ],
157 "complexity": [
158 2,
159 11
160 ],
161 "consistent-return": 2,
162 "consistent-this": [
163 2,
164 "self"
165 ],
166 "curly": [
167 2,
168 "all"
169 ],
170 "default-case": 2,
171 "dot-notation": 2,
172 "eol-last": 2,
173 "eqeqeq": 2,
174 "func-names": 2,
175 "func-style": [
176 0,
177 "declaration"
178 ],
179 "global-strict": [
180 2,
181 "always"
182 ],
183 "guard-for-in": 2,
184 "handle-callback-err": [
185 2,
186 "^(err|error|anySpecificError)$"
187 ],
188 "indent": [2, 4],
189 "key-spacing": [
190 2,
191 {
192 "beforeColon": false,
193 "afterColon": true
194 }
195 ],
196 "max-depth": [
197 2,
198 4
199 ],
200 "max-len": [
201 2,
202 80,
203 4
204 ],
205 "max-nested-callbacks": [
206 2,
207 3
208 ],
209 "max-params": [
210 2,
211 5
212 ],
213 "max-statements": [
214 2,
215 15
216 ],
217 "new-cap": [
218 2,
219 {
220 "newIsCap": true,
221 "capIsNew": false
222 }
223 ],
224 "new-parens": 2,
225 "one-var": [2, "never"],
226 "operator-assignment": [
227 0,
228 "always"
229 ],
230 "padded-blocks": 0,
231 "quote-props": 0,
232 "quotes": [
233 2,
234 "single"
235 ],
236 "radix": 2,
237 "semi": 2,
238 "sort-vars": 0,
239 "space-after-function-name": [
240 2,
241 "never"
242 ],
243 "space-after-keywords": [
244 2,
245 "always"
246 ],
247 "space-before-blocks": [
248 2,
249 "always"
250 ],
251 "space-in-brackets": [
252 2,
253 "never"
254 ],
255 "space-in-parens": [
256 2,
257 "never"
258 ],
259 "space-infix-ops": 2,
260 "space-return-throw-case": 2,
261 "space-unary-ops": [
262 2,
263 {
264 "words": true,
265 "nonwords": false
266 }
267 ],
268 "spaced-line-comment": [
269 2,
270 "always"
271 ],
272 "strict": 2,
273 "use-isnan": 2,
274 "valid-jsdoc": [
275 2,
276 {
277 "requireReturn": false,
278 "requireParamDescription": false
279 }
280 ],
281 "valid-typeof": 2,
282 "vars-on-top": 0,
283 "wrap-iife": 2,
284 "wrap-regex": 0,
285 "yoda": [
286 2,
287 "never"
288 ]
289 }
290}