linted 33.4.10 → 33.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,7 +107,7 @@ declare const _default: {
107
107
  html: typeof import("@html-eslint/eslint-plugin/types");
108
108
  css: typeof import("@eslint/css").default;
109
109
  json: typeof import("@eslint/json").default;
110
- jsonc: {
110
+ jsonc: NoInfer<{
111
111
  meta: typeof import("eslint-plugin-jsonc/meta");
112
112
  configs: {
113
113
  base: {
@@ -468,7 +468,7 @@ declare const _default: {
468
468
  parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
469
469
  traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
470
470
  getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
471
- };
471
+ }>;
472
472
  yml: {
473
473
  meta: typeof import("eslint-plugin-yml/lib/meta");
474
474
  configs: {
@@ -5,6 +5,7 @@ import chaiExpect from "eslint-plugin-chai-expect";
5
5
  import html from "@html-eslint/eslint-plugin";
6
6
  import css from "@eslint/css";
7
7
  import json from "@eslint/json";
8
+ import jsonc from "eslint-plugin-jsonc";
8
9
  declare const _default: {
9
10
  stylistic: NoInfer<typeof stylistic>;
10
11
  ts: NoInfer<typeof ts>;
@@ -105,368 +106,7 @@ declare const _default: {
105
106
  html: typeof html;
106
107
  css: typeof css;
107
108
  json: typeof json;
108
- jsonc: {
109
- meta: typeof import("eslint-plugin-jsonc/meta");
110
- configs: {
111
- base: {
112
- plugins: string[];
113
- overrides: {
114
- files: string[];
115
- parser: string;
116
- rules: {
117
- strict: string;
118
- "no-unused-expressions": string;
119
- "no-unused-vars": string;
120
- };
121
- }[];
122
- };
123
- "auto-config": {
124
- extends: string[];
125
- rules: {
126
- "jsonc/auto": string;
127
- };
128
- };
129
- "recommended-with-json": {
130
- extends: string[];
131
- rules: {
132
- "jsonc/comma-dangle": string;
133
- "jsonc/no-bigint-literals": string;
134
- "jsonc/no-binary-expression": string;
135
- "jsonc/no-binary-numeric-literals": string;
136
- "jsonc/no-comments": string;
137
- "jsonc/no-dupe-keys": string;
138
- "jsonc/no-escape-sequence-in-identifier": string;
139
- "jsonc/no-floating-decimal": string;
140
- "jsonc/no-hexadecimal-numeric-literals": string;
141
- "jsonc/no-infinity": string;
142
- "jsonc/no-multi-str": string;
143
- "jsonc/no-nan": string;
144
- "jsonc/no-number-props": string;
145
- "jsonc/no-numeric-separators": string;
146
- "jsonc/no-octal-numeric-literals": string;
147
- "jsonc/no-octal": string;
148
- "jsonc/no-parenthesized": string;
149
- "jsonc/no-plus-sign": string;
150
- "jsonc/no-regexp-literals": string;
151
- "jsonc/no-sparse-arrays": string;
152
- "jsonc/no-template-literals": string;
153
- "jsonc/no-undefined-value": string;
154
- "jsonc/no-unicode-codepoint-escapes": string;
155
- "jsonc/no-useless-escape": string;
156
- "jsonc/quote-props": string;
157
- "jsonc/quotes": string;
158
- "jsonc/space-unary-ops": string;
159
- "jsonc/valid-json-number": string;
160
- "jsonc/vue-custom-block/no-parsing-error": string;
161
- };
162
- };
163
- "recommended-with-jsonc": {
164
- extends: string[];
165
- rules: {
166
- "jsonc/no-bigint-literals": string;
167
- "jsonc/no-binary-expression": string;
168
- "jsonc/no-binary-numeric-literals": string;
169
- "jsonc/no-dupe-keys": string;
170
- "jsonc/no-escape-sequence-in-identifier": string;
171
- "jsonc/no-floating-decimal": string;
172
- "jsonc/no-hexadecimal-numeric-literals": string;
173
- "jsonc/no-infinity": string;
174
- "jsonc/no-multi-str": string;
175
- "jsonc/no-nan": string;
176
- "jsonc/no-number-props": string;
177
- "jsonc/no-numeric-separators": string;
178
- "jsonc/no-octal-numeric-literals": string;
179
- "jsonc/no-octal": string;
180
- "jsonc/no-parenthesized": string;
181
- "jsonc/no-plus-sign": string;
182
- "jsonc/no-regexp-literals": string;
183
- "jsonc/no-sparse-arrays": string;
184
- "jsonc/no-template-literals": string;
185
- "jsonc/no-undefined-value": string;
186
- "jsonc/no-unicode-codepoint-escapes": string;
187
- "jsonc/no-useless-escape": string;
188
- "jsonc/quote-props": string;
189
- "jsonc/quotes": string;
190
- "jsonc/space-unary-ops": string;
191
- "jsonc/valid-json-number": string;
192
- "jsonc/vue-custom-block/no-parsing-error": string;
193
- };
194
- };
195
- "recommended-with-json5": {
196
- extends: string[];
197
- rules: {
198
- "jsonc/no-bigint-literals": string;
199
- "jsonc/no-binary-expression": string;
200
- "jsonc/no-binary-numeric-literals": string;
201
- "jsonc/no-dupe-keys": string;
202
- "jsonc/no-escape-sequence-in-identifier": string;
203
- "jsonc/no-number-props": string;
204
- "jsonc/no-numeric-separators": string;
205
- "jsonc/no-octal-numeric-literals": string;
206
- "jsonc/no-octal": string;
207
- "jsonc/no-parenthesized": string;
208
- "jsonc/no-regexp-literals": string;
209
- "jsonc/no-sparse-arrays": string;
210
- "jsonc/no-template-literals": string;
211
- "jsonc/no-undefined-value": string;
212
- "jsonc/no-unicode-codepoint-escapes": string;
213
- "jsonc/no-useless-escape": string;
214
- "jsonc/space-unary-ops": string;
215
- "jsonc/vue-custom-block/no-parsing-error": string;
216
- };
217
- };
218
- prettier: {
219
- extends: string[];
220
- rules: {
221
- "jsonc/array-bracket-newline": string;
222
- "jsonc/array-bracket-spacing": string;
223
- "jsonc/array-element-newline": string;
224
- "jsonc/comma-dangle": string;
225
- "jsonc/comma-style": string;
226
- "jsonc/indent": string;
227
- "jsonc/key-spacing": string;
228
- "jsonc/no-floating-decimal": string;
229
- "jsonc/object-curly-newline": string;
230
- "jsonc/object-curly-spacing": string;
231
- "jsonc/object-property-newline": string;
232
- "jsonc/quote-props": string;
233
- "jsonc/quotes": string;
234
- "jsonc/space-unary-ops": string;
235
- };
236
- };
237
- all: {
238
- extends: string[];
239
- rules: {
240
- [x: string]: string;
241
- };
242
- };
243
- "flat/base": ({
244
- plugins: {
245
- readonly jsonc: import("eslint").ESLint.Plugin;
246
- };
247
- files?: undefined;
248
- languageOptions?: undefined;
249
- rules?: undefined;
250
- } | {
251
- files: string[];
252
- languageOptions: {
253
- parser: typeof import("jsonc-eslint-parser");
254
- };
255
- rules: {
256
- strict: "off";
257
- "no-unused-expressions": "off";
258
- "no-unused-vars": "off";
259
- };
260
- plugins?: undefined;
261
- })[];
262
- "flat/recommended-with-json": ({
263
- plugins: {
264
- readonly jsonc: import("eslint").ESLint.Plugin;
265
- };
266
- files?: undefined;
267
- languageOptions?: undefined;
268
- rules?: undefined;
269
- } | {
270
- files: string[];
271
- languageOptions: {
272
- parser: typeof import("jsonc-eslint-parser");
273
- };
274
- rules: {
275
- strict: "off";
276
- "no-unused-expressions": "off";
277
- "no-unused-vars": "off";
278
- };
279
- plugins?: undefined;
280
- } | {
281
- rules: {
282
- "jsonc/comma-dangle": "error";
283
- "jsonc/no-bigint-literals": "error";
284
- "jsonc/no-binary-expression": "error";
285
- "jsonc/no-binary-numeric-literals": "error";
286
- "jsonc/no-comments": "error";
287
- "jsonc/no-dupe-keys": "error";
288
- "jsonc/no-escape-sequence-in-identifier": "error";
289
- "jsonc/no-floating-decimal": "error";
290
- "jsonc/no-hexadecimal-numeric-literals": "error";
291
- "jsonc/no-infinity": "error";
292
- "jsonc/no-multi-str": "error";
293
- "jsonc/no-nan": "error";
294
- "jsonc/no-number-props": "error";
295
- "jsonc/no-numeric-separators": "error";
296
- "jsonc/no-octal-numeric-literals": "error";
297
- "jsonc/no-octal": "error";
298
- "jsonc/no-parenthesized": "error";
299
- "jsonc/no-plus-sign": "error";
300
- "jsonc/no-regexp-literals": "error";
301
- "jsonc/no-sparse-arrays": "error";
302
- "jsonc/no-template-literals": "error";
303
- "jsonc/no-undefined-value": "error";
304
- "jsonc/no-unicode-codepoint-escapes": "error";
305
- "jsonc/no-useless-escape": "error";
306
- "jsonc/quote-props": "error";
307
- "jsonc/quotes": "error";
308
- "jsonc/space-unary-ops": "error";
309
- "jsonc/valid-json-number": "error";
310
- "jsonc/vue-custom-block/no-parsing-error": "error";
311
- };
312
- })[];
313
- "flat/recommended-with-jsonc": ({
314
- plugins: {
315
- readonly jsonc: import("eslint").ESLint.Plugin;
316
- };
317
- files?: undefined;
318
- languageOptions?: undefined;
319
- rules?: undefined;
320
- } | {
321
- files: string[];
322
- languageOptions: {
323
- parser: typeof import("jsonc-eslint-parser");
324
- };
325
- rules: {
326
- strict: "off";
327
- "no-unused-expressions": "off";
328
- "no-unused-vars": "off";
329
- };
330
- plugins?: undefined;
331
- } | {
332
- rules: {
333
- "jsonc/no-bigint-literals": "error";
334
- "jsonc/no-binary-expression": "error";
335
- "jsonc/no-binary-numeric-literals": "error";
336
- "jsonc/no-dupe-keys": "error";
337
- "jsonc/no-escape-sequence-in-identifier": "error";
338
- "jsonc/no-floating-decimal": "error";
339
- "jsonc/no-hexadecimal-numeric-literals": "error";
340
- "jsonc/no-infinity": "error";
341
- "jsonc/no-multi-str": "error";
342
- "jsonc/no-nan": "error";
343
- "jsonc/no-number-props": "error";
344
- "jsonc/no-numeric-separators": "error";
345
- "jsonc/no-octal-numeric-literals": "error";
346
- "jsonc/no-octal": "error";
347
- "jsonc/no-parenthesized": "error";
348
- "jsonc/no-plus-sign": "error";
349
- "jsonc/no-regexp-literals": "error";
350
- "jsonc/no-sparse-arrays": "error";
351
- "jsonc/no-template-literals": "error";
352
- "jsonc/no-undefined-value": "error";
353
- "jsonc/no-unicode-codepoint-escapes": "error";
354
- "jsonc/no-useless-escape": "error";
355
- "jsonc/quote-props": "error";
356
- "jsonc/quotes": "error";
357
- "jsonc/space-unary-ops": "error";
358
- "jsonc/valid-json-number": "error";
359
- "jsonc/vue-custom-block/no-parsing-error": "error";
360
- };
361
- })[];
362
- "flat/recommended-with-json5": ({
363
- plugins: {
364
- readonly jsonc: import("eslint").ESLint.Plugin;
365
- };
366
- files?: undefined;
367
- languageOptions?: undefined;
368
- rules?: undefined;
369
- } | {
370
- files: string[];
371
- languageOptions: {
372
- parser: typeof import("jsonc-eslint-parser");
373
- };
374
- rules: {
375
- strict: "off";
376
- "no-unused-expressions": "off";
377
- "no-unused-vars": "off";
378
- };
379
- plugins?: undefined;
380
- } | {
381
- rules: {
382
- "jsonc/no-bigint-literals": "error";
383
- "jsonc/no-binary-expression": "error";
384
- "jsonc/no-binary-numeric-literals": "error";
385
- "jsonc/no-dupe-keys": "error";
386
- "jsonc/no-escape-sequence-in-identifier": "error";
387
- "jsonc/no-number-props": "error";
388
- "jsonc/no-numeric-separators": "error";
389
- "jsonc/no-octal-numeric-literals": "error";
390
- "jsonc/no-octal": "error";
391
- "jsonc/no-parenthesized": "error";
392
- "jsonc/no-regexp-literals": "error";
393
- "jsonc/no-sparse-arrays": "error";
394
- "jsonc/no-template-literals": "error";
395
- "jsonc/no-undefined-value": "error";
396
- "jsonc/no-unicode-codepoint-escapes": "error";
397
- "jsonc/no-useless-escape": "error";
398
- "jsonc/space-unary-ops": "error";
399
- "jsonc/vue-custom-block/no-parsing-error": "error";
400
- };
401
- })[];
402
- "flat/prettier": ({
403
- plugins: {
404
- readonly jsonc: import("eslint").ESLint.Plugin;
405
- };
406
- files?: undefined;
407
- languageOptions?: undefined;
408
- rules?: undefined;
409
- } | {
410
- files: string[];
411
- languageOptions: {
412
- parser: typeof import("jsonc-eslint-parser");
413
- };
414
- rules: {
415
- strict: "off";
416
- "no-unused-expressions": "off";
417
- "no-unused-vars": "off";
418
- };
419
- plugins?: undefined;
420
- } | {
421
- rules: {
422
- "jsonc/array-bracket-newline": "off";
423
- "jsonc/array-bracket-spacing": "off";
424
- "jsonc/array-element-newline": "off";
425
- "jsonc/comma-dangle": "off";
426
- "jsonc/comma-style": "off";
427
- "jsonc/indent": "off";
428
- "jsonc/key-spacing": "off";
429
- "jsonc/no-floating-decimal": "off";
430
- "jsonc/object-curly-newline": "off";
431
- "jsonc/object-curly-spacing": "off";
432
- "jsonc/object-property-newline": "off";
433
- "jsonc/quote-props": "off";
434
- "jsonc/quotes": "off";
435
- "jsonc/space-unary-ops": "off";
436
- };
437
- })[];
438
- "flat/all": ({
439
- plugins: {
440
- readonly jsonc: import("eslint").ESLint.Plugin;
441
- };
442
- files?: undefined;
443
- languageOptions?: undefined;
444
- rules?: undefined;
445
- } | {
446
- files: string[];
447
- languageOptions: {
448
- parser: typeof import("jsonc-eslint-parser");
449
- };
450
- rules: {
451
- strict: "off";
452
- "no-unused-expressions": "off";
453
- "no-unused-vars": "off";
454
- };
455
- plugins?: undefined;
456
- } | {
457
- rules: {
458
- [rule: string]: import("eslint").Linter.RuleEntry<any[]>;
459
- };
460
- })[];
461
- };
462
- rules: {
463
- [key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
464
- };
465
- parseForESLint: typeof import("eslint-plugin-jsonc").parseForESLint;
466
- parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
467
- traverseNodes: typeof import("eslint-plugin-jsonc").traverseNodes;
468
- getStaticJSONValue: typeof import("eslint-plugin-jsonc").getStaticJSONValue;
469
- };
109
+ jsonc: NoInfer<typeof jsonc>;
470
110
  yml: {
471
111
  meta: typeof import("eslint-plugin-yml/lib/meta");
472
112
  configs: {
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;;eAKN,OAAO,CAAC,OAAO,SAAS,CAAC;QACvC,OAAO,CAAC,OAAO,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAU44nB,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;qBAAmN,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAu3D,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAkxD,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAwyC,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBAA89B,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAl50B,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAZ7gM,wBAWE"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;;eAId,OAAO,CAAC,OAAO,SAAS,CAAC;QACvC,OAAO,CAAC,OAAO,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAOZ,OAAO,CAAC,OAAO,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAGyxE,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAZ7+L,wBAWE"}
@@ -17,7 +17,7 @@ export default {
17
17
  html,
18
18
  css,
19
19
  json,
20
- jsonc,
20
+ jsonc: jsonc,
21
21
  yml,
22
22
  };
23
23
  //# sourceMappingURL=plugins.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,SAAS,EAAE,SAAsC;IACjD,EAAE,EAAE,EAAwB;IAC5B,KAAK;IACL,IAAI;IACJ,aAAa,EAAE,UAAU;IACzB,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
1
+ {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,SAAS,EAAE,SAAsC;IACjD,EAAE,EAAE,EAAwB;IAC5B,KAAK;IACL,IAAI;IACJ,aAAa,EAAE,UAAU;IACzB,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK,EAAE,KAA8B;IACrC,GAAG;CACJ,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "33.4.10",
6
+ "version": "33.4.11",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
8
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "peerDependencies": {
39
39
  "eslint": "~9.39.1",
40
40
  "eslint-plugin-svelte": "~3.13.0",
41
- "mocha": "^11.7.4",
41
+ "mocha": "^11.7.5",
42
42
  "typescript": "^5.9.3"
43
43
  },
44
44
  "peerDependenciesMeta": {
@@ -55,8 +55,8 @@
55
55
  "dependencies": {
56
56
  "@eslint/css": "0.14.1",
57
57
  "@eslint/json": "0.14.0",
58
- "@eslinted/core": "29.4.8",
59
- "@eslinted/defaults": "17.2.7",
58
+ "@eslinted/core": "29.4.10",
59
+ "@eslinted/defaults": "17.2.12",
60
60
  "@html-eslint/eslint-plugin": "0.47.1",
61
61
  "@stylistic/eslint-plugin": "5.5.0",
62
62
  "eslint-plugin-chai-expect": "3.1.0",
@@ -70,7 +70,7 @@
70
70
  "@types/chai": "^5.2.3",
71
71
  "@types/mocha": "^10.0.10",
72
72
  "chai": "^6.2.0",
73
- "mocha": "^11.7.4",
73
+ "mocha": "^11.7.5",
74
74
  "ts-add-js-extension": "^1.6.6",
75
75
  "typescript": "^5.9.3"
76
76
  },
@@ -18,6 +18,6 @@ export default {
18
18
  html,
19
19
  css,
20
20
  json,
21
- jsonc,
21
+ jsonc: jsonc as NoInfer<typeof jsonc>,
22
22
  yml,
23
23
  };
@@ -0,0 +1,11 @@
1
+ {
2
+ "files": [
3
+ "index.ts",
4
+ "plugins.ts",
5
+ "parsers.ts",
6
+ ],
7
+ "extends": "../tsconfig-src.json",
8
+ "include": [
9
+ "../../typings/**/*",
10
+ ],
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "files": [
3
+ "index.ts",
4
+ "tree.ts",
5
+ ],
6
+ "extends": "../tsconfig-src.json",
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "../tsconfig-src.json",
3
+ "include": [
4
+ "*",
5
+ ],
6
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "../tsconfig-base.json",
3
+ "compilerOptions": {
4
+ "rootDir": ".",
5
+ "outDir": "../dist",
6
+ "composite": true,
7
+ },
8
+ }
package/src/tsconfig.json CHANGED
@@ -1,16 +1,20 @@
1
1
  {
2
- "extends": "../tsconfig-base.json",
2
+ "files": [
3
+ "index.ts",
4
+ ],
5
+ "extends": "./tsconfig-src.json",
3
6
  "include": [
4
7
  "../typings/**/*",
5
- "**/*",
6
8
  ],
7
9
  "references": [
8
10
  {
9
- "path": "../typings",
11
+ "path": "scope",
12
+ },
13
+ {
14
+ "path": "imports",
15
+ },
16
+ {
17
+ "path": "settings",
10
18
  },
11
19
  ],
12
- "compilerOptions": {
13
- "outDir": "../dist",
14
- "composite": true,
15
- },
16
20
  }
@@ -8,14 +8,11 @@
8
8
  {
9
9
  "path": "../src",
10
10
  },
11
- {
12
- "path": "../typings",
13
- },
14
11
  ],
15
12
  "compilerOptions": {
16
13
  "rootDirs": [
17
- "../src",
18
14
  "..",
15
+ "../src",
19
16
  ],
20
17
  "outDir": "../dist/tests",
21
18
  },
@@ -0,0 +1,7 @@
1
+ declare module "eslint-plugin-jsonc/meta" {
2
+ }
3
+ declare module "eslint-plugin-jsonc/types" {
4
+ export interface RuleModule<RuleOptions = unknown[]> {
5
+ foo: RuleOptions;
6
+ }
7
+ }