linted 19.0.3 → 19.1.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/files/index.d.ts +1 -1
  2. package/dist/files/mocha.d.ts +1 -1
  3. package/dist/files/mocha.d.ts.map +1 -1
  4. package/dist/files/mocha.js +4 -1
  5. package/dist/files/mocha.js.map +1 -1
  6. package/dist/files/mochaJs.d.ts +3 -0
  7. package/dist/files/mochaJs.d.ts.map +1 -0
  8. package/dist/files/mochaJs.js +5 -0
  9. package/dist/files/mochaJs.js.map +1 -0
  10. package/dist/rules/index.d.ts +529 -1
  11. package/dist/rules/index.d.ts.map +1 -1
  12. package/dist/rules/mocha/base.d.ts +5 -0
  13. package/dist/rules/mocha/base.d.ts.map +1 -0
  14. package/dist/rules/mocha/base.js +9 -0
  15. package/dist/rules/mocha/base.js.map +1 -0
  16. package/dist/rules/mocha/disable.d.ts +5 -0
  17. package/dist/rules/mocha/disable.d.ts.map +1 -0
  18. package/dist/rules/mocha/disable.js +8 -0
  19. package/dist/rules/mocha/disable.js.map +1 -0
  20. package/dist/rules/mocha/enable.d.ts +1 -1
  21. package/dist/rules/mocha/enable.d.ts.map +1 -1
  22. package/dist/rules/mocha/enable.js.map +1 -1
  23. package/dist/rules/mocha/index.d.ts +529 -1
  24. package/dist/rules/mocha/index.d.ts.map +1 -1
  25. package/dist/rules/mocha/index.js +6 -3
  26. package/dist/rules/mocha/index.js.map +1 -1
  27. package/dist/rules/mochaJs/index.d.ts +422 -0
  28. package/dist/rules/mochaJs/index.d.ts.map +1 -0
  29. package/dist/rules/mochaJs/index.js +7 -0
  30. package/dist/rules/mochaJs/index.js.map +1 -0
  31. package/package.json +1 -1
  32. package/src/files/mocha.ts +4 -1
  33. package/src/files/mochaJs.ts +4 -0
  34. package/src/rules/mocha/base.ts +9 -0
  35. package/src/rules/mocha/disable.ts +8 -0
  36. package/src/rules/mocha/enable.ts +1 -1
  37. package/src/rules/mocha/index.ts +6 -3
  38. package/src/rules/mochaJs/index.ts +7 -0
@@ -0,0 +1,8 @@
1
+ import { disable, OFF } from "../../_strings/index.js";
2
+ export default [
3
+ disable,
4
+ {
5
+ "prefer-arrow-callback": OFF,
6
+ },
7
+ ];
8
+ //# sourceMappingURL=disable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/mocha/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAe;IACb,OAAO;IACP;QACE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: {}[];
1
+ declare const _default: readonly ["enable", {}];
2
2
  export default _default;
3
3
  //# sourceMappingURL=enable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":";AAEA,wBAA4B"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":";AAEA,wBAAqC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAU,CAAC"}
