linted 21.0.0-rc.8 → 21.1.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/imports/index.d.ts +363 -1
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/parsers.d.ts +2 -0
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +2 -0
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +362 -2
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports/plugins.js +2 -2
- package/dist/imports/plugins.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/rules/index.d.ts +122 -1509
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js/enable.d.ts.map +1 -1
- package/dist/rules/js/enable.js +37 -11
- package/dist/rules/js/enable.js.map +1 -1
- package/dist/rules/js/index.d.ts.map +1 -1
- package/dist/rules/js/index.js +4 -1
- package/dist/rules/js/index.js.map +1 -1
- package/dist/rules/js/stylistic.d.ts.map +1 -1
- package/dist/rules/js/stylistic.js +73 -20
- package/dist/rules/js/stylistic.js.map +1 -1
- package/dist/rules/json/enable.d.ts +23 -2
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +24 -4
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/enable_x.d.ts +50 -0
- package/dist/rules/json/enable_x.d.ts.map +1 -0
- package/dist/rules/json/enable_x.js +80 -0
- package/dist/rules/json/enable_x.js.map +1 -0
- package/dist/rules/json/index.d.ts +52 -747
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +2 -2
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +77 -3
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js +5 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsonc/override.d.ts +6 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +12 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/dist/rules/mocha/disable.d.ts.map +1 -1
- package/dist/rules/mocha/disable.js +1 -1
- package/dist/rules/mocha/disable.js.map +1 -1
- package/dist/rules/mocha/index.d.ts.map +1 -1
- package/dist/rules/mocha/index.js +4 -2
- package/dist/rules/mocha/index.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts.map +1 -1
- package/dist/rules/svelte/enable.js +5 -3
- package/dist/rules/svelte/enable.js.map +1 -1
- package/dist/rules/svelte/enable_x.d.ts.map +1 -1
- package/dist/rules/svelte/enable_x.js +1 -2
- package/dist/rules/svelte/enable_x.js.map +1 -1
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/disable_x.d.ts.map +1 -1
- package/dist/rules/ts/disable_x.js +1 -1
- package/dist/rules/ts/disable_x.js.map +1 -1
- package/dist/rules/ts/enable.d.ts.map +1 -1
- package/dist/rules/ts/enable.js +21 -7
- package/dist/rules/ts/enable.js.map +1 -1
- package/dist/rules/ts/enable_x.d.ts.map +1 -1
- package/dist/rules/ts/enable_x.js +1 -2
- package/dist/rules/ts/enable_x.js.map +1 -1
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +13 -5
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/enable_x.d.ts.map +1 -1
- package/dist/rules/yml/enable_x.js +5 -3
- package/dist/rules/yml/enable_x.js.map +1 -1
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/index.js +4 -1
- package/dist/rules/yml/index.js.map +1 -1
- package/package.json +4 -3
- package/src/imports/parsers.ts +2 -0
- package/src/imports/plugins.ts +2 -2
- package/src/index.ts +8 -2
- package/src/rules/html/enable.ts +1 -1
- package/src/rules/js/enable.ts +41 -15
- package/src/rules/js/index.ts +4 -1
- package/src/rules/js/stylistic.ts +77 -24
- package/src/rules/json/enable.ts +29 -6
- package/src/rules/json/enable_x.ts +91 -0
- package/src/rules/json/index.ts +2 -2
- package/src/rules/jsonc/index.ts +5 -1
- package/src/rules/jsonc/override.ts +18 -0
- package/src/rules/mocha/disable.ts +4 -1
- package/src/rules/mocha/index.ts +4 -2
- package/src/rules/svelte/disable.ts +4 -1
- package/src/rules/svelte/enable.ts +9 -7
- package/src/rules/svelte/enable_x.ts +7 -5
- package/src/rules/ts/disable.ts +4 -1
- package/src/rules/ts/disable_x.ts +4 -1
- package/src/rules/ts/enable.ts +27 -10
- package/src/rules/ts/enable_x.ts +7 -5
- package/src/rules/yml/enable.ts +20 -8
- package/src/rules/yml/enable_x.ts +11 -6
- package/src/rules/yml/index.ts +4 -1
- package/dist/rules/mocha/base.d.ts +0 -37
- package/dist/rules/mocha/base.d.ts.map +0 -1
- package/dist/rules/mocha/base.js +0 -7
- package/dist/rules/mocha/base.js.map +0 -1
- package/dist/rules/mochaJs/index.d.ts +0 -800
- package/dist/rules/mochaJs/index.d.ts.map +0 -1
- package/dist/rules/mochaJs/index.js +0 -7
- package/dist/rules/mochaJs/index.js.map +0 -1
- package/src/rules/mocha/base.ts +0 -7
- package/src/rules/mochaJs/index.ts +0 -7
package/dist/imports/index.d.ts
CHANGED
@@ -75,7 +75,368 @@ declare const _default: {
|
|
75
75
|
};
|
76
76
|
};
|
77
77
|
};
|
78
|
-
readonly
|
78
|
+
readonly jsonc: {
|
79
|
+
meta: typeof import("eslint-plugin-jsonc/meta");
|
80
|
+
configs: {
|
81
|
+
base: {
|
82
|
+
plugins: string[];
|
83
|
+
overrides: {
|
84
|
+
files: string[];
|
85
|
+
parser: string;
|
86
|
+
rules: {
|
87
|
+
strict: string;
|
88
|
+
"no-unused-expressions": string;
|
89
|
+
"no-unused-vars": string;
|
90
|
+
};
|
91
|
+
}[];
|
92
|
+
};
|
93
|
+
"auto-config": {
|
94
|
+
extends: string[];
|
95
|
+
rules: {
|
96
|
+
"jsonc/auto": string;
|
97
|
+
};
|
98
|
+
};
|
99
|
+
"recommended-with-json": {
|
100
|
+
extends: string[];
|
101
|
+
rules: {
|
102
|
+
"jsonc/comma-dangle": string;
|
103
|
+
"jsonc/no-bigint-literals": string;
|
104
|
+
"jsonc/no-binary-expression": string;
|
105
|
+
"jsonc/no-binary-numeric-literals": string;
|
106
|
+
"jsonc/no-comments": string;
|
107
|
+
"jsonc/no-dupe-keys": string;
|
108
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
109
|
+
"jsonc/no-floating-decimal": string;
|
110
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
111
|
+
"jsonc/no-infinity": string;
|
112
|
+
"jsonc/no-multi-str": string;
|
113
|
+
"jsonc/no-nan": string;
|
114
|
+
"jsonc/no-number-props": string;
|
115
|
+
"jsonc/no-numeric-separators": string;
|
116
|
+
"jsonc/no-octal-numeric-literals": string;
|
117
|
+
"jsonc/no-octal": string;
|
118
|
+
"jsonc/no-parenthesized": string;
|
119
|
+
"jsonc/no-plus-sign": string;
|
120
|
+
"jsonc/no-regexp-literals": string;
|
121
|
+
"jsonc/no-sparse-arrays": string;
|
122
|
+
"jsonc/no-template-literals": string;
|
123
|
+
"jsonc/no-undefined-value": string;
|
124
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
125
|
+
"jsonc/no-useless-escape": string;
|
126
|
+
"jsonc/quote-props": string;
|
127
|
+
"jsonc/quotes": string;
|
128
|
+
"jsonc/space-unary-ops": string;
|
129
|
+
"jsonc/valid-json-number": string;
|
130
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
131
|
+
};
|
132
|
+
};
|
133
|
+
"recommended-with-jsonc": {
|
134
|
+
extends: string[];
|
135
|
+
rules: {
|
136
|
+
"jsonc/no-bigint-literals": string;
|
137
|
+
"jsonc/no-binary-expression": string;
|
138
|
+
"jsonc/no-binary-numeric-literals": string;
|
139
|
+
"jsonc/no-dupe-keys": string;
|
140
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
141
|
+
"jsonc/no-floating-decimal": string;
|
142
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
143
|
+
"jsonc/no-infinity": string;
|
144
|
+
"jsonc/no-multi-str": string;
|
145
|
+
"jsonc/no-nan": string;
|
146
|
+
"jsonc/no-number-props": string;
|
147
|
+
"jsonc/no-numeric-separators": string;
|
148
|
+
"jsonc/no-octal-numeric-literals": string;
|
149
|
+
"jsonc/no-octal": string;
|
150
|
+
"jsonc/no-parenthesized": string;
|
151
|
+
"jsonc/no-plus-sign": string;
|
152
|
+
"jsonc/no-regexp-literals": string;
|
153
|
+
"jsonc/no-sparse-arrays": string;
|
154
|
+
"jsonc/no-template-literals": string;
|
155
|
+
"jsonc/no-undefined-value": string;
|
156
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
157
|
+
"jsonc/no-useless-escape": string;
|
158
|
+
"jsonc/quote-props": string;
|
159
|
+
"jsonc/quotes": string;
|
160
|
+
"jsonc/space-unary-ops": string;
|
161
|
+
"jsonc/valid-json-number": string;
|
162
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
163
|
+
};
|
164
|
+
};
|
165
|
+
"recommended-with-json5": {
|
166
|
+
extends: string[];
|
167
|
+
rules: {
|
168
|
+
"jsonc/no-bigint-literals": string;
|
169
|
+
"jsonc/no-binary-expression": string;
|
170
|
+
"jsonc/no-binary-numeric-literals": string;
|
171
|
+
"jsonc/no-dupe-keys": string;
|
172
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
173
|
+
"jsonc/no-number-props": string;
|
174
|
+
"jsonc/no-numeric-separators": string;
|
175
|
+
"jsonc/no-octal-numeric-literals": string;
|
176
|
+
"jsonc/no-octal": string;
|
177
|
+
"jsonc/no-parenthesized": string;
|
178
|
+
"jsonc/no-regexp-literals": string;
|
179
|
+
"jsonc/no-sparse-arrays": string;
|
180
|
+
"jsonc/no-template-literals": string;
|
181
|
+
"jsonc/no-undefined-value": string;
|
182
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
183
|
+
"jsonc/no-useless-escape": string;
|
184
|
+
"jsonc/space-unary-ops": string;
|
185
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
186
|
+
};
|
187
|
+
};
|
188
|
+
prettier: {
|
189
|
+
extends: string[];
|
190
|
+
rules: {
|
191
|
+
"jsonc/array-bracket-newline": string;
|
192
|
+
"jsonc/array-bracket-spacing": string;
|
193
|
+
"jsonc/array-element-newline": string;
|
194
|
+
"jsonc/comma-dangle": string;
|
195
|
+
"jsonc/comma-style": string;
|
196
|
+
"jsonc/indent": string;
|
197
|
+
"jsonc/key-spacing": string;
|
198
|
+
"jsonc/no-floating-decimal": string;
|
199
|
+
"jsonc/object-curly-newline": string;
|
200
|
+
"jsonc/object-curly-spacing": string;
|
201
|
+
"jsonc/object-property-newline": string;
|
202
|
+
"jsonc/quote-props": string;
|
203
|
+
"jsonc/quotes": string;
|
204
|
+
"jsonc/space-unary-ops": string;
|
205
|
+
};
|
206
|
+
};
|
207
|
+
all: {
|
208
|
+
extends: string[];
|
209
|
+
rules: {
|
210
|
+
[x: string]: string;
|
211
|
+
};
|
212
|
+
};
|
213
|
+
"flat/base": ({
|
214
|
+
plugins: {
|
215
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
216
|
+
};
|
217
|
+
files?: undefined;
|
218
|
+
languageOptions?: undefined;
|
219
|
+
rules?: undefined;
|
220
|
+
} | {
|
221
|
+
files: string[];
|
222
|
+
languageOptions: {
|
223
|
+
parser: typeof import("jsonc-eslint-parser");
|
224
|
+
};
|
225
|
+
rules: {
|
226
|
+
strict: "off";
|
227
|
+
"no-unused-expressions": "off";
|
228
|
+
"no-unused-vars": "off";
|
229
|
+
};
|
230
|
+
plugins?: undefined;
|
231
|
+
})[];
|
232
|
+
"flat/recommended-with-json": ({
|
233
|
+
plugins: {
|
234
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
235
|
+
};
|
236
|
+
files?: undefined;
|
237
|
+
languageOptions?: undefined;
|
238
|
+
rules?: undefined;
|
239
|
+
} | {
|
240
|
+
files: string[];
|
241
|
+
languageOptions: {
|
242
|
+
parser: typeof import("jsonc-eslint-parser");
|
243
|
+
};
|
244
|
+
rules: {
|
245
|
+
strict: "off";
|
246
|
+
"no-unused-expressions": "off";
|
247
|
+
"no-unused-vars": "off";
|
248
|
+
};
|
249
|
+
plugins?: undefined;
|
250
|
+
} | {
|
251
|
+
rules: {
|
252
|
+
"jsonc/comma-dangle": "error";
|
253
|
+
"jsonc/no-bigint-literals": "error";
|
254
|
+
"jsonc/no-binary-expression": "error";
|
255
|
+
"jsonc/no-binary-numeric-literals": "error";
|
256
|
+
"jsonc/no-comments": "error";
|
257
|
+
"jsonc/no-dupe-keys": "error";
|
258
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
259
|
+
"jsonc/no-floating-decimal": "error";
|
260
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
261
|
+
"jsonc/no-infinity": "error";
|
262
|
+
"jsonc/no-multi-str": "error";
|
263
|
+
"jsonc/no-nan": "error";
|
264
|
+
"jsonc/no-number-props": "error";
|
265
|
+
"jsonc/no-numeric-separators": "error";
|
266
|
+
"jsonc/no-octal-numeric-literals": "error";
|
267
|
+
"jsonc/no-octal": "error";
|
268
|
+
"jsonc/no-parenthesized": "error";
|
269
|
+
"jsonc/no-plus-sign": "error";
|
270
|
+
"jsonc/no-regexp-literals": "error";
|
271
|
+
"jsonc/no-sparse-arrays": "error";
|
272
|
+
"jsonc/no-template-literals": "error";
|
273
|
+
"jsonc/no-undefined-value": "error";
|
274
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
275
|
+
"jsonc/no-useless-escape": "error";
|
276
|
+
"jsonc/quote-props": "error";
|
277
|
+
"jsonc/quotes": "error";
|
278
|
+
"jsonc/space-unary-ops": "error";
|
279
|
+
"jsonc/valid-json-number": "error";
|
280
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
281
|
+
};
|
282
|
+
})[];
|
283
|
+
"flat/recommended-with-jsonc": ({
|
284
|
+
plugins: {
|
285
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
286
|
+
};
|
287
|
+
files?: undefined;
|
288
|
+
languageOptions?: undefined;
|
289
|
+
rules?: undefined;
|
290
|
+
} | {
|
291
|
+
files: string[];
|
292
|
+
languageOptions: {
|
293
|
+
parser: typeof import("jsonc-eslint-parser");
|
294
|
+
};
|
295
|
+
rules: {
|
296
|
+
strict: "off";
|
297
|
+
"no-unused-expressions": "off";
|
298
|
+
"no-unused-vars": "off";
|
299
|
+
};
|
300
|
+
plugins?: undefined;
|
301
|
+
} | {
|
302
|
+
rules: {
|
303
|
+
"jsonc/no-bigint-literals": "error";
|
304
|
+
"jsonc/no-binary-expression": "error";
|
305
|
+
"jsonc/no-binary-numeric-literals": "error";
|
306
|
+
"jsonc/no-dupe-keys": "error";
|
307
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
308
|
+
"jsonc/no-floating-decimal": "error";
|
309
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
310
|
+
"jsonc/no-infinity": "error";
|
311
|
+
"jsonc/no-multi-str": "error";
|
312
|
+
"jsonc/no-nan": "error";
|
313
|
+
"jsonc/no-number-props": "error";
|
314
|
+
"jsonc/no-numeric-separators": "error";
|
315
|
+
"jsonc/no-octal-numeric-literals": "error";
|
316
|
+
"jsonc/no-octal": "error";
|
317
|
+
"jsonc/no-parenthesized": "error";
|
318
|
+
"jsonc/no-plus-sign": "error";
|
319
|
+
"jsonc/no-regexp-literals": "error";
|
320
|
+
"jsonc/no-sparse-arrays": "error";
|
321
|
+
"jsonc/no-template-literals": "error";
|
322
|
+
"jsonc/no-undefined-value": "error";
|
323
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
324
|
+
"jsonc/no-useless-escape": "error";
|
325
|
+
"jsonc/quote-props": "error";
|
326
|
+
"jsonc/quotes": "error";
|
327
|
+
"jsonc/space-unary-ops": "error";
|
328
|
+
"jsonc/valid-json-number": "error";
|
329
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
330
|
+
};
|
331
|
+
})[];
|
332
|
+
"flat/recommended-with-json5": ({
|
333
|
+
plugins: {
|
334
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
335
|
+
};
|
336
|
+
files?: undefined;
|
337
|
+
languageOptions?: undefined;
|
338
|
+
rules?: undefined;
|
339
|
+
} | {
|
340
|
+
files: string[];
|
341
|
+
languageOptions: {
|
342
|
+
parser: typeof import("jsonc-eslint-parser");
|
343
|
+
};
|
344
|
+
rules: {
|
345
|
+
strict: "off";
|
346
|
+
"no-unused-expressions": "off";
|
347
|
+
"no-unused-vars": "off";
|
348
|
+
};
|
349
|
+
plugins?: undefined;
|
350
|
+
} | {
|
351
|
+
rules: {
|
352
|
+
"jsonc/no-bigint-literals": "error";
|
353
|
+
"jsonc/no-binary-expression": "error";
|
354
|
+
"jsonc/no-binary-numeric-literals": "error";
|
355
|
+
"jsonc/no-dupe-keys": "error";
|
356
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
357
|
+
"jsonc/no-number-props": "error";
|
358
|
+
"jsonc/no-numeric-separators": "error";
|
359
|
+
"jsonc/no-octal-numeric-literals": "error";
|
360
|
+
"jsonc/no-octal": "error";
|
361
|
+
"jsonc/no-parenthesized": "error";
|
362
|
+
"jsonc/no-regexp-literals": "error";
|
363
|
+
"jsonc/no-sparse-arrays": "error";
|
364
|
+
"jsonc/no-template-literals": "error";
|
365
|
+
"jsonc/no-undefined-value": "error";
|
366
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
367
|
+
"jsonc/no-useless-escape": "error";
|
368
|
+
"jsonc/space-unary-ops": "error";
|
369
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
370
|
+
};
|
371
|
+
})[];
|
372
|
+
"flat/prettier": ({
|
373
|
+
plugins: {
|
374
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
375
|
+
};
|
376
|
+
files?: undefined;
|
377
|
+
languageOptions?: undefined;
|
378
|
+
rules?: undefined;
|
379
|
+
} | {
|
380
|
+
files: string[];
|
381
|
+
languageOptions: {
|
382
|
+
parser: typeof import("jsonc-eslint-parser");
|
383
|
+
};
|
384
|
+
rules: {
|
385
|
+
strict: "off";
|
386
|
+
"no-unused-expressions": "off";
|
387
|
+
"no-unused-vars": "off";
|
388
|
+
};
|
389
|
+
plugins?: undefined;
|
390
|
+
} | {
|
391
|
+
rules: {
|
392
|
+
"jsonc/array-bracket-newline": "off";
|
393
|
+
"jsonc/array-bracket-spacing": "off";
|
394
|
+
"jsonc/array-element-newline": "off";
|
395
|
+
"jsonc/comma-dangle": "off";
|
396
|
+
"jsonc/comma-style": "off";
|
397
|
+
"jsonc/indent": "off";
|
398
|
+
"jsonc/key-spacing": "off";
|
399
|
+
"jsonc/no-floating-decimal": "off";
|
400
|
+
"jsonc/object-curly-newline": "off";
|
401
|
+
"jsonc/object-curly-spacing": "off";
|
402
|
+
"jsonc/object-property-newline": "off";
|
403
|
+
"jsonc/quote-props": "off";
|
404
|
+
"jsonc/quotes": "off";
|
405
|
+
"jsonc/space-unary-ops": "off";
|
406
|
+
};
|
407
|
+
})[];
|
408
|
+
"flat/all": ({
|
409
|
+
plugins: {
|
410
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
411
|
+
};
|
412
|
+
files?: undefined;
|
413
|
+
languageOptions?: undefined;
|
414
|
+
rules?: undefined;
|
415
|
+
} | {
|
416
|
+
files: string[];
|
417
|
+
languageOptions: {
|
418
|
+
parser: typeof import("jsonc-eslint-parser");
|
419
|
+
};
|
420
|
+
rules: {
|
421
|
+
strict: "off";
|
422
|
+
"no-unused-expressions": "off";
|
423
|
+
"no-unused-vars": "off";
|
424
|
+
};
|
425
|
+
plugins?: undefined;
|
426
|
+
} | {
|
427
|
+
rules: {
|
428
|
+
[x: string]: import("eslint").Linter.RuleEntry<any[]>;
|
429
|
+
};
|
430
|
+
})[];
|
431
|
+
};
|
432
|
+
rules: {
|
433
|
+
[key: string]: import("eslint-plugin-jsonc/types").RuleModule;
|
434
|
+
};
|
435
|
+
parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
|
436
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
437
|
+
traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
|
438
|
+
getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
|
439
|
+
};
|
79
440
|
readonly yml: {
|
80
441
|
meta: typeof import("eslint-plugin-yml/lib/meta");
|
81
442
|
configs: {
|
@@ -279,6 +640,7 @@ declare const _default: {
|
|
279
640
|
readonly ts: typeof import("@typescript-eslint/parser");
|
280
641
|
readonly svelte: typeof import("svelte-eslint-parser");
|
281
642
|
readonly html: typeof import("@html-eslint/parser");
|
643
|
+
readonly jsonc: typeof import("jsonc-eslint-parser");
|
282
644
|
readonly yml: typeof import("yaml-eslint-parser");
|
283
645
|
};
|
284
646
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOm+oB,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;yBAAmN,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAu3D,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAkxD,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAwyC,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;yBAA89B,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAp90B,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;yBAA+K,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;yBAAolB,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA0wC,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJpgN,wBAGW"}
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import ts from "@typescript-eslint/parser";
|
2
2
|
import svelte from "svelte-eslint-parser";
|
3
3
|
import html from "@html-eslint/parser";
|
4
|
+
import jsonc from "jsonc-eslint-parser";
|
4
5
|
import yml from "yaml-eslint-parser";
|
5
6
|
declare const _default: {
|
6
7
|
readonly ts: typeof ts;
|
7
8
|
readonly svelte: typeof svelte;
|
8
9
|
readonly html: typeof html;
|
10
|
+
readonly jsonc: typeof jsonc;
|
9
11
|
readonly yml: typeof yml;
|
10
12
|
};
|
11
13
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;;;;;;;;AAErC,wBAMW"}
|
package/dist/imports/parsers.js
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import ts from "@typescript-eslint/parser";
|
2
2
|
import svelte from "svelte-eslint-parser";
|
3
3
|
import html from "@html-eslint/parser";
|
4
|
+
import jsonc from "jsonc-eslint-parser";
|
4
5
|
import yml from "yaml-eslint-parser";
|
5
6
|
export default {
|
6
7
|
ts,
|
7
8
|
svelte,
|
8
9
|
html,
|
10
|
+
jsonc,
|
9
11
|
yml,
|
10
12
|
};
|
11
13
|
//# sourceMappingURL=parsers.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;CACK,CAAC"}
|
1
|
+
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC3C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE;IACF,MAAM;IACN,IAAI;IACJ,KAAK;IACL,GAAG;CACK,CAAC"}
|