@zinkawaii/eslint-config 0.3.1 → 0.4.1

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