linted 32.5.0-rc.0 → 32.5.0-rc.2
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/imports/index.d.ts +673 -3
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/index.js +6 -2
- package/dist/imports/index.js.map +1 -1
- package/dist/imports/parsers.d.ts +4 -2
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +3 -3
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +6 -8
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports/plugins.js +1 -1
- package/dist/imports/plugins.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -17
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/imports/index.ts +7 -2
- package/src/imports/parsers.ts +3 -3
- package/src/imports/plugins.ts +3 -3
- package/src/index.ts +10 -24
- package/tsconfig.json +3 -3
package/dist/imports/index.d.ts
CHANGED
|
@@ -1,3 +1,673 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
parsers: {
|
|
3
|
+
ts: NoInfer<typeof import("typescript-eslint").parser>;
|
|
4
|
+
html: typeof import("@html-eslint/parser");
|
|
5
|
+
yml: typeof import("yaml-eslint-parser");
|
|
6
|
+
};
|
|
7
|
+
plugins: {
|
|
8
|
+
"@stylistic": NoInfer<{
|
|
9
|
+
rules: import("@stylistic/eslint-plugin").Rules;
|
|
10
|
+
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
|
11
|
+
}>;
|
|
12
|
+
"@typescript-eslint": NoInfer<typeof import("typescript-eslint").plugin>;
|
|
13
|
+
mocha: {
|
|
14
|
+
rules: {
|
|
15
|
+
"handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
|
|
16
|
+
"max-top-level-suites": Readonly<import("eslint").Rule.RuleModule>;
|
|
17
|
+
"no-async-suite": Readonly<import("eslint").Rule.RuleModule>;
|
|
18
|
+
"no-exclusive-tests": Readonly<import("eslint").Rule.RuleModule>;
|
|
19
|
+
"no-exports": Readonly<import("eslint").Rule.RuleModule>;
|
|
20
|
+
"no-global-tests": Readonly<import("eslint").Rule.RuleModule>;
|
|
21
|
+
"no-hooks": Readonly<import("eslint").Rule.RuleModule>;
|
|
22
|
+
"no-hooks-for-single-case": Readonly<import("eslint").Rule.RuleModule>;
|
|
23
|
+
"no-identical-title": Readonly<import("eslint").Rule.RuleModule>;
|
|
24
|
+
"no-mocha-arrows": Readonly<import("eslint").Rule.RuleModule>;
|
|
25
|
+
"no-nested-tests": Readonly<import("eslint").Rule.RuleModule>;
|
|
26
|
+
"no-pending-tests": import("eslint").Rule.RuleModule;
|
|
27
|
+
"no-return-and-callback": Readonly<import("eslint").Rule.RuleModule>;
|
|
28
|
+
"no-return-from-async": Readonly<import("eslint").Rule.RuleModule>;
|
|
29
|
+
"no-setup-in-describe": Readonly<import("eslint").Rule.RuleModule>;
|
|
30
|
+
"no-sibling-hooks": Readonly<import("eslint").Rule.RuleModule>;
|
|
31
|
+
"no-synchronous-tests": Readonly<import("eslint").Rule.RuleModule>;
|
|
32
|
+
"no-top-level-hooks": Readonly<import("eslint").Rule.RuleModule>;
|
|
33
|
+
"prefer-arrow-callback": Readonly<import("eslint").Rule.RuleModule>;
|
|
34
|
+
"consistent-spacing-between-blocks": Readonly<import("eslint").Rule.RuleModule>;
|
|
35
|
+
"consistent-interface": Readonly<import("eslint").Rule.RuleModule>;
|
|
36
|
+
"valid-suite-title": Readonly<import("eslint").Rule.RuleModule>;
|
|
37
|
+
"valid-test-title": Readonly<import("eslint").Rule.RuleModule>;
|
|
38
|
+
"no-empty-title": Readonly<import("eslint").Rule.RuleModule>;
|
|
39
|
+
};
|
|
40
|
+
configs: {
|
|
41
|
+
all: {
|
|
42
|
+
name: string;
|
|
43
|
+
plugins: {
|
|
44
|
+
mocha: {};
|
|
45
|
+
};
|
|
46
|
+
languageOptions: {
|
|
47
|
+
globals: {
|
|
48
|
+
readonly after: false;
|
|
49
|
+
readonly afterEach: false;
|
|
50
|
+
readonly before: false;
|
|
51
|
+
readonly beforeEach: false;
|
|
52
|
+
readonly context: false;
|
|
53
|
+
readonly describe: false;
|
|
54
|
+
readonly it: false;
|
|
55
|
+
readonly mocha: false;
|
|
56
|
+
readonly run: false;
|
|
57
|
+
readonly setup: false;
|
|
58
|
+
readonly specify: false;
|
|
59
|
+
readonly suite: false;
|
|
60
|
+
readonly suiteSetup: false;
|
|
61
|
+
readonly suiteTeardown: false;
|
|
62
|
+
readonly teardown: false;
|
|
63
|
+
readonly test: false;
|
|
64
|
+
readonly xcontext: false;
|
|
65
|
+
readonly xdescribe: false;
|
|
66
|
+
readonly xit: false;
|
|
67
|
+
readonly xspecify: false;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
rules: import("eslint").Linter.RulesRecord;
|
|
71
|
+
};
|
|
72
|
+
recommended: {
|
|
73
|
+
name: string;
|
|
74
|
+
plugins: {
|
|
75
|
+
mocha: {};
|
|
76
|
+
};
|
|
77
|
+
languageOptions: {
|
|
78
|
+
globals: {
|
|
79
|
+
readonly after: false;
|
|
80
|
+
readonly afterEach: false;
|
|
81
|
+
readonly before: false;
|
|
82
|
+
readonly beforeEach: false;
|
|
83
|
+
readonly context: false;
|
|
84
|
+
readonly describe: false;
|
|
85
|
+
readonly it: false;
|
|
86
|
+
readonly mocha: false;
|
|
87
|
+
readonly run: false;
|
|
88
|
+
readonly setup: false;
|
|
89
|
+
readonly specify: false;
|
|
90
|
+
readonly suite: false;
|
|
91
|
+
readonly suiteSetup: false;
|
|
92
|
+
readonly suiteTeardown: false;
|
|
93
|
+
readonly teardown: false;
|
|
94
|
+
readonly test: false;
|
|
95
|
+
readonly xcontext: false;
|
|
96
|
+
readonly xdescribe: false;
|
|
97
|
+
readonly xit: false;
|
|
98
|
+
readonly xspecify: false;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
rules: import("eslint").Linter.RulesRecord;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
"chai-friendly": typeof import("eslint-plugin-chai-friendly");
|
|
106
|
+
"chai-expect": typeof import("eslint-plugin-chai-expect");
|
|
107
|
+
"@html-eslint": typeof import("@html-eslint/eslint-plugin/types");
|
|
108
|
+
css: typeof import("@eslint/css").default;
|
|
109
|
+
json: typeof import("@eslint/json").default;
|
|
110
|
+
jsonc: {
|
|
111
|
+
meta: typeof import("eslint-plugin-jsonc/meta");
|
|
112
|
+
configs: {
|
|
113
|
+
base: {
|
|
114
|
+
plugins: string[];
|
|
115
|
+
overrides: {
|
|
116
|
+
files: string[];
|
|
117
|
+
parser: string;
|
|
118
|
+
rules: {
|
|
119
|
+
strict: string;
|
|
120
|
+
"no-unused-expressions": string;
|
|
121
|
+
"no-unused-vars": string;
|
|
122
|
+
};
|
|
123
|
+
}[];
|
|
124
|
+
};
|
|
125
|
+
"auto-config": {
|
|
126
|
+
extends: string[];
|
|
127
|
+
rules: {
|
|
128
|
+
"jsonc/auto": string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
"recommended-with-json": {
|
|
132
|
+
extends: string[];
|
|
133
|
+
rules: {
|
|
134
|
+
"jsonc/comma-dangle": string;
|
|
135
|
+
"jsonc/no-bigint-literals": string;
|
|
136
|
+
"jsonc/no-binary-expression": string;
|
|
137
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
138
|
+
"jsonc/no-comments": 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-jsonc": {
|
|
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-floating-decimal": string;
|
|
174
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
175
|
+
"jsonc/no-infinity": string;
|
|
176
|
+
"jsonc/no-multi-str": string;
|
|
177
|
+
"jsonc/no-nan": string;
|
|
178
|
+
"jsonc/no-number-props": string;
|
|
179
|
+
"jsonc/no-numeric-separators": string;
|
|
180
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
181
|
+
"jsonc/no-octal": string;
|
|
182
|
+
"jsonc/no-parenthesized": string;
|
|
183
|
+
"jsonc/no-plus-sign": string;
|
|
184
|
+
"jsonc/no-regexp-literals": string;
|
|
185
|
+
"jsonc/no-sparse-arrays": string;
|
|
186
|
+
"jsonc/no-template-literals": string;
|
|
187
|
+
"jsonc/no-undefined-value": string;
|
|
188
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
189
|
+
"jsonc/no-useless-escape": string;
|
|
190
|
+
"jsonc/quote-props": string;
|
|
191
|
+
"jsonc/quotes": string;
|
|
192
|
+
"jsonc/space-unary-ops": string;
|
|
193
|
+
"jsonc/valid-json-number": string;
|
|
194
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
"recommended-with-json5": {
|
|
198
|
+
extends: string[];
|
|
199
|
+
rules: {
|
|
200
|
+
"jsonc/no-bigint-literals": string;
|
|
201
|
+
"jsonc/no-binary-expression": string;
|
|
202
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
203
|
+
"jsonc/no-dupe-keys": string;
|
|
204
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
205
|
+
"jsonc/no-number-props": string;
|
|
206
|
+
"jsonc/no-numeric-separators": string;
|
|
207
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
208
|
+
"jsonc/no-octal": string;
|
|
209
|
+
"jsonc/no-parenthesized": string;
|
|
210
|
+
"jsonc/no-regexp-literals": string;
|
|
211
|
+
"jsonc/no-sparse-arrays": string;
|
|
212
|
+
"jsonc/no-template-literals": string;
|
|
213
|
+
"jsonc/no-undefined-value": string;
|
|
214
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
215
|
+
"jsonc/no-useless-escape": string;
|
|
216
|
+
"jsonc/space-unary-ops": string;
|
|
217
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
prettier: {
|
|
221
|
+
extends: string[];
|
|
222
|
+
rules: {
|
|
223
|
+
"jsonc/array-bracket-newline": string;
|
|
224
|
+
"jsonc/array-bracket-spacing": string;
|
|
225
|
+
"jsonc/array-element-newline": string;
|
|
226
|
+
"jsonc/comma-dangle": string;
|
|
227
|
+
"jsonc/comma-style": string;
|
|
228
|
+
"jsonc/indent": string;
|
|
229
|
+
"jsonc/key-spacing": string;
|
|
230
|
+
"jsonc/no-floating-decimal": string;
|
|
231
|
+
"jsonc/object-curly-newline": string;
|
|
232
|
+
"jsonc/object-curly-spacing": string;
|
|
233
|
+
"jsonc/object-property-newline": string;
|
|
234
|
+
"jsonc/quote-props": string;
|
|
235
|
+
"jsonc/quotes": string;
|
|
236
|
+
"jsonc/space-unary-ops": string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
all: {
|
|
240
|
+
extends: string[];
|
|
241
|
+
rules: {
|
|
242
|
+
[x: string]: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
"flat/base": ({
|
|
246
|
+
plugins: {
|
|
247
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
248
|
+
};
|
|
249
|
+
files?: undefined;
|
|
250
|
+
languageOptions?: undefined;
|
|
251
|
+
rules?: undefined;
|
|
252
|
+
} | {
|
|
253
|
+
files: string[];
|
|
254
|
+
languageOptions: {
|
|
255
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
256
|
+
};
|
|
257
|
+
rules: {
|
|
258
|
+
strict: "off";
|
|
259
|
+
"no-unused-expressions": "off";
|
|
260
|
+
"no-unused-vars": "off";
|
|
261
|
+
};
|
|
262
|
+
plugins?: undefined;
|
|
263
|
+
})[];
|
|
264
|
+
"flat/recommended-with-json": ({
|
|
265
|
+
plugins: {
|
|
266
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
267
|
+
};
|
|
268
|
+
files?: undefined;
|
|
269
|
+
languageOptions?: undefined;
|
|
270
|
+
rules?: undefined;
|
|
271
|
+
} | {
|
|
272
|
+
files: string[];
|
|
273
|
+
languageOptions: {
|
|
274
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
275
|
+
};
|
|
276
|
+
rules: {
|
|
277
|
+
strict: "off";
|
|
278
|
+
"no-unused-expressions": "off";
|
|
279
|
+
"no-unused-vars": "off";
|
|
280
|
+
};
|
|
281
|
+
plugins?: undefined;
|
|
282
|
+
} | {
|
|
283
|
+
rules: {
|
|
284
|
+
"jsonc/comma-dangle": "error";
|
|
285
|
+
"jsonc/no-bigint-literals": "error";
|
|
286
|
+
"jsonc/no-binary-expression": "error";
|
|
287
|
+
"jsonc/no-binary-numeric-literals": "error";
|
|
288
|
+
"jsonc/no-comments": "error";
|
|
289
|
+
"jsonc/no-dupe-keys": "error";
|
|
290
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
291
|
+
"jsonc/no-floating-decimal": "error";
|
|
292
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
293
|
+
"jsonc/no-infinity": "error";
|
|
294
|
+
"jsonc/no-multi-str": "error";
|
|
295
|
+
"jsonc/no-nan": "error";
|
|
296
|
+
"jsonc/no-number-props": "error";
|
|
297
|
+
"jsonc/no-numeric-separators": "error";
|
|
298
|
+
"jsonc/no-octal-numeric-literals": "error";
|
|
299
|
+
"jsonc/no-octal": "error";
|
|
300
|
+
"jsonc/no-parenthesized": "error";
|
|
301
|
+
"jsonc/no-plus-sign": "error";
|
|
302
|
+
"jsonc/no-regexp-literals": "error";
|
|
303
|
+
"jsonc/no-sparse-arrays": "error";
|
|
304
|
+
"jsonc/no-template-literals": "error";
|
|
305
|
+
"jsonc/no-undefined-value": "error";
|
|
306
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
307
|
+
"jsonc/no-useless-escape": "error";
|
|
308
|
+
"jsonc/quote-props": "error";
|
|
309
|
+
"jsonc/quotes": "error";
|
|
310
|
+
"jsonc/space-unary-ops": "error";
|
|
311
|
+
"jsonc/valid-json-number": "error";
|
|
312
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
313
|
+
};
|
|
314
|
+
})[];
|
|
315
|
+
"flat/recommended-with-jsonc": ({
|
|
316
|
+
plugins: {
|
|
317
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
318
|
+
};
|
|
319
|
+
files?: undefined;
|
|
320
|
+
languageOptions?: undefined;
|
|
321
|
+
rules?: undefined;
|
|
322
|
+
} | {
|
|
323
|
+
files: string[];
|
|
324
|
+
languageOptions: {
|
|
325
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
326
|
+
};
|
|
327
|
+
rules: {
|
|
328
|
+
strict: "off";
|
|
329
|
+
"no-unused-expressions": "off";
|
|
330
|
+
"no-unused-vars": "off";
|
|
331
|
+
};
|
|
332
|
+
plugins?: undefined;
|
|
333
|
+
} | {
|
|
334
|
+
rules: {
|
|
335
|
+
"jsonc/no-bigint-literals": "error";
|
|
336
|
+
"jsonc/no-binary-expression": "error";
|
|
337
|
+
"jsonc/no-binary-numeric-literals": "error";
|
|
338
|
+
"jsonc/no-dupe-keys": "error";
|
|
339
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
340
|
+
"jsonc/no-floating-decimal": "error";
|
|
341
|
+
"jsonc/no-hexadecimal-numeric-literals": "error";
|
|
342
|
+
"jsonc/no-infinity": "error";
|
|
343
|
+
"jsonc/no-multi-str": "error";
|
|
344
|
+
"jsonc/no-nan": "error";
|
|
345
|
+
"jsonc/no-number-props": "error";
|
|
346
|
+
"jsonc/no-numeric-separators": "error";
|
|
347
|
+
"jsonc/no-octal-numeric-literals": "error";
|
|
348
|
+
"jsonc/no-octal": "error";
|
|
349
|
+
"jsonc/no-parenthesized": "error";
|
|
350
|
+
"jsonc/no-plus-sign": "error";
|
|
351
|
+
"jsonc/no-regexp-literals": "error";
|
|
352
|
+
"jsonc/no-sparse-arrays": "error";
|
|
353
|
+
"jsonc/no-template-literals": "error";
|
|
354
|
+
"jsonc/no-undefined-value": "error";
|
|
355
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
356
|
+
"jsonc/no-useless-escape": "error";
|
|
357
|
+
"jsonc/quote-props": "error";
|
|
358
|
+
"jsonc/quotes": "error";
|
|
359
|
+
"jsonc/space-unary-ops": "error";
|
|
360
|
+
"jsonc/valid-json-number": "error";
|
|
361
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
362
|
+
};
|
|
363
|
+
})[];
|
|
364
|
+
"flat/recommended-with-json5": ({
|
|
365
|
+
plugins: {
|
|
366
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
367
|
+
};
|
|
368
|
+
files?: undefined;
|
|
369
|
+
languageOptions?: undefined;
|
|
370
|
+
rules?: undefined;
|
|
371
|
+
} | {
|
|
372
|
+
files: string[];
|
|
373
|
+
languageOptions: {
|
|
374
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
375
|
+
};
|
|
376
|
+
rules: {
|
|
377
|
+
strict: "off";
|
|
378
|
+
"no-unused-expressions": "off";
|
|
379
|
+
"no-unused-vars": "off";
|
|
380
|
+
};
|
|
381
|
+
plugins?: undefined;
|
|
382
|
+
} | {
|
|
383
|
+
rules: {
|
|
384
|
+
"jsonc/no-bigint-literals": "error";
|
|
385
|
+
"jsonc/no-binary-expression": "error";
|
|
386
|
+
"jsonc/no-binary-numeric-literals": "error";
|
|
387
|
+
"jsonc/no-dupe-keys": "error";
|
|
388
|
+
"jsonc/no-escape-sequence-in-identifier": "error";
|
|
389
|
+
"jsonc/no-number-props": "error";
|
|
390
|
+
"jsonc/no-numeric-separators": "error";
|
|
391
|
+
"jsonc/no-octal-numeric-literals": "error";
|
|
392
|
+
"jsonc/no-octal": "error";
|
|
393
|
+
"jsonc/no-parenthesized": "error";
|
|
394
|
+
"jsonc/no-regexp-literals": "error";
|
|
395
|
+
"jsonc/no-sparse-arrays": "error";
|
|
396
|
+
"jsonc/no-template-literals": "error";
|
|
397
|
+
"jsonc/no-undefined-value": "error";
|
|
398
|
+
"jsonc/no-unicode-codepoint-escapes": "error";
|
|
399
|
+
"jsonc/no-useless-escape": "error";
|
|
400
|
+
"jsonc/space-unary-ops": "error";
|
|
401
|
+
"jsonc/vue-custom-block/no-parsing-error": "error";
|
|
402
|
+
};
|
|
403
|
+
})[];
|
|
404
|
+
"flat/prettier": ({
|
|
405
|
+
plugins: {
|
|
406
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
407
|
+
};
|
|
408
|
+
files?: undefined;
|
|
409
|
+
languageOptions?: undefined;
|
|
410
|
+
rules?: undefined;
|
|
411
|
+
} | {
|
|
412
|
+
files: string[];
|
|
413
|
+
languageOptions: {
|
|
414
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
415
|
+
};
|
|
416
|
+
rules: {
|
|
417
|
+
strict: "off";
|
|
418
|
+
"no-unused-expressions": "off";
|
|
419
|
+
"no-unused-vars": "off";
|
|
420
|
+
};
|
|
421
|
+
plugins?: undefined;
|
|
422
|
+
} | {
|
|
423
|
+
rules: {
|
|
424
|
+
"jsonc/array-bracket-newline": "off";
|
|
425
|
+
"jsonc/array-bracket-spacing": "off";
|
|
426
|
+
"jsonc/array-element-newline": "off";
|
|
427
|
+
"jsonc/comma-dangle": "off";
|
|
428
|
+
"jsonc/comma-style": "off";
|
|
429
|
+
"jsonc/indent": "off";
|
|
430
|
+
"jsonc/key-spacing": "off";
|
|
431
|
+
"jsonc/no-floating-decimal": "off";
|
|
432
|
+
"jsonc/object-curly-newline": "off";
|
|
433
|
+
"jsonc/object-curly-spacing": "off";
|
|
434
|
+
"jsonc/object-property-newline": "off";
|
|
435
|
+
"jsonc/quote-props": "off";
|
|
436
|
+
"jsonc/quotes": "off";
|
|
437
|
+
"jsonc/space-unary-ops": "off";
|
|
438
|
+
};
|
|
439
|
+
})[];
|
|
440
|
+
"flat/all": ({
|
|
441
|
+
plugins: {
|
|
442
|
+
readonly jsonc: import("eslint").ESLint.Plugin;
|
|
443
|
+
};
|
|
444
|
+
files?: undefined;
|
|
445
|
+
languageOptions?: undefined;
|
|
446
|
+
rules?: undefined;
|
|
447
|
+
} | {
|
|
448
|
+
files: string[];
|
|
449
|
+
languageOptions: {
|
|
450
|
+
parser: typeof import("jsonc-eslint-parser");
|
|
451
|
+
};
|
|
452
|
+
rules: {
|
|
453
|
+
strict: "off";
|
|
454
|
+
"no-unused-expressions": "off";
|
|
455
|
+
"no-unused-vars": "off";
|
|
456
|
+
};
|
|
457
|
+
plugins?: undefined;
|
|
458
|
+
} | {
|
|
459
|
+
rules: {
|
|
460
|
+
[rule: string]: import("eslint").Linter.RuleEntry<any[]>;
|
|
461
|
+
};
|
|
462
|
+
})[];
|
|
463
|
+
};
|
|
464
|
+
rules: {
|
|
465
|
+
[key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
|
|
466
|
+
};
|
|
467
|
+
parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
|
|
468
|
+
parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
|
|
469
|
+
traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
|
|
470
|
+
getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
|
|
471
|
+
};
|
|
472
|
+
yml: {
|
|
473
|
+
meta: typeof import("eslint-plugin-yml/lib/meta");
|
|
474
|
+
configs: {
|
|
475
|
+
base: {
|
|
476
|
+
plugins: string[];
|
|
477
|
+
overrides: {
|
|
478
|
+
files: string[];
|
|
479
|
+
parser: string;
|
|
480
|
+
rules: {
|
|
481
|
+
"no-irregular-whitespace": string;
|
|
482
|
+
"no-unused-vars": string;
|
|
483
|
+
"spaced-comment": string;
|
|
484
|
+
};
|
|
485
|
+
}[];
|
|
486
|
+
};
|
|
487
|
+
recommended: {
|
|
488
|
+
extends: string[];
|
|
489
|
+
rules: {
|
|
490
|
+
"yml/no-empty-document": string;
|
|
491
|
+
"yml/no-empty-key": string;
|
|
492
|
+
"yml/no-empty-mapping-value": string;
|
|
493
|
+
"yml/no-empty-sequence-entry": string;
|
|
494
|
+
"yml/no-irregular-whitespace": string;
|
|
495
|
+
"yml/no-tab-indent": string;
|
|
496
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
standard: {
|
|
500
|
+
extends: string[];
|
|
501
|
+
rules: {
|
|
502
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
503
|
+
"yml/block-mapping": string;
|
|
504
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
505
|
+
"yml/block-sequence": string;
|
|
506
|
+
"yml/flow-mapping-curly-newline": string;
|
|
507
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
508
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
509
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
510
|
+
"yml/indent": string;
|
|
511
|
+
"yml/key-spacing": string;
|
|
512
|
+
"yml/no-empty-document": string;
|
|
513
|
+
"yml/no-empty-key": string;
|
|
514
|
+
"yml/no-empty-mapping-value": string;
|
|
515
|
+
"yml/no-empty-sequence-entry": string;
|
|
516
|
+
"yml/no-irregular-whitespace": string;
|
|
517
|
+
"yml/no-tab-indent": string;
|
|
518
|
+
"yml/plain-scalar": string;
|
|
519
|
+
"yml/quotes": string;
|
|
520
|
+
"yml/spaced-comment": string;
|
|
521
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
prettier: {
|
|
525
|
+
extends: string[];
|
|
526
|
+
rules: {
|
|
527
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
|
528
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
529
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
530
|
+
"yml/flow-mapping-curly-newline": string;
|
|
531
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
532
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
533
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
534
|
+
"yml/indent": string;
|
|
535
|
+
"yml/key-spacing": string;
|
|
536
|
+
"yml/no-multiple-empty-lines": string;
|
|
537
|
+
"yml/no-trailing-zeros": string;
|
|
538
|
+
"yml/quotes": string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
"flat/base": ({
|
|
542
|
+
plugins: {
|
|
543
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
|
544
|
+
};
|
|
545
|
+
files?: undefined;
|
|
546
|
+
languageOptions?: undefined;
|
|
547
|
+
rules?: undefined;
|
|
548
|
+
} | {
|
|
549
|
+
files: string[];
|
|
550
|
+
languageOptions: {
|
|
551
|
+
parser: typeof import("yaml-eslint-parser");
|
|
552
|
+
};
|
|
553
|
+
rules: {
|
|
554
|
+
"no-irregular-whitespace": "off";
|
|
555
|
+
"no-unused-vars": "off";
|
|
556
|
+
"spaced-comment": "off";
|
|
557
|
+
};
|
|
558
|
+
plugins?: undefined;
|
|
559
|
+
})[];
|
|
560
|
+
"flat/recommended": ({
|
|
561
|
+
plugins: {
|
|
562
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
|
563
|
+
};
|
|
564
|
+
files?: undefined;
|
|
565
|
+
languageOptions?: undefined;
|
|
566
|
+
rules?: undefined;
|
|
567
|
+
} | {
|
|
568
|
+
files: string[];
|
|
569
|
+
languageOptions: {
|
|
570
|
+
parser: typeof import("yaml-eslint-parser");
|
|
571
|
+
};
|
|
572
|
+
rules: {
|
|
573
|
+
"no-irregular-whitespace": "off";
|
|
574
|
+
"no-unused-vars": "off";
|
|
575
|
+
"spaced-comment": "off";
|
|
576
|
+
};
|
|
577
|
+
plugins?: undefined;
|
|
578
|
+
} | {
|
|
579
|
+
rules: {
|
|
580
|
+
"yml/no-empty-document": "error";
|
|
581
|
+
"yml/no-empty-key": "error";
|
|
582
|
+
"yml/no-empty-mapping-value": "error";
|
|
583
|
+
"yml/no-empty-sequence-entry": "error";
|
|
584
|
+
"yml/no-irregular-whitespace": "error";
|
|
585
|
+
"yml/no-tab-indent": "error";
|
|
586
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
|
587
|
+
};
|
|
588
|
+
})[];
|
|
589
|
+
"flat/standard": ({
|
|
590
|
+
plugins: {
|
|
591
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
|
592
|
+
};
|
|
593
|
+
files?: undefined;
|
|
594
|
+
languageOptions?: undefined;
|
|
595
|
+
rules?: undefined;
|
|
596
|
+
} | {
|
|
597
|
+
files: string[];
|
|
598
|
+
languageOptions: {
|
|
599
|
+
parser: typeof import("yaml-eslint-parser");
|
|
600
|
+
};
|
|
601
|
+
rules: {
|
|
602
|
+
"no-irregular-whitespace": "off";
|
|
603
|
+
"no-unused-vars": "off";
|
|
604
|
+
"spaced-comment": "off";
|
|
605
|
+
};
|
|
606
|
+
plugins?: undefined;
|
|
607
|
+
} | {
|
|
608
|
+
rules: {
|
|
609
|
+
"yml/block-mapping-question-indicator-newline": "error";
|
|
610
|
+
"yml/block-mapping": "error";
|
|
611
|
+
"yml/block-sequence-hyphen-indicator-newline": "error";
|
|
612
|
+
"yml/block-sequence": "error";
|
|
613
|
+
"yml/flow-mapping-curly-newline": "error";
|
|
614
|
+
"yml/flow-mapping-curly-spacing": "error";
|
|
615
|
+
"yml/flow-sequence-bracket-newline": "error";
|
|
616
|
+
"yml/flow-sequence-bracket-spacing": "error";
|
|
617
|
+
"yml/indent": "error";
|
|
618
|
+
"yml/key-spacing": "error";
|
|
619
|
+
"yml/no-empty-document": "error";
|
|
620
|
+
"yml/no-empty-key": "error";
|
|
621
|
+
"yml/no-empty-mapping-value": "error";
|
|
622
|
+
"yml/no-empty-sequence-entry": "error";
|
|
623
|
+
"yml/no-irregular-whitespace": "error";
|
|
624
|
+
"yml/no-tab-indent": "error";
|
|
625
|
+
"yml/plain-scalar": "error";
|
|
626
|
+
"yml/quotes": "error";
|
|
627
|
+
"yml/spaced-comment": "error";
|
|
628
|
+
"yml/vue-custom-block/no-parsing-error": "error";
|
|
629
|
+
};
|
|
630
|
+
})[];
|
|
631
|
+
"flat/prettier": ({
|
|
632
|
+
plugins: {
|
|
633
|
+
readonly yml: import("eslint").ESLint.Plugin;
|
|
634
|
+
};
|
|
635
|
+
files?: undefined;
|
|
636
|
+
languageOptions?: undefined;
|
|
637
|
+
rules?: undefined;
|
|
638
|
+
} | {
|
|
639
|
+
files: string[];
|
|
640
|
+
languageOptions: {
|
|
641
|
+
parser: typeof import("yaml-eslint-parser");
|
|
642
|
+
};
|
|
643
|
+
rules: {
|
|
644
|
+
"no-irregular-whitespace": "off";
|
|
645
|
+
"no-unused-vars": "off";
|
|
646
|
+
"spaced-comment": "off";
|
|
647
|
+
};
|
|
648
|
+
plugins?: undefined;
|
|
649
|
+
} | {
|
|
650
|
+
rules: {
|
|
651
|
+
"yml/block-mapping-colon-indicator-newline": "off";
|
|
652
|
+
"yml/block-mapping-question-indicator-newline": "off";
|
|
653
|
+
"yml/block-sequence-hyphen-indicator-newline": "off";
|
|
654
|
+
"yml/flow-mapping-curly-newline": "off";
|
|
655
|
+
"yml/flow-mapping-curly-spacing": "off";
|
|
656
|
+
"yml/flow-sequence-bracket-newline": "off";
|
|
657
|
+
"yml/flow-sequence-bracket-spacing": "off";
|
|
658
|
+
"yml/indent": "off";
|
|
659
|
+
"yml/key-spacing": "off";
|
|
660
|
+
"yml/no-multiple-empty-lines": "off";
|
|
661
|
+
"yml/no-trailing-zeros": "off";
|
|
662
|
+
"yml/quotes": "off";
|
|
663
|
+
};
|
|
664
|
+
})[];
|
|
665
|
+
};
|
|
666
|
+
rules: {
|
|
667
|
+
[key: string]: import("eslint-plugin-yml/lib/types").RuleModule;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
export default _default;
|
|
673
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAO06oB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAl50B,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;;;;;;;;;;;;;;;;;;;;;;;;AAJ7gN,wBAGE"}
|
package/dist/imports/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,eAAe;IACb,OAAO;IACP,OAAO;CACR,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { parser as ts } from "typescript-eslint";
|
|
1
2
|
import html from "@html-eslint/parser";
|
|
2
3
|
import yml from "yaml-eslint-parser";
|
|
3
|
-
|
|
4
|
-
ts:
|
|
4
|
+
declare const _default: {
|
|
5
|
+
ts: NoInfer<typeof ts>;
|
|
5
6
|
html: typeof html;
|
|
6
7
|
yml: typeof yml;
|
|
7
8
|
};
|
|
9
|
+
export default _default;
|
|
8
10
|
//# sourceMappingURL=parsers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;;QAGzB,OAAO,CAAC,OAAO,EAAE,CAAC;;;;AAD9B,wBAIE"}
|
package/dist/imports/parsers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { parser as
|
|
1
|
+
import { parser as ts } from "typescript-eslint";
|
|
2
2
|
import html from "@html-eslint/parser";
|
|
3
3
|
import yml from "yaml-eslint-parser";
|
|
4
|
-
export
|
|
5
|
-
ts:
|
|
4
|
+
export default {
|
|
5
|
+
ts: ts,
|
|
6
6
|
html,
|
|
7
7
|
yml,
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE,EAAE,EAAwB;IAC5B,IAAI;IACJ,GAAG;CACJ,CAAC"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
2
|
+
import { plugin as typescript_eslint } from "typescript-eslint";
|
|
1
3
|
import chai_friendly from "eslint-plugin-chai-friendly";
|
|
2
4
|
import chai_expect from "eslint-plugin-chai-expect";
|
|
3
5
|
import html_eslint from "@html-eslint/eslint-plugin";
|
|
4
6
|
import css from "@eslint/css";
|
|
5
7
|
import json from "@eslint/json";
|
|
6
|
-
|
|
7
|
-
"@stylistic":
|
|
8
|
-
|
|
9
|
-
configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
|
|
10
|
-
};
|
|
11
|
-
"@typescript-eslint": {
|
|
12
|
-
configs: unknown;
|
|
13
|
-
};
|
|
8
|
+
declare const _default: {
|
|
9
|
+
"@stylistic": NoInfer<typeof stylistic>;
|
|
10
|
+
"@typescript-eslint": NoInfer<typeof typescript_eslint>;
|
|
14
11
|
mocha: {
|
|
15
12
|
rules: {
|
|
16
13
|
"handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
|
|
@@ -669,4 +666,5 @@ export declare const plugins: {
|
|
|
669
666
|
};
|
|
670
667
|
};
|
|
671
668
|
};
|
|
669
|
+
export default _default;
|
|
672
670
|
//# sourceMappingURL=plugins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings":"
|
|
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,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,WAAW,MAAM,2BAA2B,CAAC;AACpD,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;;kBAKH,OAAO,CAAC,OAAO,SAAS,CAAC;0BACT,OAAO,CAAC,OAAO,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAUutnB,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;;;;;;;;;;;;;;;;;;;;;;;AAZx4L,wBAWE"}
|
package/dist/imports/plugins.js
CHANGED
|
@@ -8,7 +8,7 @@ import css from "@eslint/css";
|
|
|
8
8
|
import json from "@eslint/json";
|
|
9
9
|
import jsonc from "eslint-plugin-jsonc";
|
|
10
10
|
import yml from "eslint-plugin-yml";
|
|
11
|
-
export
|
|
11
|
+
export default {
|
|
12
12
|
"@stylistic": stylistic,
|
|
13
13
|
"@typescript-eslint": typescript_eslint,
|
|
14
14
|
mocha,
|
|
@@ -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,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,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,
|
|
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,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,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,eAAe;IACb,YAAY,EAAE,SAAsC;IACpD,oBAAoB,EAAE,iBAAsD;IAC5E,KAAK;IACL,eAAe,EAAE,aAAa;IAC9B,aAAa,EAAE,WAAW;IAC1B,cAAc,EAAE,WAAW;IAC3B,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import Core from "@eslinted/core";
|
|
2
|
-
export default function (extensions?: Parameters<typeof Core>[0]["configuration"]["extensions"]
|
|
2
|
+
export default function (extensions?: Parameters<typeof Core>[0]["configuration"]["extensions"]): unknown[];
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
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,IAAI,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAIlC,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,YAAY,CAAM,aAW3E"}
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import Core from "@eslinted/core";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export default function (extensions = {}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
attachments,
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
catch (e) {
|
|
17
|
-
throw TypeError("linted: ", { cause: e });
|
|
18
|
-
}
|
|
2
|
+
import defaults from "@eslinted/defaults";
|
|
3
|
+
import imports from "./imports/index.js";
|
|
4
|
+
export default function (extensions = {}) {
|
|
5
|
+
return Core({
|
|
6
|
+
imports,
|
|
7
|
+
configuration: {
|
|
8
|
+
defaults,
|
|
9
|
+
extensions,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
19
12
|
}
|
|
20
13
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAC1C,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,WACZ,aAAwE,EAAE;IAE1E,OAAO,IAAI,CACT;QACE,OAAO;QACP,aAAa,EAAE;YACb,QAAQ;YACR,UAAU;SACX;KACF,CACF,CAAC;AACJ,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": "32.5.0-rc.
|
|
6
|
+
"version": "32.5.0-rc.2",
|
|
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": [
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@eslint/css": "0.13.0",
|
|
55
55
|
"@eslint/json": "0.13.2",
|
|
56
|
-
"@eslinted/core": "
|
|
57
|
-
"@eslinted/defaults": "
|
|
56
|
+
"@eslinted/core": "26.0.0-rc.1",
|
|
57
|
+
"@eslinted/defaults": "14.0.0-rc.0",
|
|
58
58
|
"@html-eslint/eslint-plugin": "0.47.0",
|
|
59
59
|
"@stylistic/eslint-plugin": "5.4.0",
|
|
60
60
|
"eslint-plugin-chai-expect": "3.1.0",
|
package/src/imports/index.ts
CHANGED
package/src/imports/parsers.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { parser as
|
|
1
|
+
import { parser as ts } from "typescript-eslint";
|
|
2
2
|
import html from "@html-eslint/parser";
|
|
3
3
|
import yml from "yaml-eslint-parser";
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
ts:
|
|
5
|
+
export default {
|
|
6
|
+
ts: ts as NoInfer<typeof ts>,
|
|
7
7
|
html,
|
|
8
8
|
yml,
|
|
9
9
|
};
|
package/src/imports/plugins.ts
CHANGED
|
@@ -9,9 +9,9 @@ import json from "@eslint/json";
|
|
|
9
9
|
import jsonc from "eslint-plugin-jsonc";
|
|
10
10
|
import yml from "eslint-plugin-yml";
|
|
11
11
|
|
|
12
|
-
export
|
|
13
|
-
"@stylistic": stylistic
|
|
14
|
-
"@typescript-eslint": typescript_eslint as
|
|
12
|
+
export default {
|
|
13
|
+
"@stylistic": stylistic as NoInfer<typeof stylistic>,
|
|
14
|
+
"@typescript-eslint": typescript_eslint as NoInfer<typeof typescript_eslint>,
|
|
15
15
|
mocha,
|
|
16
16
|
"chai-friendly": chai_friendly,
|
|
17
17
|
"chai-expect": chai_expect,
|
package/src/index.ts
CHANGED
|
@@ -1,31 +1,17 @@
|
|
|
1
1
|
import Core from "@eslinted/core";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
defaults,
|
|
5
|
-
} from "@eslinted/defaults";
|
|
6
|
-
import * as imports from "./imports";
|
|
2
|
+
import defaults from "@eslinted/defaults";
|
|
3
|
+
import imports from "./imports";
|
|
7
4
|
|
|
8
5
|
export default function (
|
|
9
6
|
extensions: Parameters<typeof Core>[0]["configuration"]["extensions"] = {},
|
|
10
|
-
...attachments: Parameters<typeof Core>[0]["configuration"]["attachments"]
|
|
11
7
|
) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
defaults,
|
|
19
|
-
extensions,
|
|
20
|
-
attachments,
|
|
21
|
-
},
|
|
8
|
+
return Core(
|
|
9
|
+
{
|
|
10
|
+
imports,
|
|
11
|
+
configuration: {
|
|
12
|
+
defaults,
|
|
13
|
+
extensions,
|
|
22
14
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
catch (e) {
|
|
26
|
-
throw TypeError(
|
|
27
|
-
"linted: ",
|
|
28
|
-
{ cause: e },
|
|
29
|
-
);
|
|
30
|
-
}
|
|
15
|
+
},
|
|
16
|
+
);
|
|
31
17
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"display": "tsc@509.
|
|
2
|
+
"display": "tsc@509.3.0",
|
|
3
3
|
"include": [
|
|
4
4
|
"src/**/*.ts",
|
|
5
5
|
"typings/**/*.d.ts",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
// "allowJs": true,
|
|
45
45
|
// "checkJs": true,
|
|
46
46
|
// "isolatedDeclarations": false,
|
|
47
|
-
"verbatimModuleSyntax": true,
|
|
47
|
+
// "verbatimModuleSyntax": true,
|
|
48
48
|
"lib": [
|
|
49
49
|
"esnext",
|
|
50
50
|
/* {CONFIGURE} */
|
|
51
51
|
],
|
|
52
52
|
"target": "esnext",
|
|
53
53
|
// "composite": true,
|
|
54
|
-
"skipLibCheck": true
|
|
54
|
+
// "skipLibCheck": true,
|
|
55
55
|
},
|
|
56
56
|
}
|