linted 28.36.0-rc.1 → 28.36.0
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.
- package/dist/plugins.d.ts +586 -1
- package/dist/plugins.d.ts.map +1 -1
- package/dist/plugins.js.map +1 -1
- package/package.json +3 -3
- package/src/plugins.ts +1 -1
package/dist/plugins.d.ts
CHANGED
@@ -1,2 +1,587 @@
|
|
1
|
-
|
1
|
+
import mocha from "eslint-plugin-mocha";
|
2
|
+
import chai_friendly from "eslint-plugin-chai-friendly";
|
3
|
+
import chai_expect from "eslint-plugin-chai-expect";
|
4
|
+
import svelte from "eslint-plugin-svelte";
|
5
|
+
import html_eslint from "@html-eslint/eslint-plugin";
|
6
|
+
import css from "@eslint/css";
|
7
|
+
import json from "@eslint/json";
|
8
|
+
export declare const plugins: {
|
9
|
+
"@stylistic": {
|
10
|
+
rules: import("@stylistic/eslint-plugin").Rules;
|
11
|
+
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
12
|
+
};
|
13
|
+
"@typescript-eslint": import("@typescript-eslint/utils/ts-eslint").FlatConfig.Plugin;
|
14
|
+
mocha: typeof mocha;
|
15
|
+
"chai-friendly": typeof chai_friendly;
|
16
|
+
"chai-expect": typeof chai_expect;
|
17
|
+
svelte: typeof svelte;
|
18
|
+
"@html-eslint": {
|
19
|
+
meta: html_eslint.PluginMeta;
|
20
|
+
rules: html_eslint.AllRules;
|
21
|
+
configs: html_eslint.HtmlESLintConfigs;
|
22
|
+
languages: html_eslint.Languages;
|
23
|
+
};
|
24
|
+
css: typeof css;
|
25
|
+
json: typeof json;
|
26
|
+
jsonc: {
|
27
|
+
meta: typeof import("eslint-plugin-jsonc/meta");
|
28
|
+
configs: {
|
29
|
+
base: {
|
30
|
+
plugins: string[];
|
31
|
+
overrides: {
|
32
|
+
files: string[];
|
33
|
+
parser: string;
|
34
|
+
rules: {
|
35
|
+
strict: string;
|
36
|
+
"no-unused-expressions": string;
|
37
|
+
"no-unused-vars": string;
|
38
|
+
};
|
39
|
+
}[];
|
40
|
+
};
|
41
|
+
"auto-config": {
|
42
|
+
extends: string[];
|
43
|
+
rules: {
|
44
|
+
"jsonc/auto": string;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
"recommended-with-json": {
|
48
|
+
extends: string[];
|
49
|
+
rules: {
|
50
|
+
"jsonc/comma-dangle": string;
|
51
|
+
"jsonc/no-bigint-literals": string;
|
52
|
+
"jsonc/no-binary-expression": string;
|
53
|
+
"jsonc/no-binary-numeric-literals": string;
|
54
|
+
"jsonc/no-comments": string;
|
55
|
+
"jsonc/no-dupe-keys": string;
|
56
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
57
|
+
"jsonc/no-floating-decimal": string;
|
58
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
59
|
+
"jsonc/no-infinity": string;
|
60
|
+
"jsonc/no-multi-str": string;
|
61
|
+
"jsonc/no-nan": string;
|
62
|
+
"jsonc/no-number-props": string;
|
63
|
+
"jsonc/no-numeric-separators": string;
|
64
|
+
"jsonc/no-octal-numeric-literals": string;
|
65
|
+
"jsonc/no-octal": string;
|
66
|
+
"jsonc/no-parenthesized": string;
|
67
|
+
"jsonc/no-plus-sign": string;
|
68
|
+
"jsonc/no-regexp-literals": string;
|
69
|
+
"jsonc/no-sparse-arrays": string;
|
70
|
+
"jsonc/no-template-literals": string;
|
71
|
+
"jsonc/no-undefined-value": string;
|
72
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
73
|
+
"jsonc/no-useless-escape": string;
|
74
|
+
"jsonc/quote-props": string;
|
75
|
+
"jsonc/quotes": string;
|
76
|
+
"jsonc/space-unary-ops": string;
|
77
|
+
"jsonc/valid-json-number": string;
|
78
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
79
|
+
};
|
80
|
+
};
|
81
|
+
"recommended-with-jsonc": {
|
82
|
+
extends: string[];
|
83
|
+
rules: {
|
84
|
+
"jsonc/no-bigint-literals": string;
|
85
|
+
"jsonc/no-binary-expression": string;
|
86
|
+
"jsonc/no-binary-numeric-literals": string;
|
87
|
+
"jsonc/no-dupe-keys": string;
|
88
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
89
|
+
"jsonc/no-floating-decimal": string;
|
90
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
91
|
+
"jsonc/no-infinity": string;
|
92
|
+
"jsonc/no-multi-str": string;
|
93
|
+
"jsonc/no-nan": string;
|
94
|
+
"jsonc/no-number-props": string;
|
95
|
+
"jsonc/no-numeric-separators": string;
|
96
|
+
"jsonc/no-octal-numeric-literals": string;
|
97
|
+
"jsonc/no-octal": string;
|
98
|
+
"jsonc/no-parenthesized": string;
|
99
|
+
"jsonc/no-plus-sign": string;
|
100
|
+
"jsonc/no-regexp-literals": string;
|
101
|
+
"jsonc/no-sparse-arrays": string;
|
102
|
+
"jsonc/no-template-literals": string;
|
103
|
+
"jsonc/no-undefined-value": string;
|
104
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
105
|
+
"jsonc/no-useless-escape": string;
|
106
|
+
"jsonc/quote-props": string;
|
107
|
+
"jsonc/quotes": string;
|
108
|
+
"jsonc/space-unary-ops": string;
|
109
|
+
"jsonc/valid-json-number": string;
|
110
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
"recommended-with-json5": {
|
114
|
+
extends: string[];
|
115
|
+
rules: {
|
116
|
+
"jsonc/no-bigint-literals": string;
|
117
|
+
"jsonc/no-binary-expression": string;
|
118
|
+
"jsonc/no-binary-numeric-literals": string;
|
119
|
+
"jsonc/no-dupe-keys": string;
|
120
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
121
|
+
"jsonc/no-number-props": string;
|
122
|
+
"jsonc/no-numeric-separators": string;
|
123
|
+
"jsonc/no-octal-numeric-literals": string;
|
124
|
+
"jsonc/no-octal": string;
|
125
|
+
"jsonc/no-parenthesized": string;
|
126
|
+
"jsonc/no-regexp-literals": string;
|
127
|
+
"jsonc/no-sparse-arrays": string;
|
128
|
+
"jsonc/no-template-literals": string;
|
129
|
+
"jsonc/no-undefined-value": string;
|
130
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
131
|
+
"jsonc/no-useless-escape": string;
|
132
|
+
"jsonc/space-unary-ops": string;
|
133
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
134
|
+
};
|
135
|
+
};
|
136
|
+
prettier: {
|
137
|
+
extends: string[];
|
138
|
+
rules: {
|
139
|
+
"jsonc/array-bracket-newline": string;
|
140
|
+
"jsonc/array-bracket-spacing": string;
|
141
|
+
"jsonc/array-element-newline": string;
|
142
|
+
"jsonc/comma-dangle": string;
|
143
|
+
"jsonc/comma-style": string;
|
144
|
+
"jsonc/indent": string;
|
145
|
+
"jsonc/key-spacing": string;
|
146
|
+
"jsonc/no-floating-decimal": string;
|
147
|
+
"jsonc/object-curly-newline": string;
|
148
|
+
"jsonc/object-curly-spacing": string;
|
149
|
+
"jsonc/object-property-newline": string;
|
150
|
+
"jsonc/quote-props": string;
|
151
|
+
"jsonc/quotes": string;
|
152
|
+
"jsonc/space-unary-ops": string;
|
153
|
+
};
|
154
|
+
};
|
155
|
+
all: {
|
156
|
+
extends: string[];
|
157
|
+
rules: {
|
158
|
+
[x: string]: string;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
"flat/base": ({
|
162
|
+
plugins: {
|
163
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
164
|
+
};
|
165
|
+
files?: undefined;
|
166
|
+
languageOptions?: undefined;
|
167
|
+
rules?: undefined;
|
168
|
+
} | {
|
169
|
+
files: string[];
|
170
|
+
languageOptions: {
|
171
|
+
parser: typeof import("jsonc-eslint-parser");
|
172
|
+
};
|
173
|
+
rules: {
|
174
|
+
strict: "off";
|
175
|
+
"no-unused-expressions": "off";
|
176
|
+
"no-unused-vars": "off";
|
177
|
+
};
|
178
|
+
plugins?: undefined;
|
179
|
+
})[];
|
180
|
+
"flat/recommended-with-json": ({
|
181
|
+
plugins: {
|
182
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
183
|
+
};
|
184
|
+
files?: undefined;
|
185
|
+
languageOptions?: undefined;
|
186
|
+
rules?: undefined;
|
187
|
+
} | {
|
188
|
+
files: string[];
|
189
|
+
languageOptions: {
|
190
|
+
parser: typeof import("jsonc-eslint-parser");
|
191
|
+
};
|
192
|
+
rules: {
|
193
|
+
strict: "off";
|
194
|
+
"no-unused-expressions": "off";
|
195
|
+
"no-unused-vars": "off";
|
196
|
+
};
|
197
|
+
plugins?: undefined;
|
198
|
+
} | {
|
199
|
+
rules: {
|
200
|
+
"jsonc/comma-dangle": "error";
|
201
|
+
"jsonc/no-bigint-literals": "error";
|
202
|
+
"jsonc/no-binary-expression": "error";
|
203
|
+
"jsonc/no-binary-numeric-literals": "error";
|
204
|
+
"jsonc/no-comments": "error";
|
205
|
+
"jsonc/no-dupe-keys": "error";
|
206
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
207
|
+
"jsonc/no-floating-decimal": "error";
|
208
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
209
|
+
"jsonc/no-infinity": "error";
|
210
|
+
"jsonc/no-multi-str": "error";
|
211
|
+
"jsonc/no-nan": "error";
|
212
|
+
"jsonc/no-number-props": "error";
|
213
|
+
"jsonc/no-numeric-separators": "error";
|
214
|
+
"jsonc/no-octal-numeric-literals": "error";
|
215
|
+
"jsonc/no-octal": "error";
|
216
|
+
"jsonc/no-parenthesized": "error";
|
217
|
+
"jsonc/no-plus-sign": "error";
|
218
|
+
"jsonc/no-regexp-literals": "error";
|
219
|
+
"jsonc/no-sparse-arrays": "error";
|
220
|
+
"jsonc/no-template-literals": "error";
|
221
|
+
"jsonc/no-undefined-value": "error";
|
222
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
223
|
+
"jsonc/no-useless-escape": "error";
|
224
|
+
"jsonc/quote-props": "error";
|
225
|
+
"jsonc/quotes": "error";
|
226
|
+
"jsonc/space-unary-ops": "error";
|
227
|
+
"jsonc/valid-json-number": "error";
|
228
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
229
|
+
};
|
230
|
+
})[];
|
231
|
+
"flat/recommended-with-jsonc": ({
|
232
|
+
plugins: {
|
233
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
234
|
+
};
|
235
|
+
files?: undefined;
|
236
|
+
languageOptions?: undefined;
|
237
|
+
rules?: undefined;
|
238
|
+
} | {
|
239
|
+
files: string[];
|
240
|
+
languageOptions: {
|
241
|
+
parser: typeof import("jsonc-eslint-parser");
|
242
|
+
};
|
243
|
+
rules: {
|
244
|
+
strict: "off";
|
245
|
+
"no-unused-expressions": "off";
|
246
|
+
"no-unused-vars": "off";
|
247
|
+
};
|
248
|
+
plugins?: undefined;
|
249
|
+
} | {
|
250
|
+
rules: {
|
251
|
+
"jsonc/no-bigint-literals": "error";
|
252
|
+
"jsonc/no-binary-expression": "error";
|
253
|
+
"jsonc/no-binary-numeric-literals": "error";
|
254
|
+
"jsonc/no-dupe-keys": "error";
|
255
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
256
|
+
"jsonc/no-floating-decimal": "error";
|
257
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
258
|
+
"jsonc/no-infinity": "error";
|
259
|
+
"jsonc/no-multi-str": "error";
|
260
|
+
"jsonc/no-nan": "error";
|
261
|
+
"jsonc/no-number-props": "error";
|
262
|
+
"jsonc/no-numeric-separators": "error";
|
263
|
+
"jsonc/no-octal-numeric-literals": "error";
|
264
|
+
"jsonc/no-octal": "error";
|
265
|
+
"jsonc/no-parenthesized": "error";
|
266
|
+
"jsonc/no-plus-sign": "error";
|
267
|
+
"jsonc/no-regexp-literals": "error";
|
268
|
+
"jsonc/no-sparse-arrays": "error";
|
269
|
+
"jsonc/no-template-literals": "error";
|
270
|
+
"jsonc/no-undefined-value": "error";
|
271
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
272
|
+
"jsonc/no-useless-escape": "error";
|
273
|
+
"jsonc/quote-props": "error";
|
274
|
+
"jsonc/quotes": "error";
|
275
|
+
"jsonc/space-unary-ops": "error";
|
276
|
+
"jsonc/valid-json-number": "error";
|
277
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
278
|
+
};
|
279
|
+
})[];
|
280
|
+
"flat/recommended-with-json5": ({
|
281
|
+
plugins: {
|
282
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
283
|
+
};
|
284
|
+
files?: undefined;
|
285
|
+
languageOptions?: undefined;
|
286
|
+
rules?: undefined;
|
287
|
+
} | {
|
288
|
+
files: string[];
|
289
|
+
languageOptions: {
|
290
|
+
parser: typeof import("jsonc-eslint-parser");
|
291
|
+
};
|
292
|
+
rules: {
|
293
|
+
strict: "off";
|
294
|
+
"no-unused-expressions": "off";
|
295
|
+
"no-unused-vars": "off";
|
296
|
+
};
|
297
|
+
plugins?: undefined;
|
298
|
+
} | {
|
299
|
+
rules: {
|
300
|
+
"jsonc/no-bigint-literals": "error";
|
301
|
+
"jsonc/no-binary-expression": "error";
|
302
|
+
"jsonc/no-binary-numeric-literals": "error";
|
303
|
+
"jsonc/no-dupe-keys": "error";
|
304
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
305
|
+
"jsonc/no-number-props": "error";
|
306
|
+
"jsonc/no-numeric-separators": "error";
|
307
|
+
"jsonc/no-octal-numeric-literals": "error";
|
308
|
+
"jsonc/no-octal": "error";
|
309
|
+
"jsonc/no-parenthesized": "error";
|
310
|
+
"jsonc/no-regexp-literals": "error";
|
311
|
+
"jsonc/no-sparse-arrays": "error";
|
312
|
+
"jsonc/no-template-literals": "error";
|
313
|
+
"jsonc/no-undefined-value": "error";
|
314
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
315
|
+
"jsonc/no-useless-escape": "error";
|
316
|
+
"jsonc/space-unary-ops": "error";
|
317
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
318
|
+
};
|
319
|
+
})[];
|
320
|
+
"flat/prettier": ({
|
321
|
+
plugins: {
|
322
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
323
|
+
};
|
324
|
+
files?: undefined;
|
325
|
+
languageOptions?: undefined;
|
326
|
+
rules?: undefined;
|
327
|
+
} | {
|
328
|
+
files: string[];
|
329
|
+
languageOptions: {
|
330
|
+
parser: typeof import("jsonc-eslint-parser");
|
331
|
+
};
|
332
|
+
rules: {
|
333
|
+
strict: "off";
|
334
|
+
"no-unused-expressions": "off";
|
335
|
+
"no-unused-vars": "off";
|
336
|
+
};
|
337
|
+
plugins?: undefined;
|
338
|
+
} | {
|
339
|
+
rules: {
|
340
|
+
"jsonc/array-bracket-newline": "off";
|
341
|
+
"jsonc/array-bracket-spacing": "off";
|
342
|
+
"jsonc/array-element-newline": "off";
|
343
|
+
"jsonc/comma-dangle": "off";
|
344
|
+
"jsonc/comma-style": "off";
|
345
|
+
"jsonc/indent": "off";
|
346
|
+
"jsonc/key-spacing": "off";
|
347
|
+
"jsonc/no-floating-decimal": "off";
|
348
|
+
"jsonc/object-curly-newline": "off";
|
349
|
+
"jsonc/object-curly-spacing": "off";
|
350
|
+
"jsonc/object-property-newline": "off";
|
351
|
+
"jsonc/quote-props": "off";
|
352
|
+
"jsonc/quotes": "off";
|
353
|
+
"jsonc/space-unary-ops": "off";
|
354
|
+
};
|
355
|
+
})[];
|
356
|
+
"flat/all": ({
|
357
|
+
plugins: {
|
358
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
359
|
+
};
|
360
|
+
files?: undefined;
|
361
|
+
languageOptions?: undefined;
|
362
|
+
rules?: undefined;
|
363
|
+
} | {
|
364
|
+
files: string[];
|
365
|
+
languageOptions: {
|
366
|
+
parser: typeof import("jsonc-eslint-parser");
|
367
|
+
};
|
368
|
+
rules: {
|
369
|
+
strict: "off";
|
370
|
+
"no-unused-expressions": "off";
|
371
|
+
"no-unused-vars": "off";
|
372
|
+
};
|
373
|
+
plugins?: undefined;
|
374
|
+
} | {
|
375
|
+
rules: {
|
376
|
+
[rule: string]: import("eslint").Linter.RuleEntry<any[]>;
|
377
|
+
};
|
378
|
+
})[];
|
379
|
+
};
|
380
|
+
rules: {
|
381
|
+
[key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
|
382
|
+
};
|
383
|
+
parseForESLint: typeof import("eslint-plugin-jsonc").parseForESLint;
|
384
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
385
|
+
traverseNodes: typeof import("eslint-plugin-jsonc").traverseNodes;
|
386
|
+
getStaticJSONValue: typeof import("eslint-plugin-jsonc").getStaticJSONValue;
|
387
|
+
};
|
388
|
+
yml: {
|
389
|
+
meta: typeof import("eslint-plugin-yml/lib/meta");
|
390
|
+
configs: {
|
391
|
+
base: {
|
392
|
+
plugins: string[];
|
393
|
+
overrides: {
|
394
|
+
files: string[];
|
395
|
+
parser: string;
|
396
|
+
rules: {
|
397
|
+
"no-irregular-whitespace": string;
|
398
|
+
"no-unused-vars": string;
|
399
|
+
"spaced-comment": string;
|
400
|
+
};
|
401
|
+
}[];
|
402
|
+
};
|
403
|
+
recommended: {
|
404
|
+
extends: string[];
|
405
|
+
rules: {
|
406
|
+
"yml/no-empty-document": string;
|
407
|
+
"yml/no-empty-key": string;
|
408
|
+
"yml/no-empty-mapping-value": string;
|
409
|
+
"yml/no-empty-sequence-entry": string;
|
410
|
+
"yml/no-irregular-whitespace": string;
|
411
|
+
"yml/no-tab-indent": string;
|
412
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
413
|
+
};
|
414
|
+
};
|
415
|
+
standard: {
|
416
|
+
extends: string[];
|
417
|
+
rules: {
|
418
|
+
"yml/block-mapping-question-indicator-newline": string;
|
419
|
+
"yml/block-mapping": string;
|
420
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
421
|
+
"yml/block-sequence": string;
|
422
|
+
"yml/flow-mapping-curly-newline": string;
|
423
|
+
"yml/flow-mapping-curly-spacing": string;
|
424
|
+
"yml/flow-sequence-bracket-newline": string;
|
425
|
+
"yml/flow-sequence-bracket-spacing": string;
|
426
|
+
"yml/indent": string;
|
427
|
+
"yml/key-spacing": string;
|
428
|
+
"yml/no-empty-document": string;
|
429
|
+
"yml/no-empty-key": string;
|
430
|
+
"yml/no-empty-mapping-value": string;
|
431
|
+
"yml/no-empty-sequence-entry": string;
|
432
|
+
"yml/no-irregular-whitespace": string;
|
433
|
+
"yml/no-tab-indent": string;
|
434
|
+
"yml/plain-scalar": string;
|
435
|
+
"yml/quotes": string;
|
436
|
+
"yml/spaced-comment": string;
|
437
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
438
|
+
};
|
439
|
+
};
|
440
|
+
prettier: {
|
441
|
+
extends: string[];
|
442
|
+
rules: {
|
443
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
444
|
+
"yml/block-mapping-question-indicator-newline": string;
|
445
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
446
|
+
"yml/flow-mapping-curly-newline": string;
|
447
|
+
"yml/flow-mapping-curly-spacing": string;
|
448
|
+
"yml/flow-sequence-bracket-newline": string;
|
449
|
+
"yml/flow-sequence-bracket-spacing": string;
|
450
|
+
"yml/indent": string;
|
451
|
+
"yml/key-spacing": string;
|
452
|
+
"yml/no-multiple-empty-lines": string;
|
453
|
+
"yml/no-trailing-zeros": string;
|
454
|
+
"yml/quotes": string;
|
455
|
+
};
|
456
|
+
};
|
457
|
+
"flat/base": ({
|
458
|
+
plugins: {
|
459
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
460
|
+
};
|
461
|
+
files?: undefined;
|
462
|
+
languageOptions?: undefined;
|
463
|
+
rules?: undefined;
|
464
|
+
} | {
|
465
|
+
files: string[];
|
466
|
+
languageOptions: {
|
467
|
+
parser: typeof import("yaml-eslint-parser");
|
468
|
+
};
|
469
|
+
rules: {
|
470
|
+
"no-irregular-whitespace": "off";
|
471
|
+
"no-unused-vars": "off";
|
472
|
+
"spaced-comment": "off";
|
473
|
+
};
|
474
|
+
plugins?: undefined;
|
475
|
+
})[];
|
476
|
+
"flat/recommended": ({
|
477
|
+
plugins: {
|
478
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
479
|
+
};
|
480
|
+
files?: undefined;
|
481
|
+
languageOptions?: undefined;
|
482
|
+
rules?: undefined;
|
483
|
+
} | {
|
484
|
+
files: string[];
|
485
|
+
languageOptions: {
|
486
|
+
parser: typeof import("yaml-eslint-parser");
|
487
|
+
};
|
488
|
+
rules: {
|
489
|
+
"no-irregular-whitespace": "off";
|
490
|
+
"no-unused-vars": "off";
|
491
|
+
"spaced-comment": "off";
|
492
|
+
};
|
493
|
+
plugins?: undefined;
|
494
|
+
} | {
|
495
|
+
rules: {
|
496
|
+
"yml/no-empty-document": "error";
|
497
|
+
"yml/no-empty-key": "error";
|
498
|
+
"yml/no-empty-mapping-value": "error";
|
499
|
+
"yml/no-empty-sequence-entry": "error";
|
500
|
+
"yml/no-irregular-whitespace": "error";
|
501
|
+
"yml/no-tab-indent": "error";
|
502
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
503
|
+
};
|
504
|
+
})[];
|
505
|
+
"flat/standard": ({
|
506
|
+
plugins: {
|
507
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
508
|
+
};
|
509
|
+
files?: undefined;
|
510
|
+
languageOptions?: undefined;
|
511
|
+
rules?: undefined;
|
512
|
+
} | {
|
513
|
+
files: string[];
|
514
|
+
languageOptions: {
|
515
|
+
parser: typeof import("yaml-eslint-parser");
|
516
|
+
};
|
517
|
+
rules: {
|
518
|
+
"no-irregular-whitespace": "off";
|
519
|
+
"no-unused-vars": "off";
|
520
|
+
"spaced-comment": "off";
|
521
|
+
};
|
522
|
+
plugins?: undefined;
|
523
|
+
} | {
|
524
|
+
rules: {
|
525
|
+
"yml/block-mapping-question-indicator-newline": "error";
|
526
|
+
"yml/block-mapping": "error";
|
527
|
+
"yml/block-sequence-hyphen-indicator-newline": "error";
|
528
|
+
"yml/block-sequence": "error";
|
529
|
+
"yml/flow-mapping-curly-newline": "error";
|
530
|
+
"yml/flow-mapping-curly-spacing": "error";
|
531
|
+
"yml/flow-sequence-bracket-newline": "error";
|
532
|
+
"yml/flow-sequence-bracket-spacing": "error";
|
533
|
+
"yml/indent": "error";
|
534
|
+
"yml/key-spacing": "error";
|
535
|
+
"yml/no-empty-document": "error";
|
536
|
+
"yml/no-empty-key": "error";
|
537
|
+
"yml/no-empty-mapping-value": "error";
|
538
|
+
"yml/no-empty-sequence-entry": "error";
|
539
|
+
"yml/no-irregular-whitespace": "error";
|
540
|
+
"yml/no-tab-indent": "error";
|
541
|
+
"yml/plain-scalar": "error";
|
542
|
+
"yml/quotes": "error";
|
543
|
+
"yml/spaced-comment": "error";
|
544
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
545
|
+
};
|
546
|
+
})[];
|
547
|
+
"flat/prettier": ({
|
548
|
+
plugins: {
|
549
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
550
|
+
};
|
551
|
+
files?: undefined;
|
552
|
+
languageOptions?: undefined;
|
553
|
+
rules?: undefined;
|
554
|
+
} | {
|
555
|
+
files: string[];
|
556
|
+
languageOptions: {
|
557
|
+
parser: typeof import("yaml-eslint-parser");
|
558
|
+
};
|
559
|
+
rules: {
|
560
|
+
"no-irregular-whitespace": "off";
|
561
|
+
"no-unused-vars": "off";
|
562
|
+
"spaced-comment": "off";
|
563
|
+
};
|
564
|
+
plugins?: undefined;
|
565
|
+
} | {
|
566
|
+
rules: {
|
567
|
+
"yml/block-mapping-colon-indicator-newline": "off";
|
568
|
+
"yml/block-mapping-question-indicator-newline": "off";
|
569
|
+
"yml/block-sequence-hyphen-indicator-newline": "off";
|
570
|
+
"yml/flow-mapping-curly-newline": "off";
|
571
|
+
"yml/flow-mapping-curly-spacing": "off";
|
572
|
+
"yml/flow-sequence-bracket-newline": "off";
|
573
|
+
"yml/flow-sequence-bracket-spacing": "off";
|
574
|
+
"yml/indent": "off";
|
575
|
+
"yml/key-spacing": "off";
|
576
|
+
"yml/no-multiple-empty-lines": "off";
|
577
|
+
"yml/no-trailing-zeros": "off";
|
578
|
+
"yml/quotes": "off";
|
579
|
+
};
|
580
|
+
})[];
|
581
|
+
};
|
582
|
+
rules: {
|
583
|
+
[key: string]: import("eslint-plugin-yml/lib/types").RuleModule;
|
584
|
+
};
|
585
|
+
};
|
586
|
+
};
|
2
587
|
//# sourceMappingURL=plugins.d.ts.map
|
package/dist/plugins.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAIhC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAasxnB,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;;;;;;;;;;;;;;;;;;;;;;CAD54L,CAAC"}
|
package/dist/plugins.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,MAAM,CAAC,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../src/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAiB;IACvC,KAAK;IACL,eAAe,EAAE,aAAa;IAC9B,aAAa,EAAE,WAAW;IAC1B,MAAM;IACN,cAAc,EAAE,WAAW;IAC3B,GAAG;IACH,IAAI;IACJ,KAAK;IACL,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": "28.36.0
|
6
|
+
"version": "28.36.0",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -32,8 +32,8 @@
|
|
32
32
|
"dependencies": {
|
33
33
|
"@eslint/css": "0.8.1",
|
34
34
|
"@eslint/json": "0.12.0",
|
35
|
-
"@eslinted/core": "18.9.0
|
36
|
-
"@eslinted/defaults": "10.22.
|
35
|
+
"@eslinted/core": "18.9.0",
|
36
|
+
"@eslinted/defaults": "10.22.1",
|
37
37
|
"@html-eslint/eslint-plugin": "0.40.3",
|
38
38
|
"@html-eslint/parser": "0.40.0",
|
39
39
|
"@stylistic/eslint-plugin": "4.2.0",
|
package/src/plugins.ts
CHANGED
@@ -10,7 +10,7 @@ import json from "@eslint/json";
|
|
10
10
|
import jsonc from "eslint-plugin-jsonc";
|
11
11
|
import yml from "eslint-plugin-yml";
|
12
12
|
|
13
|
-
export const plugins
|
13
|
+
export const plugins = {
|
14
14
|
"@stylistic": stylistic,
|
15
15
|
"@typescript-eslint": typescript_eslint,
|
16
16
|
mocha,
|