@zinkawaii/eslint-config 0.5.1 → 0.5.2
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.mts +1 -1
- package/dist/index.mjs +188 -196
- package/package.json +40 -39
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
|
4
4
|
import { ParserOptions } from "@typescript-eslint/parser";
|
|
5
5
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
6
6
|
import { Options } from "eslint-processor-vue-blocks";
|
|
7
|
-
//#region ../../node_modules/.pnpm/@antfu+eslint-config@9.2.0_patch_hash=
|
|
7
|
+
//#region ../../node_modules/.pnpm/@antfu+eslint-config@9.2.0_patch_hash=69df02b36d793b2588fb6ed642c6c83986ef891c17d086eef_ded4dcd20d37bf56e1fcf68acf3c823d/node_modules/@antfu/eslint-config/dist/index.d.mts
|
|
8
8
|
//#region src/typegen.d.ts
|
|
9
9
|
interface RuleOptions {
|
|
10
10
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import pluginUnusedImports from "eslint-plugin-unused-imports";
|
|
|
16
16
|
import globals from "globals";
|
|
17
17
|
import { mergeProcessors, processorPassThrough } from "eslint-merge-processors";
|
|
18
18
|
import { configs } from "eslint-plugin-regexp";
|
|
19
|
-
//#region ../../node_modules/.pnpm/@antfu+eslint-config@9.2.0_patch_hash=
|
|
19
|
+
//#region ../../node_modules/.pnpm/@antfu+eslint-config@9.2.0_patch_hash=69df02b36d793b2588fb6ed642c6c83986ef891c17d086eef_ded4dcd20d37bf56e1fcf68acf3c823d/node_modules/@antfu/eslint-config/dist/index.mjs
|
|
20
20
|
const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
21
21
|
async function findUp(name, { cwd = process.cwd(), type = "file", stopAt } = {}) {
|
|
22
22
|
let directory = path.resolve(toPath(cwd) ?? "");
|
|
@@ -2496,189 +2496,180 @@ const CONFIG_PRESET_FULL_OFF = {
|
|
|
2496
2496
|
};
|
|
2497
2497
|
var src_default = antfu;
|
|
2498
2498
|
//#endregion
|
|
2499
|
-
//#region src/
|
|
2499
|
+
//#region src/rules/javascript.ts
|
|
2500
2500
|
var javascript_default = {
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
"prefer-template": "off",
|
|
2527
|
-
"symbol-description": "off"
|
|
2528
|
-
}
|
|
2501
|
+
"no-cond-assign": "off",
|
|
2502
|
+
"no-fallthrough": "off",
|
|
2503
|
+
"require-yield": "error",
|
|
2504
|
+
"curly": ["error", "multi-line"],
|
|
2505
|
+
"default-param-last": "error",
|
|
2506
|
+
"func-style": [
|
|
2507
|
+
"error",
|
|
2508
|
+
"declaration",
|
|
2509
|
+
{ allowArrowFunctions: true }
|
|
2510
|
+
],
|
|
2511
|
+
"logical-assignment-operators": "error",
|
|
2512
|
+
"no-console": "off",
|
|
2513
|
+
"no-constructor-return": "error",
|
|
2514
|
+
"no-labels": "off",
|
|
2515
|
+
"no-lonely-if": "error",
|
|
2516
|
+
"no-loop-func": "error",
|
|
2517
|
+
"no-sequences": "off",
|
|
2518
|
+
"no-undefined": "error",
|
|
2519
|
+
"no-useless-concat": "error",
|
|
2520
|
+
"operator-assignment": ["error", "always"],
|
|
2521
|
+
"prefer-numeric-literals": "error",
|
|
2522
|
+
"prefer-object-has-own": "error",
|
|
2523
|
+
"prefer-object-spread": "error",
|
|
2524
|
+
"prefer-template": "off",
|
|
2525
|
+
"symbol-description": "off"
|
|
2529
2526
|
};
|
|
2530
2527
|
//#endregion
|
|
2531
|
-
//#region src/
|
|
2528
|
+
//#region src/rules/misc.ts
|
|
2532
2529
|
var misc_default = {
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
"
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
"sibling",
|
|
2552
|
-
"index"
|
|
2553
|
-
],
|
|
2554
|
-
[
|
|
2555
|
-
"type-parent",
|
|
2556
|
-
"type-sibling",
|
|
2557
|
-
"type-index"
|
|
2558
|
-
],
|
|
2559
|
-
"style",
|
|
2560
|
-
"unknown"
|
|
2530
|
+
"antfu/curly": "off",
|
|
2531
|
+
"antfu/if-newline": "off",
|
|
2532
|
+
"antfu/no-top-level-await": "off",
|
|
2533
|
+
"antfu/top-level-function": "off",
|
|
2534
|
+
"e18e/prefer-static-regex": "off",
|
|
2535
|
+
"import/consistent-type-specifier-style": "off",
|
|
2536
|
+
"node/prefer-global/process": "off",
|
|
2537
|
+
"perfectionist/sort-imports": ["warn", {
|
|
2538
|
+
groups: [
|
|
2539
|
+
"builtin",
|
|
2540
|
+
"external",
|
|
2541
|
+
"type-external",
|
|
2542
|
+
"internal",
|
|
2543
|
+
"type-internal",
|
|
2544
|
+
[
|
|
2545
|
+
"parent",
|
|
2546
|
+
"sibling",
|
|
2547
|
+
"index"
|
|
2561
2548
|
],
|
|
2562
|
-
|
|
2563
|
-
"
|
|
2564
|
-
"
|
|
2565
|
-
"
|
|
2566
|
-
"~/.*",
|
|
2567
|
-
"~~/.*"
|
|
2549
|
+
[
|
|
2550
|
+
"type-parent",
|
|
2551
|
+
"type-sibling",
|
|
2552
|
+
"type-index"
|
|
2568
2553
|
],
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2554
|
+
"style",
|
|
2555
|
+
"unknown"
|
|
2556
|
+
],
|
|
2557
|
+
internalPattern: [
|
|
2558
|
+
"#.*",
|
|
2559
|
+
"@/.*",
|
|
2560
|
+
"@@/.*",
|
|
2561
|
+
"~/.*",
|
|
2562
|
+
"~~/.*"
|
|
2563
|
+
],
|
|
2564
|
+
newlinesBetween: 0
|
|
2565
|
+
}],
|
|
2566
|
+
"ts/no-empty-object-type": "off",
|
|
2567
|
+
"ts/no-unsafe-declaration-merging": "off",
|
|
2568
|
+
"yaml/quotes": ["warn", { prefer: "double" }]
|
|
2575
2569
|
};
|
|
2576
2570
|
//#endregion
|
|
2577
|
-
//#region src/
|
|
2571
|
+
//#region src/rules/stylistic.ts
|
|
2578
2572
|
var stylistic_default = {
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
"
|
|
2615
|
-
"
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
"
|
|
2650
|
-
"
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
"
|
|
2674
|
-
"
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
"style/wrap-regex": "off",
|
|
2680
|
-
"style/yield-star-spacing": "warn"
|
|
2681
|
-
}
|
|
2573
|
+
"style/array-bracket-newline": ["warn", "consistent"],
|
|
2574
|
+
"style/array-bracket-spacing": "warn",
|
|
2575
|
+
"style/array-element-newline": ["warn", "consistent"],
|
|
2576
|
+
"style/arrow-parens": ["warn", "always"],
|
|
2577
|
+
"style/arrow-spacing": "warn",
|
|
2578
|
+
"style/block-spacing": "warn",
|
|
2579
|
+
"style/brace-style": ["warn", "stroustrup"],
|
|
2580
|
+
"style/comma-dangle": ["warn", "always-multiline"],
|
|
2581
|
+
"style/comma-spacing": "warn",
|
|
2582
|
+
"style/comma-style": "warn",
|
|
2583
|
+
"style/computed-property-spacing": "warn",
|
|
2584
|
+
"style/curly-newline": "off",
|
|
2585
|
+
"style/dot-location": ["warn", "property"],
|
|
2586
|
+
"style/eol-last": "warn",
|
|
2587
|
+
"style/function-call-argument-newline": ["warn", "consistent"],
|
|
2588
|
+
"style/function-call-spacing": "warn",
|
|
2589
|
+
"style/function-paren-newline": ["warn", "consistent"],
|
|
2590
|
+
"style/generator-star-spacing": ["warn", {
|
|
2591
|
+
named: "after",
|
|
2592
|
+
anonymous: "before",
|
|
2593
|
+
method: "both"
|
|
2594
|
+
}],
|
|
2595
|
+
"style/implicit-arrow-linebreak": "warn",
|
|
2596
|
+
"style/indent-binary-ops": "off",
|
|
2597
|
+
"style/indent": [
|
|
2598
|
+
"warn",
|
|
2599
|
+
2,
|
|
2600
|
+
{ SwitchCase: 1 }
|
|
2601
|
+
],
|
|
2602
|
+
"style/key-spacing": "warn",
|
|
2603
|
+
"style/keyword-spacing": "warn",
|
|
2604
|
+
"style/line-comment-position": "off",
|
|
2605
|
+
"style/linebreak-style": "warn",
|
|
2606
|
+
"style/lines-around-comment": "off",
|
|
2607
|
+
"style/lines-between-class-members": [
|
|
2608
|
+
"warn",
|
|
2609
|
+
"always",
|
|
2610
|
+
{ exceptAfterSingleLine: true }
|
|
2611
|
+
],
|
|
2612
|
+
"style/max-len": "off",
|
|
2613
|
+
"style/max-statements-per-line": "off",
|
|
2614
|
+
"style/member-delimiter-style": ["warn", { multiline: {
|
|
2615
|
+
delimiter: "semi",
|
|
2616
|
+
requireLast: true
|
|
2617
|
+
} }],
|
|
2618
|
+
"style/multiline-comment-style": "off",
|
|
2619
|
+
"style/multiline-ternary": "off",
|
|
2620
|
+
"style/new-parens": "warn",
|
|
2621
|
+
"style/newline-per-chained-call": "off",
|
|
2622
|
+
"style/no-confusing-arrow": "warn",
|
|
2623
|
+
"style/no-extra-parens": ["warn", "functions"],
|
|
2624
|
+
"style/no-extra-semi": "warn",
|
|
2625
|
+
"style/no-floating-decimal": "warn",
|
|
2626
|
+
"style/no-mixed-operators": "off",
|
|
2627
|
+
"style/no-mixed-spaces-and-tabs": "warn",
|
|
2628
|
+
"style/no-multi-spaces": ["warn", { ignoreEOLComments: true }],
|
|
2629
|
+
"style/no-multiple-empty-lines": ["warn", { max: 1 }],
|
|
2630
|
+
"style/no-tabs": "warn",
|
|
2631
|
+
"style/no-trailing-spaces": "warn",
|
|
2632
|
+
"style/no-whitespace-before-property": "warn",
|
|
2633
|
+
"style/nonblock-statement-body-position": "warn",
|
|
2634
|
+
"style/object-curly-newline": "warn",
|
|
2635
|
+
"style/object-curly-spacing": ["warn", "always"],
|
|
2636
|
+
"style/object-property-newline": ["warn", { allowAllPropertiesOnSameLine: true }],
|
|
2637
|
+
"style/one-var-declaration-per-line": "off",
|
|
2638
|
+
"style/operator-linebreak": "off",
|
|
2639
|
+
"style/padded-blocks": ["warn", "never"],
|
|
2640
|
+
"style/padding-line-between-statements": "off",
|
|
2641
|
+
"style/quote-props": ["warn", "as-needed"],
|
|
2642
|
+
"style/quotes": [
|
|
2643
|
+
"warn",
|
|
2644
|
+
"double",
|
|
2645
|
+
{ allowTemplateLiterals: "always" }
|
|
2646
|
+
],
|
|
2647
|
+
"style/rest-spread-spacing": "warn",
|
|
2648
|
+
"style/semi-spacing": "warn",
|
|
2649
|
+
"style/semi-style": "warn",
|
|
2650
|
+
"style/semi": ["warn", "always"],
|
|
2651
|
+
"style/space-before-blocks": "warn",
|
|
2652
|
+
"style/space-before-function-paren": ["warn", {
|
|
2653
|
+
named: "never",
|
|
2654
|
+
anonymous: "never"
|
|
2655
|
+
}],
|
|
2656
|
+
"style/space-in-parens": "warn",
|
|
2657
|
+
"style/space-infix-ops": "warn",
|
|
2658
|
+
"style/space-unary-ops": "warn",
|
|
2659
|
+
"style/spaced-comment": "off",
|
|
2660
|
+
"style/switch-colon-spacing": "warn",
|
|
2661
|
+
"style/template-curly-spacing": "warn",
|
|
2662
|
+
"style/template-tag-spacing": "warn",
|
|
2663
|
+
"style/type-annotation-spacing": "warn",
|
|
2664
|
+
"style/type-generic-spacing": "warn",
|
|
2665
|
+
"style/type-named-tuple-spacing": "warn",
|
|
2666
|
+
"style/wrap-iife": [
|
|
2667
|
+
"warn",
|
|
2668
|
+
"inside",
|
|
2669
|
+
{ functionPrototypeMethods: true }
|
|
2670
|
+
],
|
|
2671
|
+
"style/wrap-regex": "off",
|
|
2672
|
+
"style/yield-star-spacing": "warn"
|
|
2682
2673
|
};
|
|
2683
2674
|
//#endregion
|
|
2684
2675
|
//#region src/rules/vue.ts
|
|
@@ -2901,7 +2892,7 @@ var vue_default = {
|
|
|
2901
2892
|
],
|
|
2902
2893
|
"vue/valid-define-options": "error",
|
|
2903
2894
|
"vue/v-for-delimiter-style": ["error", "in"],
|
|
2904
|
-
...Object.fromEntries(["no-useless-concat", "prefer-template"].map((rule) => [`vue/${rule}`, javascript_default
|
|
2895
|
+
...Object.fromEntries(["no-useless-concat", "prefer-template"].map((rule) => [`vue/${rule}`, javascript_default[rule]])),
|
|
2905
2896
|
...Object.fromEntries([
|
|
2906
2897
|
"array-bracket-newline",
|
|
2907
2898
|
"array-bracket-spacing",
|
|
@@ -2927,7 +2918,7 @@ var vue_default = {
|
|
|
2927
2918
|
"space-infix-ops",
|
|
2928
2919
|
"space-unary-ops",
|
|
2929
2920
|
"template-curly-spacing"
|
|
2930
|
-
].map((rule) => [`vue/${rule}`, stylistic_default
|
|
2921
|
+
].map((rule) => [`vue/${rule}`, stylistic_default[`style/${rule}`]])),
|
|
2931
2922
|
"vue/no-undef-components": "off",
|
|
2932
2923
|
"vue/require-name-property": "off",
|
|
2933
2924
|
"vue/no-ref-object-reactivity-loss": "off",
|
|
@@ -2986,37 +2977,38 @@ var vue_default = {
|
|
|
2986
2977
|
};
|
|
2987
2978
|
//#endregion
|
|
2988
2979
|
//#region src/index.ts
|
|
2989
|
-
const fusedProps = [
|
|
2990
|
-
"name",
|
|
2991
|
-
"languageOptions",
|
|
2992
|
-
"linterOptions",
|
|
2993
|
-
"processor",
|
|
2994
|
-
"plugins",
|
|
2995
|
-
"rules",
|
|
2996
|
-
"settings"
|
|
2997
|
-
];
|
|
2998
2980
|
const zin = (options = {}, ...userConfigs) => {
|
|
2999
|
-
const
|
|
3000
|
-
if (key in options) {
|
|
3001
|
-
acc[key] = options[key];
|
|
3002
|
-
delete options[key];
|
|
3003
|
-
}
|
|
3004
|
-
return acc;
|
|
3005
|
-
}, {});
|
|
2981
|
+
const stylistic = options.stylistic === false || typeof options.stylistic === "object" ? options.stylistic : {};
|
|
3006
2982
|
const vue = options.vue === false || typeof options.vue === "object" ? options.vue : {};
|
|
3007
2983
|
return src_default({
|
|
3008
2984
|
pnpm: true,
|
|
3009
2985
|
...options,
|
|
2986
|
+
javascript: {
|
|
2987
|
+
...options.javascript,
|
|
2988
|
+
overrides: {
|
|
2989
|
+
...javascript_default,
|
|
2990
|
+
...options.javascript?.overrides
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2993
|
+
stylistic: stylistic && {
|
|
2994
|
+
...stylistic,
|
|
2995
|
+
overrides: {
|
|
2996
|
+
...stylistic_default,
|
|
2997
|
+
...stylistic.overrides
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3010
3000
|
vue: vue && {
|
|
3011
3001
|
...vue,
|
|
3012
3002
|
overrides: {
|
|
3003
|
+
"style/indent": "off",
|
|
3013
3004
|
...vue_default,
|
|
3014
3005
|
...vue.overrides
|
|
3015
3006
|
}
|
|
3007
|
+
},
|
|
3008
|
+
rules: {
|
|
3009
|
+
...misc_default,
|
|
3010
|
+
...options.rules
|
|
3016
3011
|
}
|
|
3017
|
-
}, javascript_default, misc_default, stylistic_default, configFused, {
|
|
3018
|
-
files: ["**/*.vue"],
|
|
3019
|
-
rules: { "style/indent": "off" }
|
|
3020
3012
|
}, ...userConfigs);
|
|
3021
3013
|
};
|
|
3022
3014
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinkawaii/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"description": "Utakata na Shiawase",
|
|
6
6
|
"author": "KazariEX",
|
|
7
7
|
"license": "MIT",
|
|
@@ -17,43 +17,6 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@antfu/install-pkg": "^1.1.0",
|
|
22
|
-
"@clack/prompts": "^1.7.0",
|
|
23
|
-
"@e18e/eslint-plugin": "^0.5.1",
|
|
24
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
25
|
-
"@eslint/markdown": "^8.0.3",
|
|
26
|
-
"@stylistic/eslint-plugin": "^5.10.0",
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
28
|
-
"@typescript-eslint/parser": "^8.65.0",
|
|
29
|
-
"@vitest/eslint-plugin": "^1.6.23",
|
|
30
|
-
"ansis": "^4.3.1",
|
|
31
|
-
"cac": "^7.0.0",
|
|
32
|
-
"eslint-config-flat-gitignore": "^2.3.0",
|
|
33
|
-
"eslint-flat-config-utils": "^3.2.0",
|
|
34
|
-
"eslint-merge-processors": "^2.0.0",
|
|
35
|
-
"eslint-plugin-antfu": "^3.2.3",
|
|
36
|
-
"eslint-plugin-command": "^3.5.3",
|
|
37
|
-
"eslint-plugin-import-lite": "^0.6.0",
|
|
38
|
-
"eslint-plugin-jsdoc": "^63.2.0",
|
|
39
|
-
"eslint-plugin-jsonc": "^3.3.0",
|
|
40
|
-
"eslint-plugin-n": "^18.2.2",
|
|
41
|
-
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
42
|
-
"eslint-plugin-perfectionist": "^5.10.0",
|
|
43
|
-
"eslint-plugin-pnpm": "^1.6.1",
|
|
44
|
-
"eslint-plugin-regexp": "^3.1.1",
|
|
45
|
-
"eslint-plugin-toml": "^1.4.0",
|
|
46
|
-
"eslint-plugin-unused-imports": "^4.4.1",
|
|
47
|
-
"eslint-plugin-vue": "^10.10.0",
|
|
48
|
-
"eslint-plugin-yml": "^3.6.0",
|
|
49
|
-
"eslint-processor-vue-blocks": "^2.0.0",
|
|
50
|
-
"globals": "^17.7.0",
|
|
51
|
-
"local-pkg": "^1.2.1",
|
|
52
|
-
"parse-gitignore": "^2.0.0",
|
|
53
|
-
"toml-eslint-parser": "^1.0.3",
|
|
54
|
-
"vue-eslint-parser": "^10.4.1",
|
|
55
|
-
"yaml-eslint-parser": "^2.1.0"
|
|
56
|
-
},
|
|
57
20
|
"peerDependencies": {
|
|
58
21
|
"@angular-eslint/eslint-plugin": "^21.1.0",
|
|
59
22
|
"@angular-eslint/eslint-plugin-template": "^21.1.0",
|
|
@@ -131,11 +94,49 @@
|
|
|
131
94
|
"optional": true
|
|
132
95
|
}
|
|
133
96
|
},
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"@antfu/install-pkg": "^2.0.1",
|
|
99
|
+
"@clack/prompts": "^1.7.0",
|
|
100
|
+
"@e18e/eslint-plugin": "^0.6.0",
|
|
101
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
102
|
+
"@eslint/markdown": "^8.0.3",
|
|
103
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
104
|
+
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
105
|
+
"@typescript-eslint/parser": "^8.65.0",
|
|
106
|
+
"@vitest/eslint-plugin": "^1.6.24",
|
|
107
|
+
"ansis": "^4.3.1",
|
|
108
|
+
"cac": "^7.0.0",
|
|
109
|
+
"eslint-config-flat-gitignore": "^2.3.0",
|
|
110
|
+
"eslint-flat-config-utils": "^3.2.0",
|
|
111
|
+
"eslint-merge-processors": "^2.0.0",
|
|
112
|
+
"eslint-plugin-antfu": "^3.2.3",
|
|
113
|
+
"eslint-plugin-command": "^4.0.0",
|
|
114
|
+
"eslint-plugin-import-lite": "^0.6.0",
|
|
115
|
+
"eslint-plugin-jsdoc": "^63.3.2",
|
|
116
|
+
"eslint-plugin-jsonc": "^3.3.0",
|
|
117
|
+
"eslint-plugin-n": "^18.2.2",
|
|
118
|
+
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
119
|
+
"eslint-plugin-perfectionist": "^5.10.0",
|
|
120
|
+
"eslint-plugin-pnpm": "^1.7.0",
|
|
121
|
+
"eslint-plugin-regexp": "^3.1.1",
|
|
122
|
+
"eslint-plugin-toml": "^1.5.0",
|
|
123
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
124
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
125
|
+
"eslint-plugin-yml": "^3.7.0",
|
|
126
|
+
"eslint-processor-vue-blocks": "^2.0.0",
|
|
127
|
+
"globals": "^17.8.0",
|
|
128
|
+
"local-pkg": "^1.2.1",
|
|
129
|
+
"parse-gitignore": "^2.0.0",
|
|
130
|
+
"toml-eslint-parser": "^1.0.3",
|
|
131
|
+
"vue-eslint-parser": "^10.4.1",
|
|
132
|
+
"yaml-eslint-parser": "^2.1.0"
|
|
133
|
+
},
|
|
134
134
|
"inlinedDependencies": {
|
|
135
135
|
"@antfu/eslint-config": "9.2.0"
|
|
136
136
|
},
|
|
137
137
|
"scripts": {
|
|
138
138
|
"build": "tsdown",
|
|
139
|
-
"dev": "tsdown -w"
|
|
139
|
+
"dev": "tsdown -w",
|
|
140
|
+
"test": "vitest"
|
|
140
141
|
}
|
|
141
142
|
}
|