@zinkawaii/eslint-config 0.1.5 → 0.1.7

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/index.cjs ADDED
@@ -0,0 +1,768 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/index.ts
20
+ var src_exports = {};
21
+ __export(src_exports, {
22
+ default: () => src_default
23
+ });
24
+ module.exports = __toCommonJS(src_exports);
25
+
26
+ // src/utils.ts
27
+ function prefixary(prefix, rules) {
28
+ return typeof prefix === "object" ? prefix : Object.fromEntries(
29
+ Object.entries(rules).map(([key, value]) => {
30
+ return [`${prefix}/${key}`, value];
31
+ })
32
+ );
33
+ }
34
+
35
+ // src/lib/patch.ts
36
+ var patch_default = prefixary({
37
+ "antfu/curly": "off",
38
+ "antfu/if-newline": "off",
39
+ "antfu/no-import-dist": "off",
40
+ "antfu/top-level-function": "off",
41
+ "node/prefer-global/process": "off",
42
+ "perfectionist/sort-imports": ["warn", {
43
+ groups: [
44
+ "builtin",
45
+ "external",
46
+ "external-type",
47
+ "internal",
48
+ "internal-type",
49
+ ["parent", "sibling", "index"],
50
+ ["parent-type", "sibling-type", "index-type"],
51
+ "object",
52
+ "unknown"
53
+ ],
54
+ internalPattern: [
55
+ "#**",
56
+ "#**/**",
57
+ "@/**",
58
+ "@@/**",
59
+ "~/**",
60
+ "~~/**"
61
+ ],
62
+ newlinesBetween: "never"
63
+ }],
64
+ "ts/no-unused-expressions": "off",
65
+ "unicorn/no-new-array": "off",
66
+ "unicorn/consistent-function-scoping": "off",
67
+ "unused-imports/no-unused-vars": "off"
68
+ });
69
+
70
+ // src/lib/recommended.ts
71
+ var recommended_default = prefixary({
72
+ "constructor-super": "warn",
73
+ "for-direction": "warn",
74
+ "getter-return": "warn",
75
+ "no-async-promise-executor": "warn",
76
+ "no-case-declarations": "warn",
77
+ "no-class-assign": "warn",
78
+ "no-compare-neg-zero": "warn",
79
+ "no-cond-assign": "off",
80
+ "no-const-assign": "warn",
81
+ "no-constant-binary-expression": "warn",
82
+ "no-constant-condition": ["warn", {
83
+ checkLoops: false
84
+ }],
85
+ "no-control-regex": "warn",
86
+ "no-debugger": "warn",
87
+ "no-delete-var": "warn",
88
+ "no-dupe-args": "warn",
89
+ "no-dupe-class-members": "off",
90
+ "no-dupe-else-if": "warn",
91
+ "no-dupe-keys": "warn",
92
+ "no-duplicate-case": "warn",
93
+ "no-empty": "warn",
94
+ "no-empty-character-class": "warn",
95
+ "no-empty-static-block": "warn",
96
+ "no-empty-pattern": "warn",
97
+ "no-ex-assign": "warn",
98
+ "no-extra-boolean-cast": "warn",
99
+ "no-fallthrough": "off",
100
+ "no-func-assign": "warn",
101
+ "no-global-assign": "warn",
102
+ "no-import-assign": "warn",
103
+ "no-invalid-regexp": "warn",
104
+ "no-irregular-whitespace": "warn",
105
+ "no-loss-of-precision": "warn",
106
+ "no-misleading-character-class": "warn",
107
+ "no-new-native-nonconstructor": "warn",
108
+ "no-nonoctal-decimal-escape": "warn",
109
+ "no-obj-calls": "warn",
110
+ "no-octal": "warn",
111
+ "no-prototype-builtins": "warn",
112
+ "no-redeclare": "warn",
113
+ "no-regex-spaces": "warn",
114
+ "no-self-assign": "warn",
115
+ "no-setter-return": "warn",
116
+ "no-shadow-restricted-names": "warn",
117
+ "no-sparse-arrays": "warn",
118
+ "no-this-before-super": "warn",
119
+ "no-undef": "off",
120
+ "no-unexpected-multiline": "warn",
121
+ "no-unreachable": "warn",
122
+ "no-unsafe-finally": "warn",
123
+ "no-unsafe-negation": ["warn", {
124
+ enforceForOrderingRelations: true
125
+ }],
126
+ "no-unsafe-optional-chaining": "warn",
127
+ "no-unused-labels": "warn",
128
+ "no-unused-private-class-members": "warn",
129
+ "no-unused-vars": "off",
130
+ "no-useless-backreference": "warn",
131
+ "no-useless-catch": "warn",
132
+ "no-useless-escape": "warn",
133
+ "no-with": "warn",
134
+ "require-yield": "warn",
135
+ "use-isnan": ["warn", {
136
+ enforceForIndexOf: true
137
+ }],
138
+ "valid-typeof": "warn"
139
+ });
140
+
141
+ // src/lib/standard.ts
142
+ var standard_default = prefixary({
143
+ "accessor-pairs": "warn",
144
+ "array-callback-return": "warn",
145
+ "arrow-body-style": "off",
146
+ "block-scoped-var": "warn",
147
+ "camelcase": "off",
148
+ "capitalized-comments": "off",
149
+ "class-methods-use-this": "off",
150
+ "complexity": "off",
151
+ "consistent-return": "off",
152
+ "curly": ["warn", "multi-line"],
153
+ "default-case": "off",
154
+ "default-case-last": "warn",
155
+ "default-param-last": "warn",
156
+ "dot-notation": ["warn", {
157
+ allowPattern: "^[a-z]+(_[a-z]+)+$"
158
+ }],
159
+ "eqeqeq": ["warn", "smart"],
160
+ "func-name-matching": "off",
161
+ "func-names": "off",
162
+ "func-style": ["warn", "declaration", {
163
+ allowArrowFunctions: true
164
+ }],
165
+ "grouped-accessor-pairs": "off",
166
+ "guard-for-in": "off",
167
+ "id-denylist": "off",
168
+ "id-length": "off",
169
+ "id-match": "off",
170
+ "init-declarations": "off",
171
+ "logical-assignment-operators": "warn",
172
+ "max-classes-per-file": "off",
173
+ "max-depth": "off",
174
+ "max-lines": "off",
175
+ "max-lines-per-function": "off",
176
+ "max-nested-callbacks": "off",
177
+ "max-params": "off",
178
+ "max-statements": "off",
179
+ "new-cap": "warn",
180
+ "no-alert": "warn",
181
+ "no-array-constructor": "warn",
182
+ "no-await-in-loop": "off",
183
+ "no-bitwise": "off",
184
+ "no-caller": "off",
185
+ "no-console": "off",
186
+ "no-constructor-return": "warn",
187
+ "no-continue": "off",
188
+ "no-div-regex": "off",
189
+ "no-duplicate-imports": "warn",
190
+ "no-else-return": "off",
191
+ "no-empty-function": "off",
192
+ "no-eq-null": "off",
193
+ "no-eval": "warn",
194
+ "no-extend-native": "warn",
195
+ "no-extra-bind": "warn",
196
+ "no-extra-label": "off",
197
+ "no-implicit-coercion": "off",
198
+ "no-implicit-globals": "off",
199
+ "no-implied-eval": "warn",
200
+ "no-inline-comments": "off",
201
+ "no-inner-declarations": "off",
202
+ "no-invalid-this": "off",
203
+ "no-iterator": "warn",
204
+ "no-label-var": "off",
205
+ "no-labels": "off",
206
+ "no-lone-blocks": "warn",
207
+ "no-lonely-if": "warn",
208
+ "no-loop-func": "warn",
209
+ "no-magic-numbers": "off",
210
+ "no-multi-assign": ["warn", {
211
+ ignoreNonDeclaration: true
212
+ }],
213
+ "no-multi-str": "warn",
214
+ "no-negated-condition": "off",
215
+ "no-nested-ternary": "off",
216
+ "no-new": "warn",
217
+ "no-new-func": "warn",
218
+ "no-new-wrappers": "warn",
219
+ "no-object-constructor": "warn",
220
+ "no-octal-escape": "warn",
221
+ "no-param-reassign": "off",
222
+ "no-plusplus": "off",
223
+ "no-promise-executor-return": "warn",
224
+ "no-proto": "warn",
225
+ "no-restricted-exports": "off",
226
+ "no-restricted-globals": "off",
227
+ "no-restricted-imports": "off",
228
+ "no-restricted-properties": "off",
229
+ "no-restricted-syntax": "off",
230
+ "no-return-assign": "warn",
231
+ "no-script-url": "off",
232
+ "no-self-compare": "warn",
233
+ "no-sequences": "off",
234
+ "no-shadow": "off",
235
+ "no-template-curly-in-string": "off",
236
+ "no-ternary": "off",
237
+ "no-throw-literal": "off",
238
+ "no-undef-init": "warn",
239
+ "no-undefined": "warn",
240
+ "no-underscore-dangle": "off",
241
+ "no-unmodified-loop-condition": "warn",
242
+ "no-unneeded-ternary": ["warn", {
243
+ defaultAssignment: false
244
+ }],
245
+ "no-unreachable-loop": "warn",
246
+ "no-unused-expressions": "off",
247
+ "no-unused-private-class-members": "warn",
248
+ "no-use-before-define": "off",
249
+ "no-useless-assignment": "off",
250
+ "no-useless-call": "warn",
251
+ "no-useless-computed-key": "warn",
252
+ "no-useless-concat": "warn",
253
+ "no-useless-constructor": "warn",
254
+ "no-useless-rename": "warn",
255
+ "no-useless-return": "warn",
256
+ "no-var": "warn",
257
+ "no-void": "off",
258
+ "no-warning-comments": "off",
259
+ "object-shorthand": ["warn", "methods"],
260
+ "one-var": ["warn", {
261
+ initialized: "never"
262
+ }],
263
+ "operator-assignment": ["warn", "always"],
264
+ "prefer-arrow-callback": ["warn", {
265
+ allowNamedFunctions: false,
266
+ allowUnboundThis: true
267
+ }],
268
+ "prefer-const": ["warn", {
269
+ destructuring: "all",
270
+ ignoreReadBeforeAssign: false
271
+ }],
272
+ "prefer-destructuring": "off",
273
+ "prefer-exponentiation-operator": "warn",
274
+ "prefer-named-capture-group": "off",
275
+ "prefer-numeric-literals": "warn",
276
+ "prefer-object-has-own": "warn",
277
+ "prefer-object-spread": "warn",
278
+ "prefer-promise-reject-errors": "warn",
279
+ "prefer-regex-literals": ["warn", {
280
+ disallowRedundantWrapping: true
281
+ }],
282
+ "prefer-rest-params": "warn",
283
+ "prefer-spread": "warn",
284
+ "prefer-template": "off",
285
+ "radix": "off",
286
+ "require-atomic-updates": "off",
287
+ "require-await": "off",
288
+ "require-unicode-regexp": "off",
289
+ "sort-imports": "off",
290
+ "sort-keys": "off",
291
+ "sort-vars": "off",
292
+ "strict": "off",
293
+ "symbol-description": "off",
294
+ "vars-on-top": "warn",
295
+ "yoda": ["warn", "never", {
296
+ exceptRange: true
297
+ }]
298
+ });
299
+
300
+ // src/lib/stylistic.ts
301
+ var stylistic_default = prefixary("style", {
302
+ "array-bracket-newline": ["warn", "consistent"],
303
+ "array-bracket-spacing": ["warn", "never"],
304
+ "array-element-newline": ["warn", "consistent"],
305
+ "arrow-parens": ["warn", "always"],
306
+ "arrow-spacing": ["warn", {
307
+ before: true,
308
+ after: true
309
+ }],
310
+ "block-spacing": ["warn", "always"],
311
+ "brace-style": ["warn", "stroustrup"],
312
+ "comma-dangle": ["warn", "never"],
313
+ "comma-spacing": ["warn", {
314
+ before: false,
315
+ after: true
316
+ }],
317
+ "comma-style": ["warn", "last"],
318
+ "computed-property-spacing": ["warn", "never"],
319
+ "dot-location": ["warn", "property"],
320
+ "eol-last": ["warn", "never"],
321
+ "function-call-argument-newline": ["warn", "consistent"],
322
+ "function-call-spacing": ["warn", "never"],
323
+ "function-paren-newline": ["warn", "consistent"],
324
+ "generator-star-spacing": ["warn", {
325
+ named: {
326
+ before: false,
327
+ after: true
328
+ },
329
+ anonymous: {
330
+ before: true,
331
+ after: false
332
+ },
333
+ method: {
334
+ before: true,
335
+ after: true
336
+ }
337
+ }],
338
+ "implicit-arrow-linebreak": ["warn", "beside"],
339
+ "indent": "off",
340
+ "indent-binary-ops": "off",
341
+ "key-spacing": ["warn", {
342
+ beforeColon: false,
343
+ afterColon: true,
344
+ mode: "strict"
345
+ }],
346
+ "keyword-spacing": ["warn", {
347
+ before: true,
348
+ after: true
349
+ }],
350
+ "line-comment-position": "off",
351
+ "linebreak-style": ["warn", "unix"],
352
+ "lines-around-comment": "off",
353
+ "lines-between-class-members": ["warn", "always", {
354
+ exceptAfterSingleLine: true
355
+ }],
356
+ "max-len": "off",
357
+ "max-statements-per-line": "off",
358
+ "member-delimiter-style": ["warn", {
359
+ multiline: {
360
+ delimiter: "semi",
361
+ requireLast: true
362
+ }
363
+ }],
364
+ "multiline-comment-style": "off",
365
+ "multiline-ternary": "off",
366
+ "new-parens": "warn",
367
+ "newline-per-chained-call": "off",
368
+ "no-confusing-arrow": "warn",
369
+ "no-extra-parens": ["warn", "functions"],
370
+ "no-extra-semi": "warn",
371
+ "no-floating-decimal": "warn",
372
+ "no-mixed-operators": "off",
373
+ "no-mixed-spaces-and-tabs": "warn",
374
+ "no-multi-spaces": ["warn", {
375
+ ignoreEOLComments: true
376
+ }],
377
+ "no-multiple-empty-lines": ["warn", {
378
+ max: 1
379
+ }],
380
+ "no-tabs": "warn",
381
+ "no-trailing-spaces": "warn",
382
+ "no-whitespace-before-property": "warn",
383
+ "nonblock-statement-body-position": ["warn", "beside"],
384
+ "object-curly-newline": "warn",
385
+ "object-curly-spacing": ["warn", "always"],
386
+ "object-property-newline": ["warn", {
387
+ allowAllPropertiesOnSameLine: true
388
+ }],
389
+ "one-var-declaration-per-line": "off",
390
+ "operator-linebreak": "off",
391
+ "padded-blocks": ["warn", "never"],
392
+ "padding-line-between-statements": "off",
393
+ "quote-props": ["warn", "as-needed"],
394
+ "quotes": ["warn", "double", {
395
+ allowTemplateLiterals: true
396
+ }],
397
+ "rest-spread-spacing": ["warn", "never"],
398
+ "semi": ["warn", "always"],
399
+ "semi-spacing": ["warn", {
400
+ before: false,
401
+ after: true
402
+ }],
403
+ "semi-style": ["warn", "last"],
404
+ "space-before-blocks": ["warn", "always"],
405
+ "space-before-function-paren": ["warn", {
406
+ named: "never",
407
+ anonymous: "never",
408
+ asyncArrow: "always"
409
+ }],
410
+ "space-in-parens": ["warn", "never"],
411
+ "space-infix-ops": "warn",
412
+ "space-unary-ops": "warn",
413
+ "spaced-comment": "off",
414
+ "switch-colon-spacing": ["warn", {
415
+ before: false,
416
+ after: true
417
+ }],
418
+ "template-curly-spacing": ["warn", "never"],
419
+ "template-tag-spacing": ["warn", "never"],
420
+ "type-annotation-spacing": ["warn", {
421
+ before: false,
422
+ after: true,
423
+ overrides: {
424
+ arrow: {
425
+ before: true
426
+ }
427
+ }
428
+ }],
429
+ "type-generic-spacing": "warn",
430
+ "type-named-tuple-spacing": "warn",
431
+ "wrap-iife": ["warn", "inside", {
432
+ functionPrototypeMethods: true
433
+ }],
434
+ "wrap-regex": "off",
435
+ "yield-star-spacing": ["warn", "after"]
436
+ });
437
+
438
+ // src/lib/vue.ts
439
+ var vue_default = prefixary("vue", {
440
+ // Priority A
441
+ "no-arrow-functions-in-watch": "warn",
442
+ "no-async-in-computed-properties": "warn",
443
+ "no-child-content": "warn",
444
+ "no-computed-properties-in-data": "warn",
445
+ "no-deprecated-data-object-declaration": "warn",
446
+ "no-deprecated-destroyed-lifecycle": "warn",
447
+ "no-deprecated-dollar-listeners-api": "warn",
448
+ "no-deprecated-dollar-scopedslots-api": "warn",
449
+ "no-deprecated-events-api": "warn",
450
+ "no-deprecated-filter": "warn",
451
+ "no-deprecated-functional-template": "warn",
452
+ "no-deprecated-html-element-is": "warn",
453
+ "no-deprecated-inline-template": "warn",
454
+ "no-deprecated-props-default-this": "warn",
455
+ "no-deprecated-router-link-tag-prop": "warn",
456
+ "no-deprecated-scope-attribute": "warn",
457
+ "no-deprecated-slot-attribute": "warn",
458
+ "no-deprecated-slot-scope-attribute": "warn",
459
+ "no-deprecated-v-bind-sync": "warn",
460
+ "no-deprecated-v-is": "warn",
461
+ "no-deprecated-v-on-native-modifier": "warn",
462
+ "no-deprecated-v-on-number-modifiers": "warn",
463
+ "no-deprecated-vue-config-keycodes": "warn",
464
+ "no-dupe-keys": "warn",
465
+ "no-dupe-v-else-if": "warn",
466
+ "no-duplicate-attributes": "warn",
467
+ "no-export-in-script-setup": "warn",
468
+ "no-expose-after-await": "warn",
469
+ "no-lifecycle-after-await": "warn",
470
+ "no-mutating-props": "warn",
471
+ "no-parsing-error": "warn",
472
+ "no-ref-as-operand": "warn",
473
+ "no-reserved-component-names": "warn",
474
+ "no-reserved-keys": "warn",
475
+ "no-reserved-props": "warn",
476
+ "no-shared-component-data": "warn",
477
+ "no-side-effects-in-computed-properties": "warn",
478
+ "no-template-key": "warn",
479
+ "no-textarea-mustache": "warn",
480
+ "no-unused-components": "warn",
481
+ "no-unused-vars": "warn",
482
+ "no-use-computed-property-like-method": "warn",
483
+ "no-use-v-if-with-v-for": "warn",
484
+ "no-useless-template-attributes": "warn",
485
+ "no-v-for-template-key-on-child": "warn",
486
+ "no-v-text-v-html-on-component": "warn",
487
+ "no-watch-after-await": "warn",
488
+ "prefer-import-from-vue": "warn",
489
+ "require-component-is": "warn",
490
+ "require-prop-type-constructor": "warn",
491
+ "require-render-return": "warn",
492
+ "require-slots-as-functions": "warn",
493
+ "require-toggle-inside-transition": "warn",
494
+ "require-valid-default-prop": "warn",
495
+ "return-in-computed-property": "warn",
496
+ "return-in-emits-validator": "warn",
497
+ "use-v-on-exact": "warn",
498
+ "valid-attribute-name": "warn",
499
+ "valid-define-emits": "warn",
500
+ "valid-define-props": "warn",
501
+ "valid-next-tick": "warn",
502
+ "valid-template-root": "warn",
503
+ "valid-v-bind": "warn",
504
+ "valid-v-cloak": "warn",
505
+ "valid-v-else-if": "warn",
506
+ "valid-v-else": "warn",
507
+ "valid-v-html": "warn",
508
+ "valid-v-if": "warn",
509
+ "valid-v-memo": "warn",
510
+ "valid-v-model": "warn",
511
+ "valid-v-on": "warn",
512
+ "valid-v-once": "warn",
513
+ "valid-v-pre": "warn",
514
+ "valid-v-show": "warn",
515
+ "valid-v-slot": "warn",
516
+ "valid-v-text": "warn",
517
+ // Priority B
518
+ "attribute-hyphenation": "warn",
519
+ "component-definition-name-casing": ["warn", "kebab-case"],
520
+ "first-attribute-linebreak": ["warn", {
521
+ singleline: "beside",
522
+ multiline: "below"
523
+ }],
524
+ "html-closing-bracket-newline": ["warn", {
525
+ singleline: "never",
526
+ multiline: "always"
527
+ }],
528
+ "html-end-tags": "warn",
529
+ "html-indent": ["warn", 4],
530
+ "html-quotes": ["warn", "double"],
531
+ "html-self-closing": ["warn", {
532
+ html: {
533
+ void: "always",
534
+ normal: "never",
535
+ component: "always"
536
+ },
537
+ svg: "always",
538
+ math: "always"
539
+ }],
540
+ "mustache-interpolation-spacing": ["warn", "always"],
541
+ "no-multi-spaces": "warn",
542
+ "no-spaces-around-equal-signs-in-attribute": "warn",
543
+ "no-template-shadow": "warn",
544
+ "one-component-per-file": "warn",
545
+ "prop-name-casing": ["warn", "camelCase"],
546
+ "require-prop-types": "warn",
547
+ "v-bind-style": ["warn", "shorthand", {
548
+ sameNameShorthand: "always"
549
+ }],
550
+ "v-on-event-hyphenation": ["warn", "always"],
551
+ "v-on-style": ["warn", "shorthand"],
552
+ "v-slot-style": ["warn", {
553
+ atComponent: "v-slot",
554
+ default: "shorthand",
555
+ named: "shorthand"
556
+ }],
557
+ // Priority C
558
+ "attributes-order": ["warn", {
559
+ order: [
560
+ "LIST_RENDERING",
561
+ "CONDITIONALS",
562
+ "RENDER_MODIFIERS",
563
+ "OTHER_DIRECTIVES",
564
+ "SLOT",
565
+ "DEFINITION",
566
+ "UNIQUE",
567
+ "GLOBAL",
568
+ ["ATTR_DYNAMIC", "ATTR_STATIC", "ATTR_SHORTHAND_BOOL"],
569
+ "TWO_WAY_BINDING",
570
+ "EVENTS",
571
+ "CONTENT"
572
+ ]
573
+ }],
574
+ "no-lone-template": "warn",
575
+ "no-multiple-slot-args": "warn",
576
+ "order-in-components": "warn",
577
+ "this-in-template": ["warn", "never"],
578
+ // Uncategorized
579
+ "block-order": ["warn", {
580
+ order: [
581
+ "script",
582
+ "template",
583
+ "style"
584
+ ]
585
+ }],
586
+ "block-tag-newline": ["warn", {
587
+ singleline: "always",
588
+ multiline: "always"
589
+ }],
590
+ "comma-dangle": ["warn", "never"],
591
+ "component-api-style": ["warn", [
592
+ "script-setup",
593
+ "composition"
594
+ ]],
595
+ "component-name-in-template-casing": ["warn", "kebab-case", {
596
+ registeredComponentsOnly: false
597
+ }],
598
+ "component-options-name-casing": ["warn", "PascalCase"],
599
+ "custom-event-name-casing": ["warn", "camelCase"],
600
+ "define-emits-declaration": ["warn", "type-literal"],
601
+ "define-macros-order": ["warn", {
602
+ order: [
603
+ "defineOptions",
604
+ "defineProps",
605
+ "defineModel",
606
+ "defineEmits",
607
+ "defineSlots"
608
+ ],
609
+ defineExposeLast: true
610
+ }],
611
+ "define-props-declaration": ["warn", "type-based"],
612
+ "html-comment-content-newline": ["warn", {
613
+ singleline: "never",
614
+ multiline: "always"
615
+ }],
616
+ "html-comment-content-spacing": ["warn", "always"],
617
+ "html-comment-indent": ["warn", 4],
618
+ "no-deprecated-model-definition": "warn",
619
+ "no-duplicate-attr-inheritance": "warn",
620
+ "no-empty-component-block": "warn",
621
+ "no-multiple-objects-in-class": "warn",
622
+ "no-potential-component-option-typo": ["warn", {
623
+ presets: ["all"]
624
+ }],
625
+ "no-required-prop-with-default": ["warn", {
626
+ autofix: true
627
+ }],
628
+ "no-static-inline-styles": "warn",
629
+ "no-this-in-before-route-enter": "warn",
630
+ "no-unused-refs": "warn",
631
+ "no-unused-emit-declarations": "warn",
632
+ "no-use-v-else-with-v-for": "warn",
633
+ "no-useless-mustaches": ["warn", {
634
+ ignoreIncludesComment: true,
635
+ ignoreStringEscape: true
636
+ }],
637
+ "no-useless-v-bind": ["warn", {
638
+ ignoreIncludesComment: true,
639
+ ignoreStringEscape: true
640
+ }],
641
+ "padding-line-between-blocks": ["warn", "always"],
642
+ "prefer-define-options": "warn",
643
+ "prefer-prop-type-boolean-first": "warn",
644
+ "prefer-separate-static-class": "warn",
645
+ "prefer-true-attribute-shorthand": ["warn", "always"],
646
+ "require-default-export": "warn",
647
+ "require-direct-export": "warn",
648
+ "require-emit-validator": "warn",
649
+ "require-explicit-emits": "warn",
650
+ "require-macro-variable-name": "warn",
651
+ "require-typed-object-prop": "warn",
652
+ "require-typed-ref": "warn",
653
+ "valid-define-options": "warn",
654
+ "v-for-delimiter-style": ["warn", "in"],
655
+ // Extension
656
+ ...Object.fromEntries([
657
+ "no-constant-condition",
658
+ "no-empty-pattern",
659
+ "no-irregular-whitespace",
660
+ "no-loss-of-precision",
661
+ "no-sparse-arrays"
662
+ ].map((rule) => [rule, recommended_default[rule]])),
663
+ ...Object.fromEntries([
664
+ "camelcase",
665
+ "dot-notation",
666
+ "eqeqeq",
667
+ "no-console",
668
+ "no-restricted-syntax",
669
+ "no-useless-concat",
670
+ "object-shorthand",
671
+ "prefer-template"
672
+ ].map((rule) => [rule, standard_default[rule]])),
673
+ ...Object.fromEntries([
674
+ "array-bracket-newline",
675
+ "array-bracket-spacing",
676
+ "array-element-newline",
677
+ "arrow-spacing",
678
+ "block-spacing",
679
+ "brace-style",
680
+ "comma-dangle",
681
+ "comma-spacing",
682
+ "comma-style",
683
+ "dot-location",
684
+ "key-spacing",
685
+ "keyword-spacing",
686
+ "max-len",
687
+ "multiline-ternary",
688
+ "no-extra-parens",
689
+ "object-curly-newline",
690
+ "object-curly-spacing",
691
+ "object-property-newline",
692
+ "operator-linebreak",
693
+ "quote-props",
694
+ "space-in-parens",
695
+ "space-infix-ops",
696
+ "space-unary-ops",
697
+ "template-curly-spacing"
698
+ ].map((rule) => [rule, stylistic_default[`style/${rule}`]])),
699
+ // Conflict with Nuxt
700
+ "no-undef-components": "off",
701
+ "require-name-property": "off",
702
+ // Have spacial cases
703
+ "no-ref-object-reactivity-loss": "off",
704
+ "no-root-v-if": "off",
705
+ "no-setup-props-reactivity-loss": "off",
706
+ "no-unused-properties": "off",
707
+ // Lack of personalization
708
+ "html-closing-bracket-spacing": "off",
709
+ "script-indent": "off",
710
+ // Should be delegated
711
+ "no-restricted-block": "off",
712
+ "no-restricted-call-after-await": "off",
713
+ "no-restricted-class": "off",
714
+ "no-restricted-component-names": "off",
715
+ "no-restricted-component-options": "off",
716
+ "no-restricted-custom-event": "off",
717
+ "no-restricted-html-elements": "off",
718
+ "no-restricted-props": "off",
719
+ "no-restricted-static-attribute": "off",
720
+ "no-restricted-v-bind": "off",
721
+ "no-restricted-v-on": "off",
722
+ // Should loose
723
+ "block-lang": "off",
724
+ "enforce-style-attribute": "off",
725
+ "max-attributes-per-line": "off",
726
+ "max-lines-per-block": "off",
727
+ "max-props": "off",
728
+ "max-template-depth": "off",
729
+ "multi-word-component-names": "off",
730
+ "multiline-html-element-content-newline": "off",
731
+ "next-tick-style": "off",
732
+ "new-line-between-multi-line-property": "off",
733
+ "no-v-html": "off",
734
+ "no-v-text": "off",
735
+ "padding-line-between-tags": "off",
736
+ "padding-lines-in-component-definition": "off",
737
+ "require-default-prop": "off",
738
+ "require-expose": "off",
739
+ "require-prop-comment": "off",
740
+ "require-v-for-key": "off",
741
+ "singleline-html-element-content-newline": "off",
742
+ "sort-keys": "off",
743
+ "static-class-names-order": "off",
744
+ "v-on-handler-style": "off",
745
+ "valid-v-for": "off",
746
+ // Too narrow
747
+ "html-button-has-type": "off",
748
+ "match-component-file-name": "off",
749
+ "match-component-import-name": "off",
750
+ "no-bare-strings-in-template": "off",
751
+ "no-boolean-default": "off",
752
+ "no-template-target-blank": "off",
753
+ // TS instead of
754
+ "no-undef-properties": "off",
755
+ "no-unsupported-features": "off",
756
+ // Useless in Vue 3
757
+ "v-if-else-key": "off",
758
+ "valid-v-is": "off"
759
+ });
760
+
761
+ // src/index.ts
762
+ var src_default = {
763
+ patch: patch_default,
764
+ recommended: recommended_default,
765
+ standard: standard_default,
766
+ stylistic: stylistic_default,
767
+ vue: vue_default
768
+ };
package/dist/index.js CHANGED
@@ -14,7 +14,31 @@ var patch_default = prefixary({
14
14
  "antfu/no-import-dist": "off",
15
15
  "antfu/top-level-function": "off",
16
16
  "node/prefer-global/process": "off",
17
+ "perfectionist/sort-imports": ["warn", {
18
+ groups: [
19
+ "builtin",
20
+ "external",
21
+ "external-type",
22
+ "internal",
23
+ "internal-type",
24
+ ["parent", "sibling", "index"],
25
+ ["parent-type", "sibling-type", "index-type"],
26
+ "object",
27
+ "unknown"
28
+ ],
29
+ internalPattern: [
30
+ "#**",
31
+ "#**/**",
32
+ "@/**",
33
+ "@@/**",
34
+ "~/**",
35
+ "~~/**"
36
+ ],
37
+ newlinesBetween: "never"
38
+ }],
17
39
  "ts/no-unused-expressions": "off",
40
+ "unicorn/no-new-array": "off",
41
+ "unicorn/consistent-function-scoping": "off",
18
42
  "unused-imports/no-unused-vars": "off"
19
43
  });
