linted 21.0.0-rc.8 → 21.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/dist/imports/index.d.ts +363 -1
  2. package/dist/imports/index.d.ts.map +1 -1
  3. package/dist/imports/parsers.d.ts +2 -0
  4. package/dist/imports/parsers.d.ts.map +1 -1
  5. package/dist/imports/parsers.js +2 -0
  6. package/dist/imports/parsers.js.map +1 -1
  7. package/dist/imports/plugins.d.ts +362 -2
  8. package/dist/imports/plugins.d.ts.map +1 -1
  9. package/dist/imports/plugins.js +2 -2
  10. package/dist/imports/plugins.js.map +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +8 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/rules/index.d.ts +122 -1509
  15. package/dist/rules/index.d.ts.map +1 -1
  16. package/dist/rules/js/enable.d.ts.map +1 -1
  17. package/dist/rules/js/enable.js +37 -11
  18. package/dist/rules/js/enable.js.map +1 -1
  19. package/dist/rules/js/index.d.ts.map +1 -1
  20. package/dist/rules/js/index.js +4 -1
  21. package/dist/rules/js/index.js.map +1 -1
  22. package/dist/rules/js/stylistic.d.ts.map +1 -1
  23. package/dist/rules/js/stylistic.js +73 -20
  24. package/dist/rules/js/stylistic.js.map +1 -1
  25. package/dist/rules/json/enable.d.ts +23 -2
  26. package/dist/rules/json/enable.d.ts.map +1 -1
  27. package/dist/rules/json/enable.js +24 -4
  28. package/dist/rules/json/enable.js.map +1 -1
  29. package/dist/rules/json/enable_x.d.ts +50 -0
  30. package/dist/rules/json/enable_x.d.ts.map +1 -0
  31. package/dist/rules/json/enable_x.js +80 -0
  32. package/dist/rules/json/enable_x.js.map +1 -0
  33. package/dist/rules/json/index.d.ts +52 -747
  34. package/dist/rules/json/index.d.ts.map +1 -1
  35. package/dist/rules/json/index.js +2 -2
  36. package/dist/rules/json/index.js.map +1 -1
  37. package/dist/rules/jsonc/index.d.ts +77 -3
  38. package/dist/rules/jsonc/index.d.ts.map +1 -1
  39. package/dist/rules/jsonc/index.js +5 -1
  40. package/dist/rules/jsonc/index.js.map +1 -1
  41. package/dist/rules/jsonc/override.d.ts +6 -0
  42. package/dist/rules/jsonc/override.d.ts.map +1 -0
  43. package/dist/rules/jsonc/override.js +12 -0
  44. package/dist/rules/jsonc/override.js.map +1 -0
  45. package/dist/rules/mocha/disable.d.ts.map +1 -1
  46. package/dist/rules/mocha/disable.js +1 -1
  47. package/dist/rules/mocha/disable.js.map +1 -1
  48. package/dist/rules/mocha/index.d.ts.map +1 -1
  49. package/dist/rules/mocha/index.js +4 -2
  50. package/dist/rules/mocha/index.js.map +1 -1
  51. package/dist/rules/svelte/disable.d.ts.map +1 -1
  52. package/dist/rules/svelte/disable.js +1 -1
  53. package/dist/rules/svelte/disable.js.map +1 -1
  54. package/dist/rules/svelte/enable.d.ts.map +1 -1
  55. package/dist/rules/svelte/enable.js +5 -3
  56. package/dist/rules/svelte/enable.js.map +1 -1
  57. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  58. package/dist/rules/svelte/enable_x.js +1 -2
  59. package/dist/rules/svelte/enable_x.js.map +1 -1
  60. package/dist/rules/ts/disable.d.ts.map +1 -1
  61. package/dist/rules/ts/disable.js +1 -1
  62. package/dist/rules/ts/disable.js.map +1 -1
  63. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  64. package/dist/rules/ts/disable_x.js +1 -1
  65. package/dist/rules/ts/disable_x.js.map +1 -1
  66. package/dist/rules/ts/enable.d.ts.map +1 -1
  67. package/dist/rules/ts/enable.js +21 -7
  68. package/dist/rules/ts/enable.js.map +1 -1
  69. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  70. package/dist/rules/ts/enable_x.js +1 -2
  71. package/dist/rules/ts/enable_x.js.map +1 -1
  72. package/dist/rules/yml/enable.d.ts.map +1 -1
  73. package/dist/rules/yml/enable.js +13 -5
  74. package/dist/rules/yml/enable.js.map +1 -1
  75. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  76. package/dist/rules/yml/enable_x.js +5 -3
  77. package/dist/rules/yml/enable_x.js.map +1 -1
  78. package/dist/rules/yml/index.d.ts.map +1 -1
  79. package/dist/rules/yml/index.js +4 -1
  80. package/dist/rules/yml/index.js.map +1 -1
  81. package/package.json +4 -3
  82. package/src/imports/parsers.ts +2 -0
  83. package/src/imports/plugins.ts +2 -2
  84. package/src/index.ts +8 -2
  85. package/src/rules/html/enable.ts +1 -1
  86. package/src/rules/js/enable.ts +41 -15
  87. package/src/rules/js/index.ts +4 -1
  88. package/src/rules/js/stylistic.ts +77 -24
  89. package/src/rules/json/enable.ts +29 -6
  90. package/src/rules/json/enable_x.ts +91 -0
  91. package/src/rules/json/index.ts +2 -2
  92. package/src/rules/jsonc/index.ts +5 -1
  93. package/src/rules/jsonc/override.ts +18 -0
  94. package/src/rules/mocha/disable.ts +4 -1
  95. package/src/rules/mocha/index.ts +4 -2
  96. package/src/rules/svelte/disable.ts +4 -1
  97. package/src/rules/svelte/enable.ts +9 -7
  98. package/src/rules/svelte/enable_x.ts +7 -5
  99. package/src/rules/ts/disable.ts +4 -1
  100. package/src/rules/ts/disable_x.ts +4 -1
  101. package/src/rules/ts/enable.ts +27 -10
  102. package/src/rules/ts/enable_x.ts +7 -5
  103. package/src/rules/yml/enable.ts +20 -8
  104. package/src/rules/yml/enable_x.ts +11 -6
  105. package/src/rules/yml/index.ts +4 -1
  106. package/dist/rules/mocha/base.d.ts +0 -37
  107. package/dist/rules/mocha/base.d.ts.map +0 -1
  108. package/dist/rules/mocha/base.js +0 -7
  109. package/dist/rules/mocha/base.js.map +0 -1
  110. package/dist/rules/mochaJs/index.d.ts +0 -800
  111. package/dist/rules/mochaJs/index.d.ts.map +0 -1
  112. package/dist/rules/mochaJs/index.js +0 -7
  113. package/dist/rules/mochaJs/index.js.map +0 -1
  114. package/src/rules/mocha/base.ts +0 -7
  115. package/src/rules/mochaJs/index.ts +0 -7
