@zinkawaii/eslint-config 0.0.1 → 0.1.0

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.
@@ -0,0 +1,121 @@
1
+ declare const _default: {
2
+ patch: {
3
+ "antfu/if-newline": string;
4
+ "antfu/no-import-dist": string;
5
+ "antfu/top-level-function": string;
6
+ "node/prefer-global/process": string;
7
+ "unused-imports/no-unused-vars": string;
8
+ };
9
+ recommended: {
10
+ "constructor-super": string;
11
+ "for-direction": string;
12
+ "getter-return": string;
13
+ "no-async-promise-executor": string;
14
+ "no-class-assign": string;
15
+ "no-compare-neg-zero": string;
16
+ "no-cond-assign": string;
17
+ "no-const-assign": string;
18
+ "no-constant-binary-expression": string;
19
+ "no-constant-condition": (string | {
20
+ checkLoops: boolean;
21
+ })[];
22
+ "no-control-regex": string;
23
+ "no-debugger": string;
24
+ "no-dupe-args": string;
25
+ "no-dupe-class-members": string;
26
+ "no-dupe-else-if": string;
27
+ "no-dupe-keys": string;
28
+ "no-duplicate-case": string;
29
+ "no-empty-character-class": string;
30
+ "no-empty-pattern": string;
31
+ "no-ex-assign": string;
32
+ "no-fallthrough": string;
33
+ "no-func-assign": string;
34
+ "no-import-assign": string;
35
+ "no-invalid-regexp": string;
36
+ "no-irregular-whitespace": string;
37
+ "no-loss-of-precision": string;
38
+ "no-misleading-character-class": string;
39
+ "no-new-native-nonconstructor": string;
40
+ "no-obj-calls": string;
41
+ "no-prototype-builtins": string;
42
+ "no-self-assign": string;
43
+ "no-setter-return": string;
44
+ "no-sparse-arrays": string;
45
+ "no-this-before-super": string;
46
+ "no-undef": string;
47
+ "no-unexpected-multiline": string;
48
+ "no-unreachable": string;
49
+ "no-unsafe-finally": string;
50
+ "no-unsafe-negation": (string | {
51
+ enforceForOrderingRelations: boolean;
52
+ })[];
53
+ "no-unsafe-optional-chaining": string;
54
+ "no-unused-private-class-members": string;
55
+ "no-unused-vars": string;
56
+ "no-useless-backreference": string;
57
+ "prefer-template": string;
58
+ "symbol-description": string;
59
+ "use-isnan": (string | {
60
+ enforceForIndexOf: boolean;
61
+ })[];
62
+ "valid-typeof": string;
63
+ };
64
+ standard: {
65
+ "accessor-pairs": string;
66
+ "array-callback-return": string;
67
+ "arrow-body-style": string;
68
+ "block-scoped-var": string;
69
+ camelcase: string;
70
+ "capitalized-comments": string;
71
+ "class-methods-use-this": string;
72
+ complexity: string;
73
+ "consistent-return": string;
74
+ curly: string[];
75
+ "dot-notation": (string | {
76
+ allowPattern: string;
77
+ })[];
78
+ eqeqeq: string[];
79
+ "no-await-in-loop": string;
80
+ "no-console": string;
81
+ "no-constructor-return": string;
82
+ "no-duplicate-imports": string;
83
+ "no-inner-declarations": string;
84
+ "no-new-symbol": string;
85
+ "no-promise-executor-return": string;
86
+ "no-self-compare": string;
87
+ "no-sequences": string;
88
+ "no-template-curly-in-string": string;
89
+ "no-throw-literal": string;
90
+ "no-unmodified-loop-condition": string;
91
+ "no-unreachable-loop": string;
92
+ "no-unused-expressions": string;
93
+ "no-unused-private-class-members": string;
94
+ "no-use-before-define": string;
95
+ "no-useless-assignment": string;
96
+ "no-useless-concat": string;
97
+ "no-useless-rename": string;
98
+ "no-useless-return": string;
99
+ "no-var": string;
100
+ "object-shorthand": string[];
101
+ "operator-assignment": string[];
102
+ "prefer-const": (string | {
103
+ destructuring: string;
104
+ ignoreReadBeforeAssign: boolean;
105
+ })[];
106
+ "prefer-rest-params": string;
107
+ "prefer-spread": string;
108
+ "require-atomic-updates": string;
109
+ yoda: (string | {
110
+ exceptRange: boolean;
111
+ })[];
112
+ };
113
+ stylistic: {
114
+ [k: string]: any;
115
+ };
116
+ vue: {
117
+ [k: string]: any;
118
+ };
119
+ };
120
+
121
+ export { _default as default };
package/dist/index.js ADDED
@@ -0,0 +1,499 @@
1
+ // src/utils.ts
2
+ function prefixary(prefix, rules) {
3
+ return typeof prefix === "object" ? prefix : Object.fromEntries(
4
+ Object.entries(rules).map(([key, value]) => {
5
+ return [`${prefix}/${key}`, value];
6
+ })
7
+ );
8
+ }
9
+
10
+ // src/lib/patch.ts
11
+ var patch_default = prefixary({
12
+ "antfu/if-newline": "off",
13
+ "antfu/no-import-dist": "off",
14
+ "antfu/top-level-function": "off",
15
+ "node/prefer-global/process": "off",
16
+ "unused-imports/no-unused-vars": "off"
17
+ });
18
+
19
+ // src/lib/recommended.ts
20
+ var recommended_default = prefixary({
21
+ "constructor-super": "warn",
22
+ "for-direction": "warn",
23
+ "getter-return": "warn",
24
+ "no-async-promise-executor": "warn",
25
+ "no-case-declarations": "warn",
26
+ "no-class-assign": "warn",
27
+ "no-compare-neg-zero": "warn",
28
+ "no-cond-assign": "off",
29
+ "no-const-assign": "warn",
30
+ "no-constant-binary-expression": "warn",
31
+ "no-constant-condition": ["warn", {
32
+ checkLoops: false
33
+ }],
34
+ "no-control-regex": "warn",
35
+ "no-debugger": "warn",
36
+ "no-delete-var": "warn",
37
+ "no-dupe-args": "warn",
38
+ "no-dupe-class-members": "warn",
39
+ "no-dupe-else-if": "warn",
40
+ "no-dupe-keys": "warn",
41
+ "no-duplicate-case": "warn",
42
+ "no-empty": "warn",
43
+ "no-empty-character-class": "warn",
44
+ "no-empty-static-block": "warn",
45
+ "no-empty-pattern": "warn",
46
+ "no-ex-assign": "warn",
47
+ "no-extra-boolean-cast": "warn",
48
+ "no-fallthrough": "off",
49
+ "no-func-assign": "warn",
50
+ "no-global-assign": "warn",
51
+ "no-import-assign": "warn",
52
+ "no-invalid-regexp": "warn",
53
+ "no-irregular-whitespace": "warn",
54
+ "no-loss-of-precision": "warn",
55
+ "no-misleading-character-class": "warn",
56
+ "no-new-native-nonconstructor": "warn",
57
+ "no-nonoctal-decimal-escape": "warn",
58
+ "no-obj-calls": "warn",
59
+ "no-octal": "warn",
60
+ "no-prototype-builtins": "warn",
61
+ "no-redeclare": "warn",
62
+ "no-regex-spaces": "warn",
63
+ "no-self-assign": "warn",
64
+ "no-setter-return": "warn",
65
+ "no-shadow-restricted-names": "warn",
66
+ "no-sparse-arrays": "warn",
67
+ "no-this-before-super": "warn",
68
+ "no-undef": "off",
69
+ "no-unexpected-multiline": "warn",
70
+ "no-unreachable": "warn",
71
+ "no-unsafe-finally": "warn",
72
+ "no-unsafe-negation": ["warn", {
73
+ enforceForOrderingRelations: true
74
+ }],
75
+ "no-unsafe-optional-chaining": "warn",
76
+ "no-unused-labels": "warn",
77
+ "no-unused-private-class-members": "warn",
78
+ "no-unused-vars": "off",
79
+ "no-useless-backreference": "warn",
80
+ "no-useless-catch": "warn",
81
+ "no-useless-escape": "warn",
82
+ "no-with": "warn",
83
+ "require-yield": "warn",
84
+ "use-isnan": ["warn", {
85
+ enforceForIndexOf: true
86
+ }],
87
+ "valid-typeof": "warn"
88
+ });
89
+
90
+ // src/lib/standard.ts
91
+ var standard_default = prefixary({
92
+ "accessor-pairs": "warn",
93
+ "array-callback-return": "warn",
94
+ "arrow-body-style": "off",
95
+ "block-scoped-var": "warn",
96
+ "camelcase": "off",
97
+ "capitalized-comments": "off",
98
+ "class-methods-use-this": "off",
99
+ "complexity": "off",
100
+ "consistent-return": "off",
101
+ "curly": ["warn", "multi-line"],
102
+ "default-case": "off",
103
+ "default-case-last": "warn",
104
+ "default-param-last": "warn",
105
+ "dot-notation": ["warn", {
106
+ allowPattern: "^[a-z]+(_[a-z]+)+$"
107
+ }],
108
+ "eqeqeq": ["warn", "smart"],
109
+ "func-name-matching": "off",
110
+ "func-names": "off",
111
+ "func-style": ["warn", "declaration", {
112
+ allowArrowFunctions: true
113
+ }],
114
+ "grouped-accessor-pairs": "off",
115
+ "guard-for-in": "off",
116
+ "id-denylist": "off",
117
+ "id-length": "off",
118
+ "id-match": "off",
119
+ "init-declarations": "off",
120
+ "logical-assignment-operators": "warn",
121
+ "max-classes-per-file": "off",
122
+ "max-depth": "off",
123
+ "max-lines": "off",
124
+ "max-lines-per-function": "off",
125
+ "max-nested-callbacks": "off",
126
+ "max-params": "off",
127
+ "max-statements": "off",
128
+ "multiline-comment-style": "warn",
129
+ "new-cap": "warn",
130
+ "no-alert": "warn",
131
+ "no-array-constructor": "warn",
132
+ "no-await-in-loop": "off",
133
+ "no-bitwise": "off",
134
+ "no-caller": "off",
135
+ "no-console": "off",
136
+ "no-constructor-return": "warn",
137
+ "no-continue": "off",
138
+ "no-div-regex": "off",
139
+ "no-duplicate-imports": "warn",
140
+ "no-else-return": "off",
141
+ "no-empty-function": "off",
142
+ "no-eq-null": "off",
143
+ "no-eval": "warn",
144
+ "no-extend-native": "warn",
145
+ "no-extra-bind": "warn",
146
+ "no-extra-label": "off",
147
+ "no-implicit-coercion": "off",
148
+ "no-implicit-globals": "off",
149
+ "no-implied-eval": "warn",
150
+ "no-inline-comments": "off",
151
+ "no-inner-declarations": "off",
152
+ "no-invalid-this": "off",
153
+ "no-iterator": "warn",
154
+ "no-label-var": "off",
155
+ "no-labels": "warn",
156
+ "no-lone-blocks": "warn",
157
+ "no-lonely-if": "warn",
158
+ "no-loop-func": "warn",
159
+ "no-magic-numbers": "off",
160
+ "no-multi-assign": ["warn", {
161
+ ignoreNonDeclaration: true
162
+ }],
163
+ "no-multi-str": "warn",
164
+ "no-negated-condition": "off",
165
+ "no-nested-ternary": "off",
166
+ "no-new": "warn",
167
+ "no-new-func": "warn",
168
+ "no-new-wrappers": "warn",
169
+ "no-object-constructor": "warn",
170
+ "no-octal-escape": "warn",
171
+ "no-param-reassign": "off",
172
+ "no-plusplus": "off",
173
+ "no-promise-executor-return": "warn",
174
+ "no-proto": "warn",
175
+ "no-restricted-exports": "off",
176
+ "no-restricted-globals": "off",
177
+ "no-restricted-imports": "off",
178
+ "no-restricted-properties": "off",
179
+ "no-restricted-syntax": "off",
180
+ "no-return-assign": "warn",
181
+ "no-script-url": "off",
182
+ "no-self-compare": "warn",
183
+ "no-sequences": "off",
184
+ "no-shadow": "off",
185
+ "no-template-curly-in-string": "off",
186
+ "no-ternary": "off",
187
+ "no-throw-literal": "off",
188
+ "no-undef-init": "warn",
189
+ "no-undefined": "warn",
190
+ "no-underscore-dangle": "off",
191
+ "no-unmodified-loop-condition": "warn",
192
+ "no-unneeded-ternary": ["warn", {
193
+ defaultAssignment: false
194
+ }],
195
+ "no-unreachable-loop": "warn",
196
+ "no-unused-expressions": "off",
197
+ "no-unused-private-class-members": "warn",
198
+ "no-use-before-define": "off",
199
+ "no-useless-assignment": "off",
200
+ "no-useless-call": "warn",
201
+ "no-useless-computed-key": "warn",
202
+ "no-useless-concat": "warn",
203
+ "no-useless-constructor": "warn",
204
+ "no-useless-rename": "warn",
205
+ "no-useless-return": "warn",
206
+ "no-var": "warn",
207
+ "no-void": "off",
208
+ "no-warning-comments": "off",
209
+ "object-shorthand": ["warn", "methods"],
210
+ "one-var": ["warn", {
211
+ uninitialized: "consecutive"
212
+ }],
213
+ "operator-assignment": ["warn", "always"],
214
+ "prefer-arrow-callback": ["warn", {
215
+ allowNamedFunctions: false,
216
+ allowUnboundThis: true
217
+ }],
218
+ "prefer-const": ["warn", {
219
+ destructuring: "all",
220
+ ignoreReadBeforeAssign: false
221
+ }],
222
+ "prefer-destructuring": "off",
223
+ "prefer-exponentiation-operator": "warn",
224
+ "prefer-named-capture-group": "off",
225
+ "prefer-numeric-literals": "warn",
226
+ "prefer-object-has-own": "warn",
227
+ "prefer-object-spread": "warn",
228
+ "prefer-promise-reject-errors": "warn",
229
+ "prefer-regex-literals": ["warn", {
230
+ disallowRedundantWrapping: true
231
+ }],
232
+ "prefer-rest-params": "warn",
233
+ "prefer-spread": "warn",
234
+ "prefer-template": "off",
235
+ "radix": "off",
236
+ "require-atomic-updates": "off",
237
+ "require-await": "off",
238
+ "require-unicode-regexp": "off",
239
+ "sort-imports": "warn",
240
+ "sort-keys": "off",
241
+ "sort-vars": "off",
242
+ "strict": "off",
243
+ "symbol-description": "off",
244
+ "vars-on-top": "warn",
245
+ "yoda": ["warn", "never", {
246
+ exceptRange: true
247
+ }]
248
+ });
249
+
250
+ // src/lib/stylistic.ts
251
+ var stylistic_default = prefixary("style", {
252
+ "array-element-newline": ["warn", "consistent"],
253
+ "arrow-parens": ["warn", "always"],
254
+ "arrow-spacing": ["warn", {
255
+ before: true,
256
+ after: true
257
+ }],
258
+ "block-spacing": ["warn", "always"],
259
+ "brace-style": ["warn", "stroustrup"],
260
+ "comma-dangle": ["warn", "never"],
261
+ "comma-spacing": ["warn", {
262
+ before: false,
263
+ after: true
264
+ }],
265
+ "comma-style": ["warn", "last"],
266
+ "computed-property-spacing": ["warn", "never"],
267
+ "dot-location": ["warn", "property"],
268
+ "eol-last": ["warn", "never"],
269
+ "function-call-argument-newline": ["warn", "consistent"],
270
+ "function-call-spacing": ["warn", "never"],
271
+ "function-paren-newline": ["warn", "consistent"],
272
+ "implicit-arrow-linebreak": ["warn", "beside"],
273
+ "indent": "off",
274
+ "indent-binary-ops": "off",
275
+ "generator-star-spacing": ["warn", {
276
+ named: {
277
+ before: false,
278
+ after: true
279
+ },
280
+ anonymous: {
281
+ before: true,
282
+ after: false
283
+ },
284
+ method: {
285
+ before: true,
286
+ after: true
287
+ }
288
+ }],
289
+ "jsx-quotes": ["warn", "prefer-double"],
290
+ "key-spacing": ["warn", {
291
+ beforeColon: false,
292
+ afterColon: true,
293
+ mode: "strict"
294
+ }],
295
+ "keyword-spacing": ["warn", {
296
+ before: true,
297
+ after: true
298
+ }],
299
+ "linebreak-style": ["warn", "unix"],
300
+ "lines-between-class-members": ["warn", "always", {
301
+ exceptAfterSingleLine: true
302
+ }],
303
+ "member-delimiter-style": ["warn", {
304
+ multiline: {
305
+ delimiter: "semi",
306
+ requireLast: true
307
+ }
308
+ }],
309
+ "multiline-ternary": "off",
310
+ "new-parens": "warn",
311
+ "no-confusing-arrow": "warn",
312
+ "no-extra-parens": ["warn", "functions"],
313
+ "no-extra-semi": "warn",
314
+ "no-floating-decimal": "warn",
315
+ "no-mixed-operators": "off",
316
+ "no-mixed-spaces-and-tabs": "warn",
317
+ "no-multi-spaces": ["warn", {
318
+ ignoreEOLComments: true
319
+ }],
320
+ "no-multiple-empty-lines": ["warn", {
321
+ max: 1
322
+ }],
323
+ "no-tabs": "warn",
324
+ "no-trailing-spaces": "warn",
325
+ "no-whitespace-before-property": "warn",
326
+ "nonblock-statement-body-position": ["warn", "beside"],
327
+ "object-curly-newline": "warn",
328
+ "object-curly-spacing": ["warn", "always"],
329
+ "object-property-newline": ["warn", {
330
+ allowAllPropertiesOnSameLine: true
331
+ }],
332
+ "operator-linebreak": "off",
333
+ "padded-blocks": ["warn", "never"],
334
+ "quote-props": ["warn", "as-needed"],
335
+ "quotes": ["warn", "double", {
336
+ allowTemplateLiterals: true
337
+ }],
338
+ "rest-spread-spacing": ["warn", "never"],
339
+ "semi": ["warn", "always"],
340
+ "semi-spacing": ["warn", {
341
+ before: false,
342
+ after: true
343
+ }],
344
+ "semi-style": ["warn", "last"],
345
+ "space-before-blocks": ["warn", "always"],
346
+ "space-before-function-paren": ["warn", {
347
+ named: "never",
348
+ anonymous: "never",
349
+ asyncArrow: "always"
350
+ }],
351
+ "space-in-parens": ["warn", "never"],
352
+ "space-infix-ops": "warn",
353
+ "space-unary-ops": "warn",
354
+ "spaced-comment": "off",
355
+ "switch-colon-spacing": ["warn", {
356
+ before: false,
357
+ after: true
358
+ }],
359
+ "template-curly-spacing": ["warn", "never"],
360
+ "template-tag-spacing": ["warn", "never"],
361
+ "type-annotation-spacing": ["warn", {
362
+ before: false,
363
+ after: true,
364
+ overrides: {
365
+ arrow: {
366
+ before: true
367
+ }
368
+ }
369
+ }],
370
+ "type-generic-spacing": "warn",
371
+ "type-named-tuple-spacing": "warn",
372
+ "wrap-iife": ["warn", "inside", {
373
+ functionPrototypeMethods: true
374
+ }],
375
+ "yield-star-spacing": ["warn", "after"]
376
+ });
377
+
378
+ // src/lib/vue.ts
379
+ var vue_default = prefixary("vue", {
380
+ "attribute-hyphenation": "warn",
381
+ "attributes-order": ["warn", {
382
+ order: [
383
+ "LIST_RENDERING",
384
+ "CONDITIONALS",
385
+ "RENDER_MODIFIERS",
386
+ "OTHER_DIRECTIVES",
387
+ "SLOT",
388
+ "DEFINITION",
389
+ "UNIQUE",
390
+ "GLOBAL",
391
+ ["ATTR_DYNAMIC", "ATTR_STATIC", "ATTR_SHORTHAND_BOOL"],
392
+ "TWO_WAY_BINDING",
393
+ "EVENTS",
394
+ "CONTENT"
395
+ ]
396
+ }],
397
+ "comma-dangle": ["warn", "never"],
398
+ "component-definition-name-casing": ["warn", "kebab-case"],
399
+ "first-attribute-linebreak": ["warn", {
400
+ singleline: "beside",
401
+ multiline: "below"
402
+ }],
403
+ "html-closing-bracket-newline": ["warn", {
404
+ singleline: "never",
405
+ multiline: "always"
406
+ }],
407
+ "html-closing-bracket-spacing": "off",
408
+ "html-indent": "off",
409
+ "html-quotes": ["warn", "double"],
410
+ "html-self-closing": ["warn", {
411
+ html: {
412
+ void: "always",
413
+ normal: "never",
414
+ component: "always"
415
+ },
416
+ svg: "always",
417
+ math: "always"
418
+ }],
419
+ "multiline-html-element-content-newline": "off",
420
+ "mustache-interpolation-spacing": ["warn", "always"],
421
+ "no-dupe-keys": "warn",
422
+ "no-dupe-v-else-if": "warn",
423
+ "no-duplicate-attributes": "warn",
424
+ "no-export-in-script-setup": "warn",
425
+ "no-expose-after-await": "warn",
426
+ "no-lifecycle-after-await": "warn",
427
+ "no-lone-template": "warn",
428
+ "no-mutating-props": "warn",
429
+ "no-multiple-slot-args": "warn",
430
+ "no-multi-spaces": "warn",
431
+ "no-ref-as-operand": "warn",
432
+ "no-reserved-component-names": "warn",
433
+ "no-reserved-keys": "warn",
434
+ "no-reserved-props": "warn",
435
+ "no-side-effects-in-computed-properties": "warn",
436
+ "no-spaces-around-equal-signs-in-attribute": "warn",
437
+ "no-template-key": "warn",
438
+ "no-template-shadow": "warn",
439
+ "no-textarea-mustache": "warn",
440
+ "no-unused-vars": "warn",
441
+ "no-use-computed-property-like-method": "warn",
442
+ "no-use-v-if-with-v-for": "warn",
443
+ "no-useless-template-attributes": "warn",
444
+ "no-v-for-template-key-on-child": "warn",
445
+ "no-v-text-v-html-on-component": "warn",
446
+ "no-watch-after-await": "warn",
447
+ "one-component-per-file": "warn",
448
+ "operator-linebreak": "off",
449
+ "prefer-import-from-vue": "warn",
450
+ "prefer-template": "warn",
451
+ "prop-name-casing": ["warn", "camelCase"],
452
+ "require-component-is": "warn",
453
+ "require-explicit-emits": "warn",
454
+ "require-prop-type-constructor": "warn",
455
+ "require-render-return": "warn",
456
+ "require-slots-as-functions": "warn",
457
+ "require-toggle-inside-transition": "warn",
458
+ "require-valid-default-prop": "warn",
459
+ "require-v-for-key": "off",
460
+ "return-in-computed-property": "warn",
461
+ "return-in-emits-validator": "warn",
462
+ "singleline-html-element-content-newline": "off",
463
+ "this-in-template": ["warn", "never"],
464
+ "use-v-on-exact": "warn",
465
+ "valid-attribute-name": "warn",
466
+ "valid-define-emits": "warn",
467
+ "valid-define-props": "warn",
468
+ "valid-next-tick": "warn",
469
+ "valid-template-root": "off",
470
+ "valid-v-bind": "warn",
471
+ "valid-v-cloak": "warn",
472
+ "valid-v-else-if": "warn",
473
+ "valid-v-else": "warn",
474
+ "valid-v-for": "off",
475
+ "valid-v-html": "warn",
476
+ "valid-v-if": "warn",
477
+ "valid-v-memo": "warn",
478
+ "valid-v-model": "warn",
479
+ "valid-v-on": "warn",
480
+ "valid-v-once": "warn",
481
+ "valid-v-pre": "warn",
482
+ "valid-v-show": "warn",
483
+ "valid-v-slot": "warn",
484
+ "valid-v-text": "warn",
485
+ "v-bind-style": ["warn", "shorthand"],
486
+ "v-on-style": ["warn", "shorthand"]
487
+ });
488
+
489
+ // src/index.ts
490
+ var src_default = {
491
+ patch: patch_default,
492
+ recommended: recommended_default,
493
+ standard: standard_default,
494
+ stylistic: stylistic_default,
495
+ vue: vue_default
496
+ };
497
+ export {
498
+ src_default as default
499
+ };
package/package.json CHANGED
@@ -1,12 +1,34 @@
1
1
  {
2
2
  "name": "@zinkawaii/eslint-config",
3
- "version": "0.0.1",
4
- "main": "index.js",
3
+ "version": "0.1.0",
5
4
  "author": "KazariEX",
6
5
  "license": "MIT",
7
6
  "repository": {
8
7
  "type": "git",
9
8
  "url": "https://github.com/KazariEX/eslint-config.git"
10
9
  },
11
- "type": "module"
10
+ "type": "module",
11
+ "files": [
12
+ "dist",
13
+ "LICENSE"
14
+ ],
15
+ "main": "dist/index.js",
16
+ "types": "dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.cjs"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "build": "tsup",
25
+ "watch": "tsup --watch"
26
+ },
27
+ "devDependencies": {
28
+ "@antfu/eslint-config": "^2.15.0",
29
+ "tsup": "^8.0.2"
30
+ },
31
+ "peerDependencies": {
32
+ "@antfu/eslint-config": "^2.15.0"
33
+ }
12
34
  }
package/index.js DELETED
@@ -1,11 +0,0 @@
1
- export recommended from "./lib/recommended.js";
2
- import standard from "./lib/standard.js";
3
- import stylistic from "./lib/stylistic.js";
4
- import vue from "./lib/vue.js";
5
-
6
- export default {
7
- recommended,
8
- standard,
9
- stylistic,
10
- vue
11
- };