20
44
 
@@ -37,7 +61,7 @@ var recommended_default = prefixary({
37
61
  "no-debugger": "warn",
38
62
  "no-delete-var": "warn",
39
63
  "no-dupe-args": "warn",
40
- "no-dupe-class-members": "warn",
64
+ "no-dupe-class-members": "off",
41
65
  "no-dupe-else-if": "warn",
42
66
  "no-dupe-keys": "warn",
43
67
  "no-duplicate-case": "warn",
@@ -237,7 +261,7 @@ var standard_default = prefixary({
237
261
  "require-atomic-updates": "off",
238
262
  "require-await": "off",
239
263
  "require-unicode-regexp": "off",
240
- "sort-imports": "warn",
264
+ "sort-imports": "off",
241
265
  "sort-keys": "off",
242
266
  "sort-vars": "off",
243
267
  "strict": "off",
@@ -388,67 +412,47 @@ var stylistic_default = prefixary("style", {
388
412
 
389
413
  // src/lib/vue.ts
390
414
  var vue_default = prefixary("vue", {
391
- "attribute-hyphenation": "warn",
392
- "attributes-order": ["warn", {
393
- order: [
394
- "LIST_RENDERING",
395
- "CONDITIONALS",
396
- "RENDER_MODIFIERS",
397
- "OTHER_DIRECTIVES",
398
- "SLOT",
399
- "DEFINITION",
400
- "UNIQUE",
401
- "GLOBAL",
402
- ["ATTR_DYNAMIC", "ATTR_STATIC", "ATTR_SHORTHAND_BOOL"],
403
- "TWO_WAY_BINDING",
404
- "EVENTS",
405
- "CONTENT"
406
- ]
407
- }],
408
- "comma-dangle": ["warn", "never"],
409
- "component-definition-name-casing": ["warn", "kebab-case"],
410
- "component-name-in-template-casing": ["warn", "kebab-case"],
411
- "first-attribute-linebreak": ["warn", {
412
- singleline: "beside",
413
- multiline: "below"
414
- }],
415
- "html-closing-bracket-newline": ["warn", {
416
- singleline: "never",
417
- multiline: "always"
418
- }],
419
- "html-closing-bracket-spacing": "off",
420
- "html-indent": "off",
421
- "html-quotes": ["warn", "double"],
422
- "html-self-closing": ["warn", {
423
- html: {
424
- void: "always",
425
- normal: "never",
426
- component: "always"
427
- },
428
- svg: "always",
429
- math: "always"
430
- }],
431
- "multiline-html-element-content-newline": "off",
432
- "mustache-interpolation-spacing": ["warn", "always"],
415
+ // Priority A
416
+ "no-arrow-functions-in-watch": "warn",
417
+ "no-async-in-computed-properties": "warn",
418
+ "no-child-content": "warn",
419
+ "no-computed-properties-in-data": "warn",
420
+ "no-deprecated-data-object-declaration": "warn",
421
+ "no-deprecated-destroyed-lifecycle": "warn",
422
+ "no-deprecated-dollar-listeners-api": "warn",
423
+ "no-deprecated-dollar-scopedslots-api": "warn",
424
+ "no-deprecated-events-api": "warn",
425
+ "no-deprecated-filter": "warn",
426
+ "no-deprecated-functional-template": "warn",
427
+ "no-deprecated-html-element-is": "warn",
428
+ "no-deprecated-inline-template": "warn",
429
+ "no-deprecated-props-default-this": "warn",
430
+ "no-deprecated-router-link-tag-prop": "warn",
431
+ "no-deprecated-scope-attribute": "warn",
432
+ "no-deprecated-slot-attribute": "warn",
433
+ "no-deprecated-slot-scope-attribute": "warn",
434
+ "no-deprecated-v-bind-sync": "warn",
435
+ "no-deprecated-v-is": "warn",
436
+ "no-deprecated-v-on-native-modifier": "warn",
437
+ "no-deprecated-v-on-number-modifiers": "warn",
438
+ "no-deprecated-vue-config-keycodes": "warn",
433
439
  "no-dupe-keys": "warn",
434
440
  "no-dupe-v-else-if": "warn",
435
441
  "no-duplicate-attributes": "warn",
436
442
  "no-export-in-script-setup": "warn",
437
443
  "no-expose-after-await": "warn",
438
444
  "no-lifecycle-after-await": "warn",
439
- "no-lone-template": "warn",
440
445
  "no-mutating-props": "warn",
441
- "no-multiple-slot-args": "warn",
442
- "no-multi-spaces": "warn",
446
+ "no-parsing-error": "warn",
443
447
  "no-ref-as-operand": "warn",
444
448
  "no-reserved-component-names": "warn",
445
449
  "no-reserved-keys": "warn",
446
450
  "no-reserved-props": "warn",
451
+ "no-shared-component-data": "warn",
447
452
  "no-side-effects-in-computed-properties": "warn",
448
- "no-spaces-around-equal-signs-in-attribute": "warn",
449
453
  "no-template-key": "warn",
450
- "no-template-shadow": "warn",
451
454
  "no-textarea-mustache": "warn",
455
+ "no-unused-components": "warn",
452
456
  "no-unused-vars": "warn",
453
457
  "no-use-computed-property-like-method": "warn",
454
458
  "no-use-v-if-with-v-for": "warn",
@@ -456,34 +460,25 @@ var vue_default = prefixary("vue", {
456
460
  "no-v-for-template-key-on-child": "warn",
457
461
  "no-v-text-v-html-on-component": "warn",
458
462
  "no-watch-after-await": "warn",
459
- "one-component-per-file": "warn",
460
- "operator-linebreak": "off",
461
463
  "prefer-import-from-vue": "warn",
462
- "prefer-template": "warn",
463
- "prop-name-casing": ["warn", "camelCase"],
464
464
  "require-component-is": "warn",
465
- "require-explicit-emits": "warn",
466
465
  "require-prop-type-constructor": "warn",
467
466
  "require-render-return": "warn",
468
467
  "require-slots-as-functions": "warn",
469
468
  "require-toggle-inside-transition": "warn",
470
469
  "require-valid-default-prop": "warn",
471
- "require-v-for-key": "off",
472
470
  "return-in-computed-property": "warn",
473
471
  "return-in-emits-validator": "warn",
474
- "singleline-html-element-content-newline": "off",
475
- "this-in-template": ["warn", "never"],
476
472
  "use-v-on-exact": "warn",
477
473
  "valid-attribute-name": "warn",
478
474
  "valid-define-emits": "warn",
479
475
  "valid-define-props": "warn",
480
476
  "valid-next-tick": "warn",
481
- "valid-template-root": "off",
477
+ "valid-template-root": "warn",
482
478
  "valid-v-bind": "warn",
483
479
  "valid-v-cloak": "warn",
484
480
  "valid-v-else-if": "warn",
485
481
  "valid-v-else": "warn",
486
- "valid-v-for": "off",
487
482
  "valid-v-html": "warn",
488
483
  "valid-v-if": "warn",
489
484
  "valid-v-memo": "warn",
@@ -494,8 +489,248 @@ var vue_default = prefixary("vue", {
494
489
  "valid-v-show": "warn",
495
490
  "valid-v-slot": "warn",
496
491
  "valid-v-text": "warn",
497
- "v-bind-style": ["warn", "shorthand"],
498
- "v-on-style": ["warn", "shorthand"]
492
+ // Priority B
493
+ "attribute-hyphenation": "warn",
494
+ "component-definition-name-casing": ["warn", "kebab-case"],
495
+ "first-attribute-linebreak": ["warn", {
496
+ singleline: "beside",
497
+ multiline: "below"
498
+ }],
499
+ "html-closing-bracket-newline": ["warn", {
500
+ singleline: "never",
501
+ multiline: "always"
502
+ }],
503
+ "html-end-tags": "warn",
504
+ "html-indent": ["warn", 4],
505
+ "html-quotes": ["warn", "double"],
506
+ "html-self-closing": ["warn", {
507
+ html: {
508
+ void: "always",
509
+ normal: "never",
510
+ component: "always"
511
+ },
512
+ svg: "always",
513
+ math: "always"
514
+ }],
515
+ "mustache-interpolation-spacing": ["warn", "always"],
516
+ "no-multi-spaces": "warn",
517
+ "no-spaces-around-equal-signs-in-attribute": "warn",
518
+ "no-template-shadow": "warn",
519
+ "one-component-per-file": "warn",
520
+ "prop-name-casing": ["warn", "camelCase"],
521
+ "require-prop-types": "warn",
522
+ "v-bind-style": ["warn", "shorthand", {
523
+ sameNameShorthand: "always"
524
+ }],
525
+ "v-on-event-hyphenation": ["warn", "always"],
526
+ "v-on-style": ["warn", "shorthand"],
527
+ "v-slot-style": ["warn", {
528
+ atComponent: "v-slot",
529
+ default: "shorthand",
530
+ named: "shorthand"
531
+ }],
532
+ // Priority C
533
+ "attributes-order": ["warn", {
534
+ order: [
535
+ "LIST_RENDERING",
536
+ "CONDITIONALS",
537
+ "RENDER_MODIFIERS",
538
+ "OTHER_DIRECTIVES",
539
+ "SLOT",
540
+ "DEFINITION",
541
+ "UNIQUE",
542
+ "GLOBAL",
543
+ ["ATTR_DYNAMIC", "ATTR_STATIC", "ATTR_SHORTHAND_BOOL"],
544
+ "TWO_WAY_BINDING",
545
+ "EVENTS",
546
+ "CONTENT"
547
+ ]
548
+ }],
549
+ "no-lone-template": "warn",
550
+ "no-multiple-slot-args": "warn",
551
+ "order-in-components": "warn",
552
+ "this-in-template": ["warn", "never"],
553
+ // Uncategorized
554
+ "block-order": ["warn", {
555
+ order: [
556
+ "script",
557
+ "template",
558
+ "style"
559
+ ]
560
+ }],
561
+ "block-tag-newline": ["warn", {
562
+ singleline: "always",
563
+ multiline: "always"
564
+ }],
565
+ "comma-dangle": ["warn", "never"],
566
+ "component-api-style": ["warn", [
567
+ "script-setup",
568
+ "composition"
569
+ ]],
570
+ "component-name-in-template-casing": ["warn", "kebab-case", {
571
+ registeredComponentsOnly: false
572
+ }],
573
+ "component-options-name-casing": ["warn", "PascalCase"],
574
+ "custom-event-name-casing": ["warn", "camelCase"],
575
+ "define-emits-declaration": ["warn", "type-literal"],
576
+ "define-macros-order": ["warn", {
577
+ order: [
578
+ "defineOptions",
579
+ "defineProps",
580
+ "defineModel",
581
+ "defineEmits",
582
+ "defineSlots"
583
+ ],
584
+ defineExposeLast: true
585
+ }],
586
+ "define-props-declaration": ["warn", "type-based"],
587
+ "html-comment-content-newline": ["warn", {
588
+ singleline: "never",
589
+ multiline: "always"
590
+ }],
591
+ "html-comment-content-spacing": ["warn", "always"],
592
+ "html-comment-indent": ["warn", 4],
593
+ "no-deprecated-model-definition": "warn",
594
+ "no-duplicate-attr-inheritance": "warn",
595
+ "no-empty-component-block": "warn",
596
+ "no-multiple-objects-in-class": "warn",
597
+ "no-potential-component-option-typo": ["warn", {
598
+ presets: ["all"]
599
+ }],
600
+ "no-required-prop-with-default": ["warn", {
601
+ autofix: true
602
+ }],
603
+ "no-static-inline-styles": "warn",
604
+ "no-this-in-before-route-enter": "warn",
605
+ "no-unused-refs": "warn",
606
+ "no-unused-emit-declarations": "warn",
607
+ "no-use-v-else-with-v-for": "warn",
608
+ "no-useless-mustaches": ["warn", {
609
+ ignoreIncludesComment: true,
610
+ ignoreStringEscape: true
611
+ }],
612
+ "no-useless-v-bind": ["warn", {
613
+ ignoreIncludesComment: true,
614
+ ignoreStringEscape: true
615
+ }],
616
+ "padding-line-between-blocks": ["warn", "always"],
617
+ "prefer-define-options": "warn",
618
+ "prefer-prop-type-boolean-first": "warn",
619
+ "prefer-separate-static-class": "warn",
620
+ "prefer-true-attribute-shorthand": ["warn", "always"],
621
+ "require-default-export": "warn",
622
+ "require-direct-export": "warn",
623
+ "require-emit-validator": "warn",
624
+ "require-explicit-emits": "warn",
625
+ "require-macro-variable-name": "warn",
626
+ "require-typed-object-prop": "warn",
627
+ "require-typed-ref": "warn",
628
+ "valid-define-options": "warn",
629
+ "v-for-delimiter-style": ["warn", "in"],
630
+ // Extension
631
+ ...Object.fromEntries([
632
+ "no-constant-condition",
633
+ "no-empty-pattern",
634
+ "no-irregular-whitespace",
635
+ "no-loss-of-precision",
636
+ "no-sparse-arrays"
637
+ ].map((rule) => [rule, recommended_default[rule]])),
638
+ ...Object.fromEntries([
639
+ "camelcase",
640
+ "dot-notation",
641
+ "eqeqeq",
642
+ "no-console",
643
+ "no-restricted-syntax",
644
+ "no-useless-concat",
645
+ "object-shorthand",
646
+ "prefer-template"
647
+ ].map((rule) => [rule, standard_default[rule]])),
648
+ ...Object.fromEntries([
649
+ "array-bracket-newline",
650
+ "array-bracket-spacing",
651
+ "array-element-newline",
652
+ "arrow-spacing",
653
+ "block-spacing",
654
+ "brace-style",
655
+ "comma-dangle",
656
+ "comma-spacing",
657
+ "comma-style",
658
+ "dot-location",
659
+ "key-spacing",
660
+ "keyword-spacing",
661
+ "max-len",
662
+ "multiline-ternary",
663
+ "no-extra-parens",
664
+ "object-curly-newline",
665
+ "object-curly-spacing",
666
+ "object-property-newline",
667
+ "operator-linebreak",
668
+ "quote-props",
669
+ "space-in-parens",
670
+ "space-infix-ops",
671
+ "space-unary-ops",
672
+ "template-curly-spacing"
673
+ ].map((rule) => [rule, stylistic_default[`style/${rule}`]])),
674
+ // Conflict with Nuxt
675
+ "no-undef-components": "off",
676
+ "require-name-property": "off",
677
+ // Have spacial cases
678
+ "no-ref-object-reactivity-loss": "off",
679
+ "no-root-v-if": "off",
680
+ "no-setup-props-reactivity-loss": "off",
681
+ "no-unused-properties": "off",
682
+ // Lack of personalization
683
+ "html-closing-bracket-spacing": "off",
684
+ "script-indent": "off",
685
+ // Should be delegated
686
+ "no-restricted-block": "off",
687
+ "no-restricted-call-after-await": "off",
688
+ "no-restricted-class": "off",
689
+ "no-restricted-component-names": "off",
690
+ "no-restricted-component-options": "off",
691
+ "no-restricted-custom-event": "off",
692
+ "no-restricted-html-elements": "off",
693
+ "no-restricted-props": "off",
694
+ "no-restricted-static-attribute": "off",
695
+ "no-restricted-v-bind": "off",
696
+ "no-restricted-v-on": "off",
697
+ // Should loose
698
+ "block-lang": "off",
699
+ "enforce-style-attribute": "off",
700
+ "max-attributes-per-line": "off",
701
+ "max-lines-per-block": "off",
702
+ "max-props": "off",
703
+ "max-template-depth": "off",
704
+ "multi-word-component-names": "off",
705
+ "multiline-html-element-content-newline": "off",
706
+ "next-tick-style": "off",
707
+ "new-line-between-multi-line-property": "off",
708
+ "no-v-html": "off",
709
+ "no-v-text": "off",
710
+ "padding-line-between-tags": "off",
711
+ "padding-lines-in-component-definition": "off",
712
+ "require-default-prop": "off",
713
+ "require-expose": "off",
714
+ "require-prop-comment": "off",
715
+ "require-v-for-key": "off",
716
+ "singleline-html-element-content-newline": "off",
717
+ "sort-keys": "off",
718
+ "static-class-names-order": "off",
719
+ "v-on-handler-style": "off",
720
+ "valid-v-for": "off",
721
+ // Too narrow
722
+ "html-button-has-type": "off",
723
+ "match-component-file-name": "off",
724
+ "match-component-import-name": "off",
725
+ "no-bare-strings-in-template": "off",
726
+ "no-boolean-default": "off",
727
+ "no-template-target-blank": "off",
728
+ // TS instead of
729
+ "no-undef-properties": "off",
730
+ "no-unsupported-features": "off",
731
+ // Useless in Vue 3
732
+ "v-if-else-key": "off",
733
+ "valid-v-is": "off"
499
734
  });
500
735
 
501
736
  // src/index.ts
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@zinkawaii/eslint-config",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "license": "MIT",
5
5
  "author": "KazariEX",
6
6
  "repository": "KazariEX/eslint-config",
7
7
  "type": "module",
8
8
  "files": [
9
+ "dist",
9
10
  "index.d.ts"
10
11
  ],
11
12
  "main": "./dist/index.js",
@@ -18,9 +19,9 @@
18
19
  }
19
20
  },
20
21
  "devDependencies": {
21
- "@antfu/eslint-config": "^2.27.1",
22
- "eslint": "^9.9.1",
23
- "tsup": "^8.2.4"
22
+ "@antfu/eslint-config": "^3.6.2",
23
+ "eslint": "^9.10.0",
24
+ "tsup": "^8.3.0"
24
25
  },
25
26
  "scripts": {
26
27
  "build": "tsup",