@@ -1,769 +1,74 @@
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", {
1
+ declare const _default: (readonly ["enable-extend", {
2
+ readonly "jsonc/array-bracket-newline": "off";
3
+ readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
7
4
  readonly singleValue: false;
8
5
  readonly objectsInArrays: false;
9
6
  readonly arraysInArrays: false;
10
7
  }];
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", {
8
+ readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
9
+ readonly "jsonc/comma-dangle": readonly ["error", "never"];
10
+ readonly "jsonc/comma-style": readonly ["error", "last"];
11
+ readonly "jsonc/indent": readonly ["error", 2];
12
+ readonly "jsonc/key-spacing": readonly ["error", {
100
13
  readonly beforeColon: false;
101
14
  readonly afterColon: true;
102
15
  readonly mode: "strict";
103
16
  }];
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
- readonly ImportAttributes: false;
202
- };
203
- readonly includeTabs: true;
204
- }];
205
- readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
206
- readonly max: 1;
207
- readonly maxEOF: 1;
208
- readonly maxBOF: 0;
209
- }];
210
- readonly "@stylistic/no-tabs": readonly ["error", {
211
- readonly allowIndentationTabs: false;
212
- }];
213
- readonly "@stylistic/no-trailing-spaces": readonly ["error", {
214
- readonly skipBlankLines: false;
215
- readonly ignoreComments: false;
216
- }];
217
- readonly "@stylistic/no-whitespace-before-property": "error";
218
- readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
219
- readonly overrides: {
220
- readonly if: "below";
221
- readonly else: "below";
222
- readonly while: "below";
223
- readonly do: "below";
224
- readonly for: "below";
225
- };
226
- }];
227
- readonly "@stylistic/object-curly-newline": readonly ["error", {
228
- readonly ObjectExpression: {
229
- readonly consistent: true;
230
- readonly multiline: true;
231
- readonly minProperties: 4;
232
- };
233
- readonly ObjectPattern: {
234
- readonly consistent: true;
235
- readonly multiline: true;
236
- readonly minProperties: 4;
237
- };
238
- readonly ImportDeclaration: {
239
- readonly consistent: true;
240
- readonly multiline: true;
241
- readonly minProperties: 4;
242
- };
243
- readonly ExportDeclaration: {
244
- readonly consistent: true;
245
- readonly multiline: true;
246
- readonly minProperties: 4;
247
- };
248
- }];
249
- readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
250
- readonly arraysInObjects: true;
251
- readonly objectsInObjects: true;
252
- }];
253
- readonly "@stylistic/object-property-newline": readonly ["error", {
254
- readonly allowAllPropertiesOnSameLine: true;
255
- }];
256
- readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
257
- readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
258
- readonly overrides: {
259
- readonly "=": "after";
260
- };
261
- }];
262
- readonly "@stylistic/padded-blocks": readonly ["error", {
263
- readonly blocks: "never";
264
- readonly classes: "never";
265
- readonly switches: "never";
266
- }, {
267
- readonly allowSingleLineBlocks: true;
268
- }];
269
- readonly "@stylistic/padding-line-between-statements": readonly ["error", {
270
- readonly prev: "directive";
271
- readonly next: "*";
272
- readonly blankLine: "always";
273
- }, {
274
- readonly prev: "directive";
275
- readonly next: "directive";
276
- readonly blankLine: "never";
277
- }, {
278
- readonly prev: readonly ["import", "cjs-import"];
279
- readonly next: "*";
280
- readonly blankLine: "always";
281
- }, {
282
- readonly prev: readonly ["import", "cjs-import"];
283
- readonly next: readonly ["import", "cjs-import"];
284
- readonly blankLine: "never";
285
- }, {
286
- readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
287
- readonly next: "*";
288
- readonly blankLine: "always";
289
- }, {
290
- readonly prev: "case";
291
- readonly next: "*";
292
- readonly blankLine: "always";
293
- }, {
294
- readonly prev: "case";
295
- readonly next: readonly ["case", "default"];
296
- readonly blankLine: "always";
297
- }, {
298
- readonly prev: "default";
299
- readonly next: "*";
300
- readonly blankLine: "always";
301
- }, {
302
- readonly prev: "type";
303
- readonly next: "*";
304
- readonly blankLine: "always";
305
- }, {
306
- readonly prev: "type";
307
- readonly next: "type";
308
- readonly blankLine: "never";
309
- }, {
310
- readonly prev: "function";
311
- readonly next: "*";
312
- readonly blankLine: "always";
313
- }, {
314
- readonly prev: "function-overload";
315
- readonly next: "*";
316
- readonly blankLine: "always";
317
- }, {
318
- readonly prev: "function-overload";
319
- readonly next: "function-overload";
320
- readonly blankLine: "never";
321
- }, {
322
- readonly prev: "function-overload";
323
- readonly next: "function";
324
- readonly blankLine: "never";
325
- }, {
326
- readonly prev: readonly ["const", "let", "var"];
327
- readonly next: "*";
328
- readonly blankLine: "always";
329
- }, {
330
- readonly prev: readonly ["const", "let", "var"];
331
- readonly next: readonly ["const", "let", "var"];
332
- readonly blankLine: "never";
333
- }, {
334
- readonly prev: "expression";
335
- readonly next: "*";
336
- readonly blankLine: "always";
337
- }, {
338
- readonly prev: "expression";
339
- readonly next: "expression";
340
- readonly blankLine: "never";
341
- }, {
342
- readonly prev: "*";
343
- readonly next: readonly ["throw", "return", "break", "continue"];
344
- readonly blankLine: "always";
345
- }, {
346
- readonly prev: "*";
347
- readonly next: readonly ["export", "cjs-export"];
348
- readonly blankLine: "always";
349
- }, {
350
- readonly prev: readonly ["export", "cjs-export"];
351
- readonly next: readonly ["export", "cjs-export"];
352
- readonly blankLine: "never";
353
- }];
354
- readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
355
- readonly keywords: true;
356
- readonly unnecessary: true;
357
- readonly numbers: false;
358
- }];
359
- readonly "@stylistic/quotes": readonly ["error", "double", {
360
- readonly avoidEscape: true;
361
- readonly allowTemplateLiterals: true;
362
- }];
363
- readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
364
- readonly "@stylistic/semi": readonly ["error", "always", {
365
- readonly omitLastInOneLineBlock: false;
366
- readonly omitLastInOneLineClassBody: false;
367
- }];
368
- readonly "@stylistic/semi-spacing": readonly ["error", {
369
- readonly before: false;
370
- readonly after: true;
371
- }];
372
- readonly "@stylistic/semi-style": readonly ["error", "last"];
373
- readonly "@stylistic/space-before-blocks": readonly ["error", {
374
- readonly functions: "always";
375
- readonly keywords: "always";
376
- readonly classes: "always";
377
- }];
378
- readonly "@stylistic/space-before-function-paren": readonly ["error", {
379
- readonly anonymous: "always";
380
- readonly named: "never";
381
- readonly asyncArrow: "always";
382
- }];
383
- readonly "@stylistic/space-in-parens": readonly ["error", "never"];
384
- readonly "@stylistic/space-infix-ops": readonly ["error", {
385
- readonly int32Hint: true;
386
- }];
387
- readonly "@stylistic/space-unary-ops": readonly ["error", {
388
- readonly words: true;
389
- readonly nonwords: false;
390
- readonly overrides: {};
391
- }];
392
- readonly "@stylistic/spaced-comment": readonly ["error", "always"];
393
- readonly "@stylistic/switch-colon-spacing": readonly ["error", {
394
- readonly after: true;
395
- readonly before: false;
396
- }];
397
- readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
398
- readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
399
- readonly "@stylistic/type-annotation-spacing": readonly ["error", {
400
- readonly before: true;
401
- readonly after: true;
402
- readonly overrides: {
403
- readonly colon: {
404
- readonly before: false;
405
- readonly after: true;
406
- };
407
- };
408
- }];
409
- readonly "@stylistic/type-generic-spacing": "error";
410
- readonly "@stylistic/type-named-tuple-spacing": "error";
411
- readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
412
- readonly functionPrototypeMethods: true;
413
- }];
414
- readonly "@stylistic/wrap-regex": "error";
415
- readonly "@stylistic/yield-star-spacing": readonly ["error", {
416
- readonly before: false;
417
- readonly after: true;
418
- }];
419
- }] | readonly ["enable", {
420
- readonly "array-callback-return": readonly ["error", {
421
- readonly allowImplicit: false;
422
- readonly checkForEach: true;
423
- readonly allowVoid: true;
424
- }];
425
- readonly "constructor-super": "error";
426
- readonly "for-direction": "error";
427
- readonly "getter-return": readonly ["error", {
428
- readonly allowImplicit: false;
429
- }];
430
- readonly "no-async-promise-executor": "error";
431
- readonly "no-await-in-loop": "error";
432
- readonly "no-class-assign": "error";
433
- readonly "no-compare-neg-zero": "error";
434
- readonly "no-cond-assign": readonly ["error", "always"];
435
- readonly "no-const-assign": "error";
436
- readonly "no-constant-binary-expression": "error";
437
- readonly "no-constant-condition": readonly ["error", {
438
- readonly checkLoops: true;
439
- }];
440
- readonly "no-constructor-return": "error";
441
- readonly "no-control-regex": "error";
442
- readonly "no-debugger": "error";
443
- readonly "no-dupe-args": "error";
444
- readonly "no-dupe-class-members": "error";
445
- readonly "no-dupe-else-if": "error";
446
- readonly "no-dupe-keys": "error";
447
- readonly "no-duplicate-case": "error";
448
- readonly "no-duplicate-imports": "off";
449
- readonly "no-empty-character-class": "error";
450
- readonly "no-empty-pattern": readonly ["error", {
451
- readonly allowObjectPatternsAsParameters: false;
452
- }];
453
- readonly "no-ex-assign": "error";
454
- readonly "no-fallthrough": readonly ["error", {
455
- readonly allowEmptyCase: true;
456
- readonly reportUnusedFallthroughComment: true;
457
- }];
458
- readonly "no-func-assign": "error";
459
- readonly "no-import-assign": "error";
460
- readonly "no-inner-declarations": readonly ["error", "both", {
461
- readonly blockScopedFunctions: "allow";
462
- }];
463
- readonly "no-invalid-regexp": readonly ["error", {
464
- readonly allowConstructorFlags: readonly [];
465
- }];
466
- readonly "no-irregular-whitespace": readonly ["error", {
17
+ readonly "jsonc/no-dupe-keys": "error";
18
+ readonly "jsonc/no-floating-decimal": "error";
19
+ readonly "jsonc/no-irregular-whitespace": readonly ["error", {
467
20
  readonly skipStrings: true;
468
21
  readonly skipComments: true;
469
22
  readonly skipRegExps: true;
470
23
  readonly skipTemplates: true;
471
24
  readonly skipJSXText: true;
472
25
  }];
473
- readonly "no-loss-of-precision": "error";
474
- readonly "no-misleading-character-class": "error";
475
- readonly "no-new-native-nonconstructor": "error";
476
- readonly "no-obj-calls": "error";
477
- readonly "no-promise-executor-return": readonly ["error", {
478
- readonly allowVoid: true;
479
- }];
480
- readonly "no-prototype-builtins": "error";
481
- readonly "no-self-assign": readonly ["error", {
482
- readonly props: true;
483
- }];
484
- readonly "no-self-compare": "error";
485
- readonly "no-setter-return": "error";
486
- readonly "no-sparse-arrays": "error";
487
- readonly "no-template-curly-in-string": "error";
488
- readonly "no-this-before-super": "error";
489
- readonly "no-undef": "error";
490
- readonly "no-unexpected-multiline": "error";
491
- readonly "no-unmodified-loop-condition": "error";
492
- readonly "no-unreachable": "error";
493
- readonly "no-unreachable-loop": readonly ["error", {
494
- readonly ignore: readonly [];
495
- }];
496
- readonly "no-unsafe-finally": "error";
497
- readonly "no-unsafe-negation": readonly ["error", {
498
- readonly enforceForOrderingRelations: true;
499
- }];
500
- readonly "no-unsafe-optional-chaining": readonly ["error", {
501
- readonly disallowArithmeticOperators: true;
502
- }];
503
- readonly "no-unused-private-class-members": "error";
504
- readonly "no-unused-vars": readonly ["error", {
505
- readonly vars: "all";
506
- readonly args: "all";
507
- readonly caughtErrors: "all";
508
- readonly ignoreRestSiblings: false;
509
- readonly ignoreClassWithStaticInitBlock: false;
510
- readonly reportUsedIgnorePattern: true;
511
- }];
512
- readonly "no-use-before-define": readonly ["error", {
513
- readonly functions: true;
514
- readonly classes: true;
515
- readonly variables: true;
516
- readonly allowNamedExports: false;
517
- }];
518
- readonly "no-useless-assignment": "error";
519
- readonly "no-useless-backreference": "error";
520
- readonly "require-atomic-updates": readonly ["error", {
521
- readonly allowProperties: false;
522
- }];
523
- readonly "use-isnan": readonly ["error", {
524
- readonly enforceForSwitchCase: true;
525
- readonly enforceForIndexOf: true;
526
- }];
527
- readonly "valid-typeof": readonly ["error", {
528
- readonly requireStringLiterals: true;
529
- }];
530
- readonly "accessor-pairs": readonly ["error", {
531
- readonly setWithoutGet: true;
532
- readonly getWithoutSet: false;
533
- readonly enforceForClassMembers: true;
534
- }];
535
- readonly "arrow-body-style": readonly ["error", "as-needed", {
536
- readonly requireReturnForObjectLiteral: true;
537
- }];
538
- readonly "block-scoped-var": "error";
539
- readonly camelcase: "off";
540
- readonly "capitalized-comments": "off";
541
- readonly "class-methods-use-this": "off";
542
- readonly complexity: "off";
543
- readonly "consistent-return": readonly ["error", {
544
- readonly treatUndefinedAsUnspecified: false;
545
- }];
546
- readonly "consistent-this": "error";
547
- readonly curly: readonly ["error", "multi"];
548
- readonly "default-case": "off";
549
- readonly "default-case-last": "error";
550
- readonly "default-param-last": "error";
551
- readonly "dot-notation": readonly ["error", {
552
- readonly allowKeywords: true;
553
- }];
554
- readonly eqeqeq: readonly ["error", "always"];
555
- readonly "func-name-matching": "off";
556
- readonly "func-names": "off";
557
- readonly "func-style": "off";
558
- readonly "grouped-accessor-pairs": "off";
559
- readonly "guard-for-in": "off";
560
- readonly "id-denylist": "off";
561
- readonly "id-length": "off";
562
- readonly "id-match": "off";
563
- readonly "init-declarations": readonly ["error", "always"];
564
- readonly "logical-assignment-operators": readonly ["error", "always", {
565
- readonly enforceForIfStatements: true;
566
- }];
567
- readonly "max-classes-per-file": "off";
568
- readonly "max-depth": "off";
569
- readonly "max-lines": "off";
570
- readonly "max-lines-per-function": "off";
571
- readonly "max-nested-callbacks": "off";
572
- readonly "max-params": "off";
573
- readonly "max-statements": "off";
574
- readonly "multiline-comment-style": "off";
575
- readonly "new-cap": "off";
576
- readonly "no-alert": "error";
577
- readonly "no-array-constructor": "error";
578
- readonly "no-bitwise": readonly ["error", {
579
- readonly allow: readonly [];
580
- readonly int32Hint: true;
581
- }];
582
- readonly "no-caller": "error";
583
- readonly "no-case-declarations": "error";
584
- readonly "no-console": "off";
585
- readonly "no-continue": "error";
586
- readonly "no-delete-var": "error";
587
- readonly "no-div-regex": "error";
588
- readonly "no-else-return": "off";
589
- readonly "no-empty": readonly ["error", {
590
- readonly allowEmptyCatch: false;
591
- }];
592
- readonly "no-empty-function": readonly ["error", {
593
- readonly allow: readonly ["constructors"];
594
- }];
595
- readonly "no-empty-static-block": "error";
596
- readonly "no-eq-null": "error";
597
- readonly "no-eval": readonly ["error", {
598
- readonly allowIndirect: false;
599
- }];
600
- readonly "no-extend-native": readonly ["error", {
601
- readonly exceptions: readonly [];
602
- }];
603
- readonly "no-extra-bind": "error";
604
- readonly "no-extra-boolean-cast": readonly ["error", {
605
- readonly enforceForLogicalOperands: true;
606
- }];
607
- readonly "no-extra-label": "error";
608
- readonly "no-global-assign": readonly ["error", {
609
- readonly exceptions: readonly [];
610
- }];
611
- readonly "no-implicit-coercion": readonly ["error", {
612
- readonly boolean: true;
613
- readonly number: true;
614
- readonly string: true;
615
- readonly disallowTemplateShorthand: true;
616
- readonly allow: readonly [];
617
- }];
618
- readonly "no-implicit-globals": "off";
619
- readonly "no-implied-eval": "error";
620
- readonly "no-inline-comments": "off";
621
- readonly "no-invalid-this": readonly ["error", {
622
- readonly capIsConstructor: false;
623
- }];
624
- readonly "no-iterator": "error";
625
- readonly "no-label-var": "error";
626
- readonly "no-lone-blocks": "error";
627
- readonly "no-lonely-if": "off";
628
- readonly "no-loop-func": "error";
629
- readonly "no-magic-numbers": "off";
630
- readonly "no-multi-assign": readonly ["error", {
631
- readonly ignoreNonDeclaration: false;
632
- }];
633
- readonly "no-multi-str": "error";
634
- readonly "no-negated-condition": "off";
635
- readonly "no-nested-ternary": "off";
636
- readonly "no-new": "error";
637
- readonly "no-new-func": "error";
638
- readonly "no-new-wrappers": "error";
639
- readonly "no-nonoctal-decimal-escape": "error";
640
- readonly "no-object-constructor": "error";
641
- readonly "no-octal": "error";
642
- readonly "no-octal-escape": "error";
643
- readonly "no-param-reassign": readonly ["error", {
644
- readonly props: true;
645
- readonly ignorePropertyModificationsFor: readonly [];
646
- readonly ignorePropertyModificationsForRegex: readonly [];
647
- }];
648
- readonly "no-plusplus": readonly ["error", {
649
- readonly allowForLoopAfterthoughts: true;
650
- }];
651
- readonly "no-proto": "error";
652
- readonly "no-redeclare": readonly ["error", {
653
- readonly builtinGlobals: true;
654
- }];
655
- readonly "no-regex-spaces": "off";
656
- readonly "no-restricted-exports": "off";
657
- readonly "no-restricted-globals": "off";
658
- readonly "no-restricted-imports": "off";
659
- readonly "no-restricted-properties": "off";
660
- readonly "no-restricted-syntax": "off";
661
- readonly "no-return-assign": readonly ["error", "always"];
662
- readonly "no-script-url": "error";
663
- readonly "no-sequences": readonly ["error", {
664
- readonly allowInParentheses: true;
665
- }];
666
- readonly "no-shadow": "off";
667
- readonly "no-shadow-restricted-names": "error";
668
- readonly "no-ternary": "off";
669
- readonly "no-throw-literal": "error";
670
- readonly "no-undef-init": "error";
671
- readonly "no-undefined": "off";
672
- readonly "no-underscore-dangle": "off";
673
- readonly "no-unneeded-ternary": readonly ["error", {
674
- readonly defaultAssignment: false;
675
- }];
676
- readonly "no-unused-expressions": readonly ["error", {
677
- readonly allowShortCircuit: true;
678
- readonly allowTernary: true;
679
- readonly allowTaggedTemplates: true;
680
- readonly enforceForJSX: false;
681
- }];
682
- readonly "no-unused-labels": "error";
683
- readonly "no-useless-call": "error";
684
- readonly "no-useless-catch": "error";
685
- readonly "no-useless-computed-key": readonly ["error", {
686
- readonly enforceForClassMembers: true;
687
- }];
688
- readonly "no-useless-concat": "error";
689
- readonly "no-useless-constructor": "error";
690
- readonly "no-useless-escape": "error";
691
- readonly "no-useless-rename": readonly ["error", {
692
- readonly ignoreImport: false;
693
- readonly ignoreExport: false;
694
- readonly ignoreDestructuring: false;
695
- }];
696
- readonly "no-useless-return": "error";
697
- readonly "no-var": "error";
698
- readonly "no-void": readonly ["error", {
699
- readonly allowAsStatement: true;
700
- }];
701
- readonly "no-warning-comments": "off";
702
- readonly "no-with": "error";
703
- readonly "object-shorthand": readonly ["error", "always", {
704
- readonly avoidQuotes: true;
705
- readonly ignoreConstructors: false;
706
- readonly avoidExplicitReturnArrows: false;
707
- }];
708
- readonly "one-var": readonly ["error", {
709
- readonly var: "consecutive";
710
- readonly let: "consecutive";
711
- readonly const: "consecutive";
712
- readonly separateRequires: true;
713
- }];
714
- readonly "operator-assignment": readonly ["error", "always"];
715
- readonly "prefer-arrow-callback": readonly ["error", {
716
- readonly allowNamedFunctions: false;
717
- readonly allowUnboundThis: true;
718
- }];
719
- readonly "prefer-const": readonly ["error", {
720
- readonly destructuring: "all";
721
- readonly ignoreReadBeforeAssign: false;
722
- }];
723
- readonly "prefer-destructuring": readonly ["error", {
724
- readonly VariableDeclarator: {
725
- readonly array: true;
726
- readonly object: true;
727
- };
728
- readonly AssignmentExpression: {
729
- readonly array: false;
730
- readonly object: false;
731
- };
732
- }, {
733
- readonly enforceForRenamedProperties: true;
26
+ readonly "jsonc/no-multi-str": "error";
27
+ readonly "jsonc/no-octal-escape": "error";
28
+ readonly "jsonc/no-octal": "error";
29
+ readonly "jsonc/no-sparse-arrays": "error";
30
+ readonly "jsonc/no-useless-escape": "error";
31
+ readonly "jsonc/object-curly-newline": readonly ["error", {
32
+ readonly consistent: true;
33
+ readonly multiline: true;
34
+ readonly minProperties: 4;
734
35
  }];
735
- readonly "prefer-exponentiation-operator": "error";
736
- readonly "prefer-named-capture-group": "off";
737
- readonly "prefer-numeric-literals": "error";
738
- readonly "prefer-object-has-own": "error";
739
- readonly "prefer-object-spread": "error";
740
- readonly "prefer-promise-reject-errors": readonly ["error", {
741
- readonly allowEmptyReject: false;
36
+ readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
37
+ readonly arraysInObjects: true;
38
+ readonly objectsInObjects: true;
742
39
  }];
743
- readonly "prefer-regex-literals": readonly ["error", {
744
- readonly disallowRedundantWrapping: true;
40
+ readonly "jsonc/object-property-newline": readonly ["error", {
41
+ readonly allowAllPropertiesOnSameLine: true;
745
42
  }];
746
- readonly "prefer-rest-params": "error";
747
- readonly "prefer-spread": "error";
748
- readonly "prefer-template": "error";
749
- readonly radix: readonly ["error", "as-needed"];
750
- readonly "require-await": "error";
751
- readonly "require-unicode-regexp": "error";
752
- readonly "require-yield": "error";
753
- readonly "sort-imports": "off";
754
- readonly "sort-keys": "off";
755
- readonly "sort-vars": "off";
756
- readonly strict: "off";
757
- readonly "symbol-description": "off";
758
- readonly "vars-on-top": "error";
759
- readonly yoda: readonly ["error", "never", {
760
- readonly exceptRange: false;
761
- readonly onlyEquality: false;
43
+ readonly "jsonc/quote-props": readonly ["error", "always"];
44
+ readonly "jsonc/quotes": readonly ["error", "double", {
45
+ readonly avoidEscape: false;
762
46
  }];
763
- readonly "unicode-bom": "off";
47
+ readonly "jsonc/space-unary-ops": "error";
764
48
  }] | readonly ["enable", {
765
- readonly "json/no-duplicate-keys": "error";
766
- readonly "json/no-empty-keys": "off";
49
+ readonly "jsonc/auto": "off";
50
+ readonly "jsonc/key-name-casing": "off";
51
+ readonly "jsonc/no-bigint-literals": "error";
52
+ readonly "jsonc/no-binary-expression": "error";
53
+ readonly "jsonc/no-binary-numeric-literals": "error";
54
+ readonly "jsonc/no-comments": "error";
55
+ readonly "jsonc/no-escape-sequence-in-identifier": "error";
56
+ readonly "jsonc/no-hexadecimal-numeric-literals": "error";
57
+ readonly "jsonc/no-infinity": "error";
58
+ readonly "jsonc/no-nan": "error";
59
+ readonly "jsonc/no-number-props": "error";
60
+ readonly "jsonc/no-numeric-separators": "error";
61
+ readonly "jsonc/no-octal-numeric-literals": "error";
62
+ readonly "jsonc/no-parenthesized": "error";
63
+ readonly "jsonc/no-plus-sign": "error";
64
+ readonly "jsonc/no-regexp-literals": "error";
65
+ readonly "jsonc/no-template-literals": "error";
66
+ readonly "jsonc/no-undefined-value": "error";
67
+ readonly "jsonc/no-unicode-codepoint-escapes": "error";
68
+ readonly "jsonc/sort-array-values": "off";
69
+ readonly "jsonc/sort-keys": "off";
70
+ readonly "jsonc/valid-json-number": "error";
71
+ readonly "jsonc/vue-custom-block/no-parsing-error": "error";
767
72
  }])[];
768
73
  export default _default;
769
74
  //# sourceMappingURL=index.d.ts.map