@zinkawaii/eslint-config 0.1.6 → 0.1.8

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