@@ -1,3 +1,531 @@
1
- declare const _default: (readonly ["recommended", Record<string, "off">] | readonly ["enable", Partial<Record<"@html-eslint/require-lang" | "@html-eslint/require-img-alt" | "@html-eslint/require-doctype" | "@html-eslint/require-title" | "@html-eslint/no-duplicate-id" | "@html-eslint/no-inline-styles" | "@html-eslint/no-multiple-h1" | "@html-eslint/no-extra-spacing-attrs" | "@html-eslint/no-extra-spacing-text" | "@html-eslint/attrs-newline" | "@html-eslint/element-newline" | "@html-eslint/no-skip-heading-levels" | "@html-eslint/require-li-container" | "@html-eslint/indent" | "@html-eslint/quotes" | "@html-eslint/id-naming-convention" | "@html-eslint/no-obsolete-tags" | "@html-eslint/require-attrs" | "@html-eslint/require-closing-tags" | "@html-eslint/require-meta-description" | "@html-eslint/require-frame-title" | "@html-eslint/no-non-scalable-viewport" | "@html-eslint/no-positive-tabindex" | "@html-eslint/require-meta-viewport" | "@html-eslint/require-meta-charset" | "@html-eslint/no-target-blank" | "@html-eslint/no-duplicate-attrs" | "@html-eslint/no-abstract-roles" | "@html-eslint/require-button-type" | "@html-eslint/no-aria-hidden-body" | "@html-eslint/no-multiple-empty-lines" | "@html-eslint/no-accesskey-attrs" | "@html-eslint/no-restricted-attrs" | "@html-eslint/no-trailing-spaces" | "@html-eslint/no-restricted-attr-values" | "@html-eslint/no-script-style-type" | "@html-eslint/lowercase" | "@html-eslint/require-open-graph-protocol" | "@html-eslint/sort-attrs", unknown>>])[];
1
+ declare const _default: (readonly ["stylistic", {
2
+ readonly "@stylistic/array-bracket-newline": readonly ["error", {
3
+ readonly multiline: true;
4
+ readonly minItems: null;
5
+ }];
6
+ readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
7
+ readonly singleValue: false;
8
+ readonly objectsInArrays: false;
9
+ readonly arraysInArrays: false;
10
+ }];
11
+ readonly "@stylistic/array-element-newline": readonly ["error", {
12
+ readonly ArrayExpression: {
13
+ readonly consistent: true;
14
+ readonly multiline: true;
15
+ readonly minItems: 4;
16
+ };
17
+ readonly ArrayPattern: {
18
+ readonly consistent: true;
19
+ readonly multiline: true;
20
+ readonly minItems: 4;
21
+ };
22
+ }];
23
+ readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
24
+ readonly requireForBlockBody: false;
25
+ }];
26
+ readonly "@stylistic/arrow-spacing": readonly ["error", {
27
+ readonly before: true;
28
+ readonly after: true;
29
+ }];
30
+ readonly "@stylistic/block-spacing": readonly ["error", "always"];
31
+ readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
32
+ readonly allowSingleLine: true;
33
+ }];
34
+ readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
35
+ readonly "@stylistic/comma-spacing": readonly ["error", {
36
+ readonly before: false;
37
+ readonly after: true;
38
+ }];
39
+ readonly "@stylistic/comma-style": readonly ["error", "last", {
40
+ readonly exceptions: {
41
+ readonly ArrayExpression: false;
42
+ readonly ArrayPattern: false;
43
+ readonly ArrowFunctionExpression: false;
44
+ readonly CallExpression: false;
45
+ readonly FunctionDeclaration: false;
46
+ readonly FunctionExpression: false;
47
+ readonly ImportDeclaration: false;
48
+ readonly ObjectExpression: false;
49
+ readonly ObjectPattern: false;
50
+ readonly VariableDeclaration: false;
51
+ readonly NewExpression: false;
52
+ };
53
+ }];
54
+ readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
55
+ readonly enforceForClassMembers: true;
56
+ }];
57
+ readonly "@stylistic/dot-location": readonly ["error", "property"];
58
+ readonly "@stylistic/eol-last": readonly ["error", "always"];
59
+ readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
60
+ readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
61
+ readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
62
+ readonly "@stylistic/generator-star-spacing": readonly ["error", {
63
+ readonly before: true;
64
+ readonly after: false;
65
+ }];
66
+ readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
67
+ readonly "@stylistic/indent": readonly ["error", 2, {
68
+ readonly ignoredNodes: readonly [];
69
+ readonly SwitchCase: 1;
70
+ readonly VariableDeclarator: {
71
+ readonly var: 0;
72
+ readonly let: 0;
73
+ readonly const: 0;
74
+ };
75
+ readonly outerIIFEBody: 0;
76
+ readonly MemberExpression: 1;
77
+ readonly FunctionDeclaration: {
78
+ readonly parameters: 1;
79
+ readonly body: 1;
80
+ };
81
+ readonly FunctionExpression: {
82
+ readonly parameters: 1;
83
+ readonly body: 1;
84
+ };
85
+ readonly StaticBlock: {
86
+ readonly body: 1;
87
+ };
88
+ readonly CallExpression: {
89
+ readonly arguments: 1;
90
+ };
91
+ readonly ArrayExpression: 1;
92
+ readonly ObjectExpression: 1;
93
+ readonly ImportDeclaration: 1;
94
+ readonly flatTernaryExpressions: false;
95
+ readonly offsetTernaryExpressions: true;
96
+ readonly ignoreComments: false;
97
+ }];
98
+ readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
99
+ readonly "@stylistic/key-spacing": readonly ["error", {
100
+ readonly beforeColon: false;
101
+ readonly afterColon: true;
102
+ readonly mode: "strict";
103
+ }];
104
+ readonly "@stylistic/keyword-spacing": readonly ["error", {
105
+ readonly before: true;
106
+ readonly after: true;
107
+ readonly overrides: {};
108
+ }];
109
+ readonly "@stylistic/line-comment-position": "off";
110
+ readonly "@stylistic/lines-around-comment": readonly ["error", {
111
+ readonly beforeBlockComment: false;
112
+ readonly afterBlockComment: false;
113
+ readonly beforeLineComment: true;
114
+ readonly afterLineComment: false;
115
+ readonly allowBlockStart: true;
116
+ readonly allowBlockEnd: true;
117
+ readonly allowObjectStart: true;
118
+ readonly allowObjectEnd: true;
119
+ readonly allowArrayStart: true;
120
+ readonly allowArrayEnd: true;
121
+ readonly allowClassStart: true;
122
+ readonly allowClassEnd: true;
123
+ readonly applyDefaultIgnorePatterns: true;
124
+ readonly afterHashbangComment: false;
125
+ readonly allowEnumEnd: true;
126
+ readonly allowEnumStart: true;
127
+ readonly allowInterfaceEnd: true;
128
+ readonly allowInterfaceStart: true;
129
+ readonly allowModuleEnd: true;
130
+ readonly allowModuleStart: true;
131
+ readonly allowTypeEnd: true;
132
+ readonly allowTypeStart: true;
133
+ }];
134
+ readonly "@stylistic/lines-between-class-members": readonly ["error", {
135
+ readonly enforce: readonly [{
136
+ readonly prev: "field";
137
+ readonly next: "field";
138
+ readonly blankLine: "never";
139
+ }, {
140
+ readonly prev: "field";
141
+ readonly next: "method";
142
+ readonly blankLine: "always";
143
+ }, {
144
+ readonly prev: "method";
145
+ readonly next: "*";
146
+ readonly blankLine: "always";
147
+ }];
148
+ }, {
149
+ readonly exceptAfterSingleLine: false;
150
+ readonly exceptAfterOverload: true;
151
+ }];
152
+ readonly "@stylistic/max-len": readonly ["error", {
153
+ readonly code: 150;
154
+ readonly tabWidth: 2;
155
+ readonly ignoreComments: true;
156
+ readonly ignoreTrailingComments: true;
157
+ readonly ignoreUrls: true;
158
+ readonly ignoreStrings: true;
159
+ readonly ignoreTemplateLiterals: true;
160
+ readonly ignoreRegExpLiterals: true;
161
+ }];
162
+ readonly "@stylistic/max-statements-per-line": readonly ["error", {
163
+ readonly max: 1;
164
+ }];
165
+ readonly "@stylistic/member-delimiter-style": readonly ["error", {
166
+ readonly multiline: {
167
+ readonly delimiter: "semi";
168
+ readonly requireLast: true;
169
+ };
170
+ readonly singleline: {
171
+ readonly delimiter: "semi";
172
+ readonly requireLast: false;
173
+ };
174
+ readonly multilineDetection: "brackets";
175
+ }];
176
+ readonly "@stylistic/multiline-comment-style": "off";
177
+ readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
178
+ readonly "@stylistic/new-parens": readonly ["off", "never"];
179
+ readonly "@stylistic/newline-per-chained-call": readonly ["error", {
180
+ readonly ignoreChainWithDepth: 2;
181
+ }];
182
+ readonly "@stylistic/no-confusing-arrow": "off";
183
+ readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
184
+ readonly conditionalAssign: true;
185
+ readonly returnAssign: true;
186
+ readonly nestedBinaryExpressions: true;
187
+ readonly ternaryOperandBinaryExpressions: true;
188
+ readonly enforceForArrowConditionals: true;
189
+ readonly enforceForSequenceExpressions: true;
190
+ readonly enforceForNewInMemberExpressions: true;
191
+ readonly enforceForFunctionPrototypeMethods: true;
192
+ }];
193
+ readonly "@stylistic/no-extra-semi": "error";
194
+ readonly "@stylistic/no-floating-decimal": "error";
195
+ readonly "@stylistic/no-mixed-operators": "off";
196
+ readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
197
+ readonly "@stylistic/no-multi-spaces": readonly ["error", {
198
+ readonly ignoreEOLComments: false;
199
+ readonly exceptions: {
200
+ readonly Property: false;
201
+ };
202
+ readonly includeTabs: true;
203
+ }];
204
+ readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
205
+ readonly max: 1;
206
+ readonly maxEOF: 1;
207
+ readonly maxBOF: 0;
208
+ }];
209
+ readonly "@stylistic/no-tabs": readonly ["error", {
210
+ readonly allowIndentationTabs: false;
211
+ }];
212
+ readonly "@stylistic/no-trailing-spaces": readonly ["error", {
213
+ readonly skipBlankLines: false;
214
+ readonly ignoreComments: false;
215
+ }];
216
+ readonly "@stylistic/no-whitespace-before-property": "error";
217
+ readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
218
+ readonly overrides: {
219
+ readonly if: "below";
220
+ readonly else: "below";
221
+ readonly while: "below";
222
+ readonly do: "below";
223
+ readonly for: "below";
224
+ };
225
+ }];
226
+ readonly "@stylistic/object-curly-newline": readonly ["error", {
227
+ readonly ObjectExpression: {
228
+ readonly consistent: true;
229
+ readonly multiline: true;
230
+ readonly minProperties: 4;
231
+ };
232
+ readonly ObjectPattern: {
233
+ readonly consistent: true;
234
+ readonly multiline: true;
235
+ readonly minProperties: 4;
236
+ };
237
+ readonly ImportDeclaration: {
238
+ readonly consistent: true;
239
+ readonly multiline: true;
240
+ readonly minProperties: 4;
241
+ };
242
+ readonly ExportDeclaration: {
243
+ readonly consistent: true;
244
+ readonly multiline: true;
245
+ readonly minProperties: 4;
246
+ };
247
+ }];
248
+ readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
249
+ readonly arraysInObjects: true;
250
+ readonly objectsInObjects: true;
251
+ }];
252
+ readonly "@stylistic/object-property-newline": readonly ["error", {
253
+ readonly allowAllPropertiesOnSameLine: true;
254
+ }];
255
+ readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
256
+ readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
257
+ readonly overrides: {
258
+ readonly "=": "after";
259
+ };
260
+ }];
261
+ readonly "@stylistic/padded-blocks": readonly ["error", {
262
+ readonly blocks: "never";
263
+ readonly classes: "never";
264
+ readonly switches: "never";
265
+ }, {
266
+ readonly allowSingleLineBlocks: true;
267
+ }];
268
+ readonly "@stylistic/padding-line-between-statements": readonly ["error", {
269
+ readonly prev: "directive";
270
+ readonly next: "*";
271
+ readonly blankLine: "always";
272
+ }, {
273
+ readonly prev: "directive";
274
+ readonly next: "directive";
275
+ readonly blankLine: "never";
276
+ }, {
277
+ readonly prev: readonly ["import", "cjs-import"];
278
+ readonly next: "*";
279
+ readonly blankLine: "always";
280
+ }, {
281
+ readonly prev: readonly ["import", "cjs-import"];
282
+ readonly next: readonly ["import", "cjs-import"];
283
+ readonly blankLine: "never";
284
+ }, {
285
+ readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
286
+ readonly next: "*";
287
+ readonly blankLine: "always";
288
+ }, {
289
+ readonly prev: "case";
290
+ readonly next: "*";
291
+ readonly blankLine: "always";
292
+ }, {
293
+ readonly prev: "case";
294
+ readonly next: readonly ["case", "default"];
295
+ readonly blankLine: "always";
296
+ }, {
297
+ readonly prev: "default";
298
+ readonly next: "*";
299
+ readonly blankLine: "always";
300
+ }, {
301
+ readonly prev: "type";
302
+ readonly next: "*";
303
+ readonly blankLine: "always";
304
+ }, {
305
+ readonly prev: "type";
306
+ readonly next: "type";
307
+ readonly blankLine: "never";
308
+ }, {
309
+ readonly prev: "function";
310
+ readonly next: "*";
311
+ readonly blankLine: "always";
312
+ }, {
313
+ readonly prev: "function-overload";
314
+ readonly next: "*";
315
+ readonly blankLine: "always";
316
+ }, {
317
+ readonly prev: "function-overload";
318
+ readonly next: "function-overload";
319
+ readonly blankLine: "never";
320
+ }, {
321
+ readonly prev: "function-overload";
322
+ readonly next: "function";
323
+ readonly blankLine: "never";
324
+ }, {
325
+ readonly prev: readonly ["const", "let", "var"];
326
+ readonly next: "*";
327
+ readonly blankLine: "always";
328
+ }, {
329
+ readonly prev: readonly ["const", "let", "var"];
330
+ readonly next: readonly ["const", "let", "var"];
331
+ readonly blankLine: "never";
332
+ }, {
333
+ readonly prev: "expression";
334
+ readonly next: "*";
335
+ readonly blankLine: "always";
336
+ }, {
337
+ readonly prev: "expression";
338
+ readonly next: "expression";
339
+ readonly blankLine: "never";
340
+ }, {
341
+ readonly prev: "*";
342
+ readonly next: readonly ["throw", "return", "break", "continue"];
343
+ readonly blankLine: "always";
344
+ }, {
345
+ readonly prev: "*";
346
+ readonly next: readonly ["export", "cjs-export"];
347
+ readonly blankLine: "always";
348
+ }, {
349
+ readonly prev: readonly ["export", "cjs-export"];
350
+ readonly next: readonly ["export", "cjs-export"];
351
+ readonly blankLine: "never";
352
+ }];
353
+ readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
354
+ readonly keywords: true;
355
+ readonly unnecessary: true;
356
+ readonly numbers: false;
357
+ }];
358
+ readonly "@stylistic/quotes": readonly ["error", "double", {
359
+ readonly avoidEscape: true;
360
+ readonly allowTemplateLiterals: true;
361
+ }];
362
+ readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
363
+ readonly "@stylistic/semi": readonly ["error", "always", {
364
+ readonly omitLastInOneLineBlock: false;
365
+ readonly omitLastInOneLineClassBody: false;
366
+ }];
367
+ readonly "@stylistic/semi-spacing": readonly ["error", {
368
+ readonly before: false;
369
+ readonly after: true;
370
+ }];
371
+ readonly "@stylistic/semi-style": readonly ["error", "last"];
372
+ readonly "@stylistic/space-before-blocks": readonly ["error", {
373
+ readonly functions: "always";
374
+ readonly keywords: "always";
375
+ readonly classes: "always";
376
+ }];
377
+ readonly "@stylistic/space-before-function-paren": readonly ["error", {
378
+ readonly anonymous: "always";
379
+ readonly named: "never";
380
+ readonly asyncArrow: "always";
381
+ }];
382
+ readonly "@stylistic/space-in-parens": readonly ["error", "never"];
383
+ readonly "@stylistic/space-infix-ops": readonly ["error", {
384
+ readonly int32Hint: true;
385
+ }];
386
+ readonly "@stylistic/space-unary-ops": readonly ["error", {
387
+ readonly words: true;
388
+ readonly nonwords: false;
389
+ readonly overrides: {};
390
+ }];
391
+ readonly "@stylistic/spaced-comment": readonly ["error", "always"];
392
+ readonly "@stylistic/switch-colon-spacing": readonly ["error", {
393
+ readonly after: true;
394
+ readonly before: false;
395
+ }];
396
+ readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
397
+ readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
398
+ readonly "@stylistic/type-annotation-spacing": readonly ["error", {
399
+ readonly before: true;
400
+ readonly after: true;
401
+ readonly overrides: {
402
+ readonly colon: {
403
+ readonly before: false;
404
+ readonly after: true;
405
+ };
406
+ };
407
+ }];
408
+ readonly "@stylistic/type-generic-spacing": "error";
409
+ readonly "@stylistic/type-named-tuple-spacing": "error";
410
+ readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
411
+ readonly functionPrototypeMethods: true;
412
+ }];
413
+ readonly "@stylistic/wrap-regex": "error";
414
+ readonly "@stylistic/yield-star-spacing": readonly ["error", {
415
+ readonly before: false;
416
+ readonly after: true;
417
+ }];
418
+ }] | readonly ["disable", {
419
+ readonly "constructor-super": "off";
420
+ readonly "no-const-assign": "off";
421
+ readonly "no-dupe-args": "off";
422
+ readonly "no-dupe-class-members": "off";
423
+ readonly "no-dupe-keys": "off";
424
+ readonly "no-func-assign": "off";
425
+ readonly "no-obj-calls": "off";
426
+ readonly "no-setter-return": "off";
427
+ readonly "no-this-before-super": "off";
428
+ readonly "no-undef": "off";
429
+ readonly "no-unreachable": "off";
430
+ readonly "no-unsafe-negation": "off";
431
+ readonly "consistent-return": "off";
432
+ readonly "no-redeclare": "off";
433
+ }] | readonly ["disable-extend", {
434
+ readonly "class-methods-use-this": "off";
435
+ readonly "consistent-return": "off";
436
+ readonly "default-param-last": "off";
437
+ readonly "dot-notation": "off";
438
+ readonly "init-declarations": "off";
439
+ readonly "max-params": "off";
440
+ readonly "no-array-constructor": "off";
441
+ readonly "no-dupe-class-members": "off";
442
+ readonly "no-empty-function": "off";
443
+ readonly "no-implied-eval": "off";
444
+ readonly "no-invalid-this": "off";
445
+ readonly "no-loop-func": "off";
446
+ readonly "no-magic-numbers": "off";
447
+ readonly "no-redeclare": "off";
448
+ readonly "no-restricted-imports": "off";
449
+ readonly "no-shadow": "off";
450
+ readonly "no-throw-literal": "off";
451
+ readonly "no-unused-expressions": "off";
452
+ readonly "no-unused-vars": "off";
453
+ readonly "no-use-before-define": "off";
454
+ readonly "no-useless-constructor": "off";
455
+ readonly "prefer-destructuring": "off";
456
+ readonly "prefer-promise-reject-errors": "off";
457
+ readonly "require-await": "off";
458
+ }] | readonly ["enable-extend", {
459
+ readonly "@typescript-eslint/class-methods-use-this": "off";
460
+ readonly "@typescript-eslint/consistent-return": "off";
461
+ readonly "@typescript-eslint/default-param-last": "error";
462
+ readonly "@typescript-eslint/dot-notation": readonly ["error", {
463
+ readonly allowKeywords: true;
464
+ readonly allowPrivateClassPropertyAccess: true;
465
+ readonly allowProtectedClassPropertyAccess: true;
466
+ readonly allowIndexSignaturePropertyAccess: true;
467
+ }];
468
+ readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
469
+ readonly "@typescript-eslint/max-params": "off";
470
+ readonly "@typescript-eslint/no-array-constructor": "error";
471
+ readonly "@typescript-eslint/no-dupe-class-members": "off";
472
+ readonly "@typescript-eslint/no-empty-function": readonly ["error", {
473
+ readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
474
+ }];
475
+ readonly "@typescript-eslint/no-implied-eval": "error";
476
+ readonly "@typescript-eslint/no-invalid-this": "off";
477
+ readonly "@typescript-eslint/no-loop-func": "error";
478
+ readonly "@typescript-eslint/no-magic-numbers": "off";
479
+ readonly "@typescript-eslint/no-redeclare": "off";
480
+ readonly "@typescript-eslint/no-restricted-imports": "off";
481
+ readonly "@typescript-eslint/no-shadow": "off";
482
+ readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
483
+ readonly allowShortCircuit: true;
484
+ readonly allowTernary: true;
485
+ readonly allowTaggedTemplates: true;
486
+ readonly enforceForJSX: false;
487
+ }];
488
+ readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
489
+ readonly vars: "all";
490
+ readonly args: "all";
491
+ readonly caughtErrors: "all";
492
+ readonly ignoreRestSiblings: false;
493
+ readonly ignoreClassWithStaticInitBlock: false;
494
+ readonly reportUsedIgnorePattern: true;
495
+ }];
496
+ readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
497
+ readonly functions: true;
498
+ readonly classes: true;
499
+ readonly variables: true;
500
+ readonly allowNamedExports: false;
501
+ readonly enums: true;
502
+ readonly typedefs: false;
503
+ readonly ignoreTypeReferences: true;
504
+ }];
505
+ readonly "@typescript-eslint/no-useless-constructor": "error";
506
+ readonly "@typescript-eslint/only-throw-error": readonly ["error", {
507
+ readonly allowThrowingAny: false;
508
+ readonly allowThrowingUnknown: false;
509
+ }];
510
+ readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
511
+ readonly VariableDeclarator: {
512
+ readonly array: true;
513
+ readonly object: true;
514
+ };
515
+ readonly AssignmentExpression: {
516
+ readonly array: false;
517
+ readonly object: false;
518
+ };
519
+ }, {
520
+ readonly enforceForRenamedProperties: false;
521
+ readonly enforceForDeclarationWithTypeAnnotation: false;
522
+ }];
523
+ readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
524
+ readonly allowEmptyReject: false;
525
+ }];
526
+ readonly "@typescript-eslint/require-await": "error";
527
+ }] | readonly ["recommended", Record<string, "off">] | readonly ["disable", {
528
+ readonly "prefer-arrow-callback": "off";
529
+ }] | readonly ["enable", {}])[];
2
530
  export default _default;
3
531
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";AAGA,wBAAqC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,4 +1,7 @@
1
- import recommended from "./enable_recommended.js";
2
- import enable from "../html/enable.js";
3
- export default [recommended, enable];
1
+ import ts from "../ts/index.js";
2
+ import base from "./base.js";
3
+ export default [
4
+ ...ts,
5
+ ...base,
6
+ ];
4
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAC/C,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,eAAe;IACb,GAAG,EAAE;IACL,GAAG,IAAI;CACR,CAAC"}