linted 21.0.0-rc.7 → 21.0.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
@@ -1,5 +1,4 @@
|
|
1
1
|
import mocha from "eslint-plugin-mocha";
|
2
|
-
import json from "@eslint/json";
|
3
2
|
declare const _default: {
|
4
3
|
readonly "@stylistic": {
|
5
4
|
rules: import("@stylistic/eslint-plugin").Rules;
|
@@ -76,7 +75,368 @@ declare const _default: {
|
|
76
75
|
};
|
77
76
|
};
|
78
77
|
};
|
79
|
-
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("eslint-plugin-jsonc").parseForESLint;
|
436
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
437
|
+
traverseNodes: typeof import("eslint-plugin-jsonc").traverseNodes;
|
438
|
+
getStaticJSONValue: typeof import("eslint-plugin-jsonc").getStaticJSONValue;
|
439
|
+
};
|
80
440
|
readonly yml: {
|
81
441
|
meta: typeof import("eslint-plugin-yml/lib/meta");
|
82
442
|
configs: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,qBAAqB,CAAC;;;;;;mCAOgB;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAOw/nB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAp90B,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;;;;;;;;;;;;;;;;;;;;;;;AATrmM,wBAQW"}
|
package/dist/imports/plugins.js
CHANGED
@@ -3,7 +3,7 @@ import typescript_eslint from "@typescript-eslint/eslint-plugin";
|
|
3
3
|
import svelte from "eslint-plugin-svelte";
|
4
4
|
import mocha from "eslint-plugin-mocha";
|
5
5
|
import html_eslint from "@html-eslint/eslint-plugin";
|
6
|
-
import
|
6
|
+
import jsonc from "eslint-plugin-jsonc";
|
7
7
|
import yml from "eslint-plugin-yml";
|
8
8
|
export default {
|
9
9
|
"@stylistic": stylistic,
|
@@ -11,7 +11,7 @@ export default {
|
|
11
11
|
svelte,
|
12
12
|
mocha,
|
13
13
|
"@html-eslint": html_eslint,
|
14
|
-
|
14
|
+
jsonc,
|
15
15
|
yml,
|
16
16
|
};
|
17
17
|
//# 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,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAoD;IAC1E,MAAM;IACN,KAAK;IACL,cAAc,EAAE,WAAW;IAC3B,KAAK;IACL,GAAG;CACK,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,mCAmB5C"}
|
package/dist/index.js
CHANGED
@@ -7,8 +7,14 @@ export default function (includes = {}, overrides = {}) {
|
|
7
7
|
return core({
|
8
8
|
plugins: imports.plugins,
|
9
9
|
parsers: imports.parsers,
|
10
|
-
files: {
|
11
|
-
|
10
|
+
files: {
|
11
|
+
files,
|
12
|
+
includes,
|
13
|
+
},
|
14
|
+
rules: {
|
15
|
+
rules,
|
16
|
+
overrides,
|
17
|
+
},
|
12
18
|
});
|
13
19
|
}
|
14
20
|
catch (e) {
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|