@kazupon/eslint-config 0.14.1 → 0.16.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.
- package/README.md +25 -21
- package/dist/configs/imports.d.cts +16 -0
- package/dist/configs/imports.d.ts +16 -0
- package/dist/configs/index.d.cts +2 -0
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/vitest.d.cts +22 -0
- package/dist/configs/vitest.d.ts +22 -0
- package/dist/configs/vue.d.cts +18 -3
- package/dist/configs/vue.d.ts +18 -3
- package/dist/globs.d.cts +2 -0
- package/dist/globs.d.ts +2 -0
- package/dist/index.cjs +116 -4
- package/dist/index.js +105 -5
- package/dist/types/gens/eslint.d.cts +3 -1
- package/dist/types/gens/eslint.d.ts +3 -1
- package/dist/types/gens/imports.d.cts +42 -0
- package/dist/types/gens/imports.d.ts +42 -0
- package/dist/types/gens/vitest.d.cts +377 -0
- package/dist/types/gens/vitest.d.ts +377 -0
- package/dist/types/gens/vue.d.cts +281 -0
- package/dist/types/gens/vue.d.ts +281 -0
- package/dist/types/index.d.cts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +28 -3
package/dist/types/gens/vue.d.ts
CHANGED
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
import type { Linter } from 'eslint';
|
|
2
2
|
export interface VueRules {
|
|
3
|
+
'vue-composable/composable-placement'?: Linter.RuleEntry<[]>;
|
|
4
|
+
'vue-composable/lifecycle-placement'?: Linter.RuleEntry<[]>;
|
|
5
|
+
/**
|
|
6
|
+
* enforce the `<style>` tags to be plain or have the `scoped` or `module` attribute
|
|
7
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/enforce-style-type.html
|
|
8
|
+
*/
|
|
9
|
+
'vue-scoped-css/enforce-style-type'?: Linter.RuleEntry<VueScopedCssEnforceStyleType>;
|
|
10
|
+
/**
|
|
11
|
+
* disallow using deprecated deep combinators
|
|
12
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-deprecated-deep-combinator.html
|
|
13
|
+
*/
|
|
14
|
+
'vue-scoped-css/no-deprecated-deep-combinator'?: Linter.RuleEntry<[]>;
|
|
15
|
+
/**
|
|
16
|
+
* disallow v-enter and v-leave classes.
|
|
17
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-deprecated-v-enter-v-leave-class.html
|
|
18
|
+
*/
|
|
19
|
+
'vue-scoped-css/no-deprecated-v-enter-v-leave-class'?: Linter.RuleEntry<[]>;
|
|
20
|
+
/**
|
|
21
|
+
* disallow parent selector for `::v-global` pseudo-element
|
|
22
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-parent-of-v-global.html
|
|
23
|
+
*/
|
|
24
|
+
'vue-scoped-css/no-parent-of-v-global'?: Linter.RuleEntry<[]>;
|
|
25
|
+
/**
|
|
26
|
+
* disallow parsing errors in `<style>`
|
|
27
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-parsing-error.html
|
|
28
|
+
*/
|
|
29
|
+
'vue-scoped-css/no-parsing-error'?: Linter.RuleEntry<[]>;
|
|
30
|
+
/**
|
|
31
|
+
* disallow `@keyframes` which don't use in Scoped CSS
|
|
32
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-unused-keyframes.html
|
|
33
|
+
*/
|
|
34
|
+
'vue-scoped-css/no-unused-keyframes'?: Linter.RuleEntry<VueScopedCssNoUnusedKeyframes>;
|
|
35
|
+
/**
|
|
36
|
+
* disallow selectors defined in Scoped CSS that don't use in `<template>`
|
|
37
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/no-unused-selector.html
|
|
38
|
+
*/
|
|
39
|
+
'vue-scoped-css/no-unused-selector'?: Linter.RuleEntry<VueScopedCssNoUnusedSelector>;
|
|
40
|
+
/**
|
|
41
|
+
* enforce the `<style>` tags to has the `scoped` attribute
|
|
42
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-scoped.html
|
|
43
|
+
* @deprecated
|
|
44
|
+
*/
|
|
45
|
+
'vue-scoped-css/require-scoped'?: Linter.RuleEntry<VueScopedCssRequireScoped>;
|
|
46
|
+
/**
|
|
47
|
+
* disallow selectors defined that is not used inside `<template>`
|
|
48
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-selector-used-inside.html
|
|
49
|
+
*/
|
|
50
|
+
'vue-scoped-css/require-selector-used-inside'?: Linter.RuleEntry<VueScopedCssRequireSelectorUsedInside>;
|
|
51
|
+
/**
|
|
52
|
+
* require selector argument to be passed to `::v-deep()`
|
|
53
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-v-deep-argument.html
|
|
54
|
+
*/
|
|
55
|
+
'vue-scoped-css/require-v-deep-argument'?: Linter.RuleEntry<[]>;
|
|
56
|
+
/**
|
|
57
|
+
* require selector argument to be passed to `::v-global()`
|
|
58
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-v-global-argument.html
|
|
59
|
+
*/
|
|
60
|
+
'vue-scoped-css/require-v-global-argument'?: Linter.RuleEntry<[]>;
|
|
61
|
+
/**
|
|
62
|
+
* require selector argument to be passed to `::v-slotted()`
|
|
63
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/require-v-slotted-argument.html
|
|
64
|
+
*/
|
|
65
|
+
'vue-scoped-css/require-v-slotted-argument'?: Linter.RuleEntry<[]>;
|
|
66
|
+
/**
|
|
67
|
+
* enforce `:deep()`/`::v-deep()` style
|
|
68
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/v-deep-pseudo-style.html
|
|
69
|
+
*/
|
|
70
|
+
'vue-scoped-css/v-deep-pseudo-style'?: Linter.RuleEntry<VueScopedCssVDeepPseudoStyle>;
|
|
71
|
+
/**
|
|
72
|
+
* enforce `:global()`/`::v-global()` style
|
|
73
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/v-global-pseudo-style.html
|
|
74
|
+
*/
|
|
75
|
+
'vue-scoped-css/v-global-pseudo-style'?: Linter.RuleEntry<VueScopedCssVGlobalPseudoStyle>;
|
|
76
|
+
/**
|
|
77
|
+
* enforce `:slotted()`/`::v-slotted()` style
|
|
78
|
+
* @see https://future-architect.github.io/eslint-plugin-vue-scoped-css/rules/v-slotted-pseudo-style.html
|
|
79
|
+
*/
|
|
80
|
+
'vue-scoped-css/v-slotted-pseudo-style'?: Linter.RuleEntry<VueScopedCssVSlottedPseudoStyle>;
|
|
3
81
|
/**
|
|
4
82
|
* Enforce linebreaks after opening and before closing array brackets in `<template>`
|
|
5
83
|
* @see https://eslint.vuejs.org/rules/array-bracket-newline.html
|
|
@@ -1211,7 +1289,128 @@ export interface VueRules {
|
|
|
1211
1289
|
* @see https://eslint.vuejs.org/rules/valid-v-text.html
|
|
1212
1290
|
*/
|
|
1213
1291
|
'vue/valid-v-text'?: Linter.RuleEntry<[]>;
|
|
1292
|
+
/**
|
|
1293
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/alt-text.html
|
|
1294
|
+
*/
|
|
1295
|
+
'vuejs-accessibility/alt-text'?: Linter.RuleEntry<VuejsAccessibilityAltText>;
|
|
1296
|
+
/**
|
|
1297
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/anchor-has-content.html
|
|
1298
|
+
*/
|
|
1299
|
+
'vuejs-accessibility/anchor-has-content'?: Linter.RuleEntry<VuejsAccessibilityAnchorHasContent>;
|
|
1300
|
+
/**
|
|
1301
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/aria-props.html
|
|
1302
|
+
*/
|
|
1303
|
+
'vuejs-accessibility/aria-props'?: Linter.RuleEntry<[]>;
|
|
1304
|
+
/**
|
|
1305
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/aria-role.html
|
|
1306
|
+
*/
|
|
1307
|
+
'vuejs-accessibility/aria-role'?: Linter.RuleEntry<VuejsAccessibilityAriaRole>;
|
|
1308
|
+
/**
|
|
1309
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/aria-unsupported-elements.html
|
|
1310
|
+
*/
|
|
1311
|
+
'vuejs-accessibility/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
|
|
1312
|
+
/**
|
|
1313
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/click-events-have-key-events.html
|
|
1314
|
+
*/
|
|
1315
|
+
'vuejs-accessibility/click-events-have-key-events'?: Linter.RuleEntry<[]>;
|
|
1316
|
+
/**
|
|
1317
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/form-control-has-label.html
|
|
1318
|
+
*/
|
|
1319
|
+
'vuejs-accessibility/form-control-has-label'?: Linter.RuleEntry<VuejsAccessibilityFormControlHasLabel>;
|
|
1320
|
+
/**
|
|
1321
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/heading-has-content.html
|
|
1322
|
+
*/
|
|
1323
|
+
'vuejs-accessibility/heading-has-content'?: Linter.RuleEntry<VuejsAccessibilityHeadingHasContent>;
|
|
1324
|
+
/**
|
|
1325
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/iframe-has-title.html
|
|
1326
|
+
*/
|
|
1327
|
+
'vuejs-accessibility/iframe-has-title'?: Linter.RuleEntry<[]>;
|
|
1328
|
+
/**
|
|
1329
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/interactive-supports-focus.html
|
|
1330
|
+
*/
|
|
1331
|
+
'vuejs-accessibility/interactive-supports-focus'?: Linter.RuleEntry<VuejsAccessibilityInteractiveSupportsFocus>;
|
|
1332
|
+
/**
|
|
1333
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/label-has-for.html
|
|
1334
|
+
*/
|
|
1335
|
+
'vuejs-accessibility/label-has-for'?: Linter.RuleEntry<VuejsAccessibilityLabelHasFor>;
|
|
1336
|
+
/**
|
|
1337
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/media-has-caption.html
|
|
1338
|
+
*/
|
|
1339
|
+
'vuejs-accessibility/media-has-caption'?: Linter.RuleEntry<VuejsAccessibilityMediaHasCaption>;
|
|
1340
|
+
/**
|
|
1341
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/mouse-events-have-key-events.html
|
|
1342
|
+
*/
|
|
1343
|
+
'vuejs-accessibility/mouse-events-have-key-events'?: Linter.RuleEntry<[]>;
|
|
1344
|
+
/**
|
|
1345
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-access-key.html
|
|
1346
|
+
*/
|
|
1347
|
+
'vuejs-accessibility/no-access-key'?: Linter.RuleEntry<[]>;
|
|
1348
|
+
/**
|
|
1349
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-aria-hidden-on-focusable.html
|
|
1350
|
+
*/
|
|
1351
|
+
'vuejs-accessibility/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
|
|
1352
|
+
/**
|
|
1353
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-autofocus.html
|
|
1354
|
+
*/
|
|
1355
|
+
'vuejs-accessibility/no-autofocus'?: Linter.RuleEntry<VuejsAccessibilityNoAutofocus>;
|
|
1356
|
+
/**
|
|
1357
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-distracting-elements.html
|
|
1358
|
+
*/
|
|
1359
|
+
'vuejs-accessibility/no-distracting-elements'?: Linter.RuleEntry<VuejsAccessibilityNoDistractingElements>;
|
|
1360
|
+
/**
|
|
1361
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-onchange.html
|
|
1362
|
+
* @deprecated
|
|
1363
|
+
*/
|
|
1364
|
+
'vuejs-accessibility/no-onchange'?: Linter.RuleEntry<[]>;
|
|
1365
|
+
/**
|
|
1366
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-redundant-roles.html
|
|
1367
|
+
*/
|
|
1368
|
+
'vuejs-accessibility/no-redundant-roles'?: Linter.RuleEntry<VuejsAccessibilityNoRedundantRoles>;
|
|
1369
|
+
/**
|
|
1370
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-role-presentation-on-focusable.html
|
|
1371
|
+
*/
|
|
1372
|
+
'vuejs-accessibility/no-role-presentation-on-focusable'?: Linter.RuleEntry<[]>;
|
|
1373
|
+
/**
|
|
1374
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/no-static-element-interactions.html
|
|
1375
|
+
*/
|
|
1376
|
+
'vuejs-accessibility/no-static-element-interactions'?: Linter.RuleEntry<[]>;
|
|
1377
|
+
/**
|
|
1378
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/role-has-required-aria-props.html
|
|
1379
|
+
*/
|
|
1380
|
+
'vuejs-accessibility/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
|
|
1381
|
+
/**
|
|
1382
|
+
* @see https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/rules/tabindex-no-positive.html
|
|
1383
|
+
*/
|
|
1384
|
+
'vuejs-accessibility/tabindex-no-positive'?: Linter.RuleEntry<[]>;
|
|
1214
1385
|
}
|
|
1386
|
+
type VueScopedCssEnforceStyleType = [] | [
|
|
1387
|
+
{
|
|
1388
|
+
allows?: [("plain" | "scoped" | "module"), ...(("plain" | "scoped" | "module"))[]];
|
|
1389
|
+
}
|
|
1390
|
+
];
|
|
1391
|
+
type VueScopedCssNoUnusedKeyframes = [] | [
|
|
1392
|
+
{
|
|
1393
|
+
checkUnscoped?: boolean;
|
|
1394
|
+
}
|
|
1395
|
+
];
|
|
1396
|
+
type VueScopedCssNoUnusedSelector = [] | [
|
|
1397
|
+
{
|
|
1398
|
+
ignoreBEMModifier?: boolean;
|
|
1399
|
+
captureClassesFromDoc?: [] | [string];
|
|
1400
|
+
checkUnscoped?: boolean;
|
|
1401
|
+
}
|
|
1402
|
+
];
|
|
1403
|
+
type VueScopedCssRequireScoped = [] | [("always" | "never")];
|
|
1404
|
+
type VueScopedCssRequireSelectorUsedInside = [] | [
|
|
1405
|
+
{
|
|
1406
|
+
ignoreBEMModifier?: boolean;
|
|
1407
|
+
captureClassesFromDoc?: [] | [string];
|
|
1408
|
+
checkUnscoped?: boolean;
|
|
1409
|
+
}
|
|
1410
|
+
];
|
|
1411
|
+
type VueScopedCssVDeepPseudoStyle = [] | [(":deep" | "::v-deep")];
|
|
1412
|
+
type VueScopedCssVGlobalPseudoStyle = [] | [(":global" | "::v-global")];
|
|
1413
|
+
type VueScopedCssVSlottedPseudoStyle = [] | [(":slotted" | "::v-slotted")];
|
|
1215
1414
|
type VueArrayBracketNewline = [] | [
|
|
1216
1415
|
(("always" | "never" | "consistent") | {
|
|
1217
1416
|
multiline?: boolean;
|
|
@@ -2462,4 +2661,86 @@ type VueValidVSlot = [] | [
|
|
|
2462
2661
|
allowModifiers?: boolean;
|
|
2463
2662
|
}
|
|
2464
2663
|
];
|
|
2664
|
+
type VuejsAccessibilityAltText = [] | [
|
|
2665
|
+
{
|
|
2666
|
+
elements?: string[];
|
|
2667
|
+
img?: string[];
|
|
2668
|
+
object?: string[];
|
|
2669
|
+
area?: string[];
|
|
2670
|
+
"input[type=\"image\"]"?: string[];
|
|
2671
|
+
[k: string]: unknown | undefined;
|
|
2672
|
+
}
|
|
2673
|
+
];
|
|
2674
|
+
type VuejsAccessibilityAnchorHasContent = [] | [
|
|
2675
|
+
{
|
|
2676
|
+
components?: string[];
|
|
2677
|
+
accessibleChildren?: string[];
|
|
2678
|
+
accessibleDirectives?: string[];
|
|
2679
|
+
[k: string]: unknown | undefined;
|
|
2680
|
+
}
|
|
2681
|
+
];
|
|
2682
|
+
type VuejsAccessibilityAriaRole = [] | [
|
|
2683
|
+
{
|
|
2684
|
+
ignoreNonDOM?: boolean;
|
|
2685
|
+
}
|
|
2686
|
+
];
|
|
2687
|
+
type VuejsAccessibilityFormControlHasLabel = [] | [
|
|
2688
|
+
{
|
|
2689
|
+
labelComponents?: string[];
|
|
2690
|
+
controlComponents?: string[];
|
|
2691
|
+
[k: string]: unknown | undefined;
|
|
2692
|
+
}
|
|
2693
|
+
];
|
|
2694
|
+
type VuejsAccessibilityHeadingHasContent = [] | [
|
|
2695
|
+
{
|
|
2696
|
+
components?: string[];
|
|
2697
|
+
accessibleChildren?: string[];
|
|
2698
|
+
accessibleDirectives?: string[];
|
|
2699
|
+
[k: string]: unknown | undefined;
|
|
2700
|
+
}
|
|
2701
|
+
];
|
|
2702
|
+
type VuejsAccessibilityInteractiveSupportsFocus = [] | [
|
|
2703
|
+
{
|
|
2704
|
+
tabbable?: ("button" | "checkbox" | "columnheader" | "combobox" | "grid" | "gridcell" | "link" | "listbox" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "progressbar" | "radio" | "radiogroup" | "row" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "switch" | "tab" | "tablist" | "textbox" | "tree" | "treegrid" | "treeitem" | "doc-backlink" | "doc-biblioref" | "doc-glossref" | "doc-noteref")[];
|
|
2705
|
+
[k: string]: unknown | undefined;
|
|
2706
|
+
}
|
|
2707
|
+
];
|
|
2708
|
+
type VuejsAccessibilityLabelHasFor = [] | [
|
|
2709
|
+
{
|
|
2710
|
+
components?: string[];
|
|
2711
|
+
controlComponents?: string[];
|
|
2712
|
+
required?: (("nesting" | "id") | {
|
|
2713
|
+
some: ("nesting" | "id")[];
|
|
2714
|
+
[k: string]: unknown | undefined;
|
|
2715
|
+
} | {
|
|
2716
|
+
every: ("nesting" | "id")[];
|
|
2717
|
+
[k: string]: unknown | undefined;
|
|
2718
|
+
});
|
|
2719
|
+
allowChildren?: boolean;
|
|
2720
|
+
[k: string]: unknown | undefined;
|
|
2721
|
+
}
|
|
2722
|
+
];
|
|
2723
|
+
type VuejsAccessibilityMediaHasCaption = [] | [
|
|
2724
|
+
{
|
|
2725
|
+
audio?: string[];
|
|
2726
|
+
track?: string[];
|
|
2727
|
+
video?: string[];
|
|
2728
|
+
[k: string]: unknown | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
];
|
|
2731
|
+
type VuejsAccessibilityNoAutofocus = [] | [
|
|
2732
|
+
{
|
|
2733
|
+
ignoreNonDOM?: boolean;
|
|
2734
|
+
}
|
|
2735
|
+
];
|
|
2736
|
+
type VuejsAccessibilityNoDistractingElements = [] | [
|
|
2737
|
+
{
|
|
2738
|
+
[k: string]: unknown | undefined;
|
|
2739
|
+
}
|
|
2740
|
+
];
|
|
2741
|
+
type VuejsAccessibilityNoRedundantRoles = [] | [
|
|
2742
|
+
{
|
|
2743
|
+
[k: string]: string[] | undefined;
|
|
2744
|
+
}
|
|
2745
|
+
];
|
|
2465
2746
|
export {};
|
package/dist/types/index.d.cts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './gens/javascript';
|
|
|
3
3
|
export * from './gens/unicorn';
|
|
4
4
|
export * from './gens/comments';
|
|
5
5
|
export * from './gens/jsdoc';
|
|
6
|
+
export * from './gens/imports';
|
|
6
7
|
export * from './gens/promise';
|
|
7
8
|
export * from './gens/prettier';
|
|
8
9
|
export * from './gens/regexp';
|
|
@@ -13,4 +14,5 @@ export * from './gens/jsonc';
|
|
|
13
14
|
export * from './gens/yml';
|
|
14
15
|
export * from './gens/react';
|
|
15
16
|
export * from './gens/toml';
|
|
17
|
+
export * from './gens/vitest';
|
|
16
18
|
export * from './gens/eslint';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './gens/javascript';
|
|
|
3
3
|
export * from './gens/unicorn';
|
|
4
4
|
export * from './gens/comments';
|
|
5
5
|
export * from './gens/jsdoc';
|
|
6
|
+
export * from './gens/imports';
|
|
6
7
|
export * from './gens/promise';
|
|
7
8
|
export * from './gens/prettier';
|
|
8
9
|
export * from './gens/regexp';
|
|
@@ -13,4 +14,5 @@ export * from './gens/jsonc';
|
|
|
13
14
|
export * from './gens/yml';
|
|
14
15
|
export * from './gens/react';
|
|
15
16
|
export * from './gens/toml';
|
|
17
|
+
export * from './gens/vitest';
|
|
16
18
|
export * from './gens/eslint';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kazupon/eslint-config",
|
|
3
3
|
"description": "ESLint config for @kazupon",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "kawakazu80@gmail.com",
|
|
7
7
|
"name": "kazuya kawaguchi"
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
|
|
44
44
|
"@eslint/js": "^9.0.0",
|
|
45
|
-
"@kazupon/jts-utils": "^0.
|
|
45
|
+
"@kazupon/jts-utils": "^0.2.0",
|
|
46
46
|
"eslint-flat-config-utils": "^0.3.0",
|
|
47
47
|
"globals": "^15.8.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
+
"@vitest/eslint-plugin": ">=1.0.0",
|
|
50
51
|
"eslint": ">=8.56.0 || >=9.0.0",
|
|
51
52
|
"eslint-config-prettier": ">=9.1.0",
|
|
52
53
|
"eslint-plugin-jsdoc": ">=48.5.0",
|
|
@@ -59,12 +60,19 @@
|
|
|
59
60
|
"eslint-plugin-svelte": ">=2.43.0",
|
|
60
61
|
"eslint-plugin-toml": ">=0.11.0",
|
|
61
62
|
"eslint-plugin-unicorn": ">=54.0.0",
|
|
63
|
+
"eslint-plugin-unused-imports": ">=4.1.0",
|
|
62
64
|
"eslint-plugin-vue": ">=9.24.0",
|
|
65
|
+
"eslint-plugin-vue-composable": ">=1.0.0",
|
|
66
|
+
"eslint-plugin-vue-scoped-css": ">=2.8.0",
|
|
67
|
+
"eslint-plugin-vuejs-accessibility": ">=2.4.0",
|
|
63
68
|
"eslint-plugin-yml": ">=1.14.0",
|
|
64
69
|
"svelte": ">=4.0.0",
|
|
65
70
|
"typescript-eslint": ">=7.0.0"
|
|
66
71
|
},
|
|
67
72
|
"peerDependenciesMeta": {
|
|
73
|
+
"@vitest/eslint-plugin": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
68
76
|
"eslint-config-prettier": {
|
|
69
77
|
"optional": true
|
|
70
78
|
},
|
|
@@ -98,9 +106,21 @@
|
|
|
98
106
|
"eslint-plugin-unicorn": {
|
|
99
107
|
"optional": true
|
|
100
108
|
},
|
|
109
|
+
"eslint-plugin-unused-imports": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
101
112
|
"eslint-plugin-vue": {
|
|
102
113
|
"optional": true
|
|
103
114
|
},
|
|
115
|
+
"eslint-plugin-vue-composable": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"eslint-plugin-vue-scoped-css": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"eslint-plugin-vuejs-accessibility": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
104
124
|
"eslint-plugin-yml": {
|
|
105
125
|
"optional": true
|
|
106
126
|
},
|
|
@@ -115,6 +135,7 @@
|
|
|
115
135
|
"@kazupon/prettier-config": "^0.1.1",
|
|
116
136
|
"@types/eslint": "^9.6.0",
|
|
117
137
|
"@types/node": "^22.5.0",
|
|
138
|
+
"@vitest/eslint-plugin": "^1.0.3",
|
|
118
139
|
"bumpp": "^9.4.1",
|
|
119
140
|
"eslint": "^9.9.0",
|
|
120
141
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -128,7 +149,11 @@
|
|
|
128
149
|
"eslint-plugin-svelte": "^2.43.0",
|
|
129
150
|
"eslint-plugin-toml": "^0.11.0",
|
|
130
151
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
152
|
+
"eslint-plugin-unused-imports": "^4.1.3",
|
|
131
153
|
"eslint-plugin-vue": "^9.27.0",
|
|
154
|
+
"eslint-plugin-vue-composable": "^1.0.0",
|
|
155
|
+
"eslint-plugin-vue-scoped-css": "^2.8.1",
|
|
156
|
+
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
132
157
|
"eslint-plugin-yml": "^1.14.0",
|
|
133
158
|
"eslint-typegen": "^0.3.1",
|
|
134
159
|
"gh-changelogen": "^0.2.8",
|
|
@@ -168,7 +193,7 @@
|
|
|
168
193
|
"lint:eslint": "eslint --flag unstable_ts_config .",
|
|
169
194
|
"lint:prettier": "prettier . --check",
|
|
170
195
|
"release": "bumpp --commit \"release: v%s\" --all --push --tag",
|
|
171
|
-
"test": "vitest",
|
|
196
|
+
"test": "vitest --typecheck",
|
|
172
197
|
"typecheck": "tsc -p .",
|
|
173
198
|
"typegen": "pnpx jiti scripts/typegen.ts"
|
|
174
199
|
}
|