linted 21.0.0-rc.1 → 21.0.0-rc.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/imports/index.d.ts +1 -363
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/parsers.d.ts +0 -2
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +0 -2
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +2 -362
- 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 +6 -145
- 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 +1 -2
- 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 +1 -2
- package/dist/rules/js/stylistic.js.map +1 -1
- package/dist/rules/json/enable.d.ts +1 -25
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +2 -27
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/enable_x.d.ts +2 -46
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +3 -75
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json/index.d.ts +3 -71
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +5 -2
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +3 -77
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js +1 -2
- package/dist/rules/jsonc/index.js.map +1 -1
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +3 -4
- package/src/imports/parsers.ts +0 -2
- 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 +5 -6
- package/src/rules/js/index.ts +4 -1
- package/src/rules/js/stylistic.ts +5 -6
- package/src/rules/json/enable.ts +4 -27
- package/src/rules/json/enable_x.ts +6 -87
- package/src/rules/json/index.ts +5 -2
- package/src/rules/jsonc/index.ts +1 -2
- 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 +5 -6
- 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 +7 -5
- package/src/rules/ts/enable_x.ts +7 -5
- package/src/rules/yml/enable.ts +8 -5
- package/src/rules/yml/enable_x.ts +7 -5
- package/src/rules/yml/index.ts +4 -1
- package/dist/rules/jsonc/override.d.ts +0 -6
- package/dist/rules/jsonc/override.d.ts.map +0 -1
- package/dist/rules/jsonc/override.js +0 -13
- package/dist/rules/jsonc/override.js.map +0 -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/jsonc/override.ts +0 -16
- package/src/rules/mocha/base.ts +0 -7
- package/src/rules/mochaJs/index.ts +0 -7
@@ -1,4 +1,5 @@
|
|
1
1
|
import mocha from "eslint-plugin-mocha";
|
2
|
+
import json from "@eslint/json";
|
2
3
|
declare const _default: {
|
3
4
|
readonly "@stylistic": {
|
4
5
|
rules: import("@stylistic/eslint-plugin").Rules;
|
@@ -75,368 +76,7 @@ declare const _default: {
|
|
75
76
|
};
|
76
77
|
};
|
77
78
|
};
|
78
|
-
readonly
|
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
|
-
};
|
79
|
+
readonly json: typeof json;
|
440
80
|
readonly yml: {
|
441
81
|
meta: typeof import("eslint-plugin-yml/lib/meta");
|
442
82
|
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;AAExC,OAAO,IAAI,MAAM,cAAc,CAAC;;;;;;mCAKwB;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAOq3E,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;;;;;;;;;;;;;;;;;;;;;;;AAT9mM,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 json from "@eslint/json";
|
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
|
+
json,
|
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,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAe;IACb,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAoD;IAC1E,MAAM;IACN,KAAK;IACL,cAAc,EAAE,WAAW;IAC3B,IAAI;IACJ,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"}
|
package/dist/rules/index.d.ts
CHANGED
@@ -4338,152 +4338,13 @@ declare const _default: {
|
|
4338
4338
|
}])[];
|
4339
4339
|
html: (readonly ["enable", Partial<Record<"@html-eslint/require-lang" | "@html-eslint/require-img-alt" | "@html-eslint/require-doctype" | "@html-eslint/require-title" | "@html-eslint/no-duplicate-id" | "@html-eslint/no-inline-styles" | "@html-eslint/no-multiple-h1" | "@html-eslint/no-extra-spacing-attrs" | "@html-eslint/no-extra-spacing-text" | "@html-eslint/attrs-newline" | "@html-eslint/element-newline" | "@html-eslint/no-skip-heading-levels" | "@html-eslint/require-li-container" | "@html-eslint/indent" | "@html-eslint/quotes" | "@html-eslint/id-naming-convention" | "@html-eslint/no-obsolete-tags" | "@html-eslint/require-attrs" | "@html-eslint/require-closing-tags" | "@html-eslint/require-meta-description" | "@html-eslint/require-frame-title" | "@html-eslint/no-non-scalable-viewport" | "@html-eslint/no-positive-tabindex" | "@html-eslint/require-meta-viewport" | "@html-eslint/require-meta-charset" | "@html-eslint/no-target-blank" | "@html-eslint/no-duplicate-attrs" | "@html-eslint/no-abstract-roles" | "@html-eslint/require-button-type" | "@html-eslint/no-aria-hidden-body" | "@html-eslint/no-multiple-empty-lines" | "@html-eslint/no-accesskey-attrs" | "@html-eslint/no-restricted-attrs" | "@html-eslint/no-trailing-spaces" | "@html-eslint/no-restricted-attr-values" | "@html-eslint/no-script-style-type" | "@html-eslint/lowercase" | "@html-eslint/require-open-graph-protocol" | "@html-eslint/sort-attrs", unknown>>])[];
|
4340
4340
|
json: (readonly ["enable-extend", {
|
4341
|
-
readonly "
|
4342
|
-
readonly "
|
4343
|
-
|
4344
|
-
readonly objectsInArrays: false;
|
4345
|
-
readonly arraysInArrays: false;
|
4346
|
-
}];
|
4347
|
-
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
4348
|
-
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
4349
|
-
readonly "jsonc/comma-style": readonly ["error", "last"];
|
4350
|
-
readonly "jsonc/indent": readonly ["error", 2];
|
4351
|
-
readonly "jsonc/key-spacing": readonly ["error", {
|
4352
|
-
readonly beforeColon: false;
|
4353
|
-
readonly afterColon: true;
|
4354
|
-
readonly mode: "strict";
|
4355
|
-
}];
|
4356
|
-
readonly "jsonc/no-dupe-keys": "error";
|
4357
|
-
readonly "jsonc/no-floating-decimal": "error";
|
4358
|
-
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
4359
|
-
readonly skipStrings: true;
|
4360
|
-
readonly skipComments: true;
|
4361
|
-
readonly skipRegExps: true;
|
4362
|
-
readonly skipTemplates: true;
|
4363
|
-
readonly skipJSXText: true;
|
4364
|
-
}];
|
4365
|
-
readonly "jsonc/no-multi-str": "error";
|
4366
|
-
readonly "jsonc/no-octal-escape": "error";
|
4367
|
-
readonly "jsonc/no-octal": "error";
|
4368
|
-
readonly "jsonc/no-sparse-arrays": "error";
|
4369
|
-
readonly "jsonc/no-useless-escape": "error";
|
4370
|
-
readonly "jsonc/object-curly-newline": readonly ["error", {
|
4371
|
-
readonly consistent: true;
|
4372
|
-
readonly multiline: true;
|
4373
|
-
readonly minProperties: 4;
|
4374
|
-
}];
|
4375
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
4376
|
-
readonly arraysInObjects: true;
|
4377
|
-
readonly objectsInObjects: true;
|
4378
|
-
}];
|
4379
|
-
readonly "jsonc/object-property-newline": readonly ["error", {
|
4380
|
-
readonly allowAllPropertiesOnSameLine: true;
|
4381
|
-
}];
|
4382
|
-
readonly "jsonc/quote-props": readonly ["error", "always"];
|
4383
|
-
readonly "jsonc/quotes": readonly ["error", "double", {
|
4384
|
-
readonly avoidEscape: false;
|
4385
|
-
}];
|
4386
|
-
readonly "jsonc/space-unary-ops": "error";
|
4387
|
-
}] | readonly ["enable", {
|
4388
|
-
readonly "jsonc/auto": "off";
|
4389
|
-
readonly "jsonc/key-name-casing": "off";
|
4390
|
-
readonly "jsonc/no-bigint-literals": "error";
|
4391
|
-
readonly "jsonc/no-binary-expression": "error";
|
4392
|
-
readonly "jsonc/no-binary-numeric-literals": "error";
|
4393
|
-
readonly "jsonc/no-comments": "error";
|
4394
|
-
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
4395
|
-
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
4396
|
-
readonly "jsonc/no-infinity": "error";
|
4397
|
-
readonly "jsonc/no-nan": "error";
|
4398
|
-
readonly "jsonc/no-number-props": "error";
|
4399
|
-
readonly "jsonc/no-numeric-separators": "error";
|
4400
|
-
readonly "jsonc/no-octal-numeric-literals": "error";
|
4401
|
-
readonly "jsonc/no-parenthesized": "error";
|
4402
|
-
readonly "jsonc/no-plus-sign": "error";
|
4403
|
-
readonly "jsonc/no-regexp-literals": "error";
|
4404
|
-
readonly "jsonc/no-template-literals": "error";
|
4405
|
-
readonly "jsonc/no-undefined-value": "error";
|
4406
|
-
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
4407
|
-
readonly "jsonc/sort-array-values": "off";
|
4408
|
-
readonly "jsonc/sort-keys": "off";
|
4409
|
-
readonly "jsonc/valid-json-number": "error";
|
4410
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
4411
|
-
}])[];
|
4341
|
+
readonly "json/no-duplicate-keys": "error";
|
4342
|
+
readonly "json/no-empty-keys": "off";
|
4343
|
+
}] | readonly ["enable", {}])[];
|
4412
4344
|
jsonc: (readonly ["enable-extend", {
|
4413
|
-
readonly "
|
4414
|
-
readonly "
|
4415
|
-
|
4416
|
-
readonly objectsInArrays: false;
|
4417
|
-
readonly arraysInArrays: false;
|
4418
|
-
}];
|
4419
|
-
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
4420
|
-
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
4421
|
-
readonly "jsonc/comma-style": readonly ["error", "last"];
|
4422
|
-
readonly "jsonc/indent": readonly ["error", 2];
|
4423
|
-
readonly "jsonc/key-spacing": readonly ["error", {
|
4424
|
-
readonly beforeColon: false;
|
4425
|
-
readonly afterColon: true;
|
4426
|
-
readonly mode: "strict";
|
4427
|
-
}];
|
4428
|
-
readonly "jsonc/no-dupe-keys": "error";
|
4429
|
-
readonly "jsonc/no-floating-decimal": "error";
|
4430
|
-
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
4431
|
-
readonly skipStrings: true;
|
4432
|
-
readonly skipComments: true;
|
4433
|
-
readonly skipRegExps: true;
|
4434
|
-
readonly skipTemplates: true;
|
4435
|
-
readonly skipJSXText: true;
|
4436
|
-
}];
|
4437
|
-
readonly "jsonc/no-multi-str": "error";
|
4438
|
-
readonly "jsonc/no-octal-escape": "error";
|
4439
|
-
readonly "jsonc/no-octal": "error";
|
4440
|
-
readonly "jsonc/no-sparse-arrays": "error";
|
4441
|
-
readonly "jsonc/no-useless-escape": "error";
|
4442
|
-
readonly "jsonc/object-curly-newline": readonly ["error", {
|
4443
|
-
readonly consistent: true;
|
4444
|
-
readonly multiline: true;
|
4445
|
-
readonly minProperties: 4;
|
4446
|
-
}];
|
4447
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
4448
|
-
readonly arraysInObjects: true;
|
4449
|
-
readonly objectsInObjects: true;
|
4450
|
-
}];
|
4451
|
-
readonly "jsonc/object-property-newline": readonly ["error", {
|
4452
|
-
readonly allowAllPropertiesOnSameLine: true;
|
4453
|
-
}];
|
4454
|
-
readonly "jsonc/quote-props": readonly ["error", "always"];
|
4455
|
-
readonly "jsonc/quotes": readonly ["error", "double", {
|
4456
|
-
readonly avoidEscape: false;
|
4457
|
-
}];
|
4458
|
-
readonly "jsonc/space-unary-ops": "error";
|
4459
|
-
}] | readonly ["enable", {
|
4460
|
-
readonly "jsonc/auto": "off";
|
4461
|
-
readonly "jsonc/key-name-casing": "off";
|
4462
|
-
readonly "jsonc/no-bigint-literals": "error";
|
4463
|
-
readonly "jsonc/no-binary-expression": "error";
|
4464
|
-
readonly "jsonc/no-binary-numeric-literals": "error";
|
4465
|
-
readonly "jsonc/no-comments": "error";
|
4466
|
-
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
4467
|
-
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
4468
|
-
readonly "jsonc/no-infinity": "error";
|
4469
|
-
readonly "jsonc/no-nan": "error";
|
4470
|
-
readonly "jsonc/no-number-props": "error";
|
4471
|
-
readonly "jsonc/no-numeric-separators": "error";
|
4472
|
-
readonly "jsonc/no-octal-numeric-literals": "error";
|
4473
|
-
readonly "jsonc/no-parenthesized": "error";
|
4474
|
-
readonly "jsonc/no-plus-sign": "error";
|
4475
|
-
readonly "jsonc/no-regexp-literals": "error";
|
4476
|
-
readonly "jsonc/no-template-literals": "error";
|
4477
|
-
readonly "jsonc/no-undefined-value": "error";
|
4478
|
-
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
4479
|
-
readonly "jsonc/sort-array-values": "off";
|
4480
|
-
readonly "jsonc/sort-keys": "off";
|
4481
|
-
readonly "jsonc/valid-json-number": "error";
|
4482
|
-
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
4483
|
-
}] | readonly ["override", {
|
4484
|
-
readonly "jsonc/no-comments": "off";
|
4485
|
-
readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
|
4486
|
-
}])[];
|
4345
|
+
readonly "json/no-duplicate-keys": "error";
|
4346
|
+
readonly "json/no-empty-keys": "off";
|
4347
|
+
}] | readonly ["enable", {}])[];
|
4487
4348
|
yml: (readonly ["enable-extend", {
|
4488
4349
|
readonly "yml/flow-mapping-curly-newline": readonly ["error", {
|
4489
4350
|
readonly consistent: false;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/js/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,wBA4fW"}
|
package/dist/rules/js/enable.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
import { enable,
|
2
|
-
const { ERROR, OFF } = level, { Never, Always, AsNeeded, Consecutive, Allow, All, Multi, Both, } = state;
|
1
|
+
import { enable, ERROR, OFF, Never, Always, AsNeeded, Consecutive, Allow, All, Multi, Both, } from "../../_strings/index.js";
|
3
2
|
export default [
|
4
3
|
enable,
|
5
4
|
{
|