@ntnyq/eslint-config 7.0.0-beta.29 → 7.0.0-beta.30

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 CHANGED
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @file export
3
+ */
1
4
  import { FlatConfigComposer } from "eslint-flat-config-utils";
2
5
  import { mergeProcessors, processorPassThrough } from "eslint-merge-processors";
3
6
  import { ConfigWithExtends, configs as configsTypeScript, parser as parserTypeScript, plugin as pluginTypeScript } from "typescript-eslint";
@@ -6,6 +9,7 @@ import * as parserToml from "toml-eslint-parser";
6
9
  import * as parserYaml from "yaml-eslint-parser";
7
10
  import * as parserPlain from "eslint-parser-plain";
8
11
  import * as parserJsonc from "jsonc-eslint-parser";
12
+ import pluginShell from "@eslint/shell";
9
13
  import pluginNode from "eslint-plugin-n";
10
14
  import pluginVue from "eslint-plugin-vue";
11
15
  import pluginYml from "eslint-plugin-yml";
@@ -348,6 +352,29 @@ export type ConfigPiniaOptions = OptionsFiles & OptionsOverrides;
348
352
  * @returns ESLint configs
349
353
  */
350
354
  export declare const configPinia: (options?: ConfigPiniaOptions) => TypedConfigItem[];
355
+ /**
356
+ * Options type of {@link configShell}
357
+ */
358
+ export interface ConfigShellOptions extends OptionsFiles, OptionsOverrides {
359
+ /**
360
+ * Glob patterns shared with the factory's default ignores for JavaScript rules
361
+ */
362
+ files?: string[];
363
+ /**
364
+ * Shell dialect used to parse matching files
365
+ * @default 'bash'
366
+ */
367
+ language?: keyof typeof pluginShell.languages;
368
+ }
369
+ /**
370
+ * Config for shell scripts
371
+ *
372
+ * @see {@link https://github.com/eslint/shell}
373
+ *
374
+ * @param options - {@link ConfigShellOptions}
375
+ * @returns ESLint configs
376
+ */
377
+ export declare const configShell: (options?: ConfigShellOptions) => TypedConfigItem[];
351
378
  /**
352
379
  * Options type of {@link configDepend}
353
380
  */
@@ -2810,240 +2837,260 @@ interface RuleOptions {
2810
2837
  * @deprecated
2811
2838
  */
2812
2839
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
2840
+ /**
2841
+ * Forbid authoring of barrel files.
2842
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/avoid-barrel-files.md
2843
+ */
2844
+ 'import-x/avoid-barrel-files'?: Linter.RuleEntry<ImportXAvoidBarrelFiles>;
2845
+ /**
2846
+ * Forbid importing barrel files.
2847
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/avoid-importing-barrel-files.md
2848
+ */
2849
+ 'import-x/avoid-importing-barrel-files'?: Linter.RuleEntry<ImportXAvoidImportingBarrelFiles>;
2850
+ /**
2851
+ * Forbid namespace imports.
2852
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/avoid-namespace-import.md
2853
+ */
2854
+ 'import-x/avoid-namespace-import'?: Linter.RuleEntry<ImportXAvoidNamespaceImport>;
2855
+ /**
2856
+ * Forbid re-exporting * from a module.
2857
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/avoid-re-export-all.md
2858
+ */
2859
+ 'import-x/avoid-re-export-all'?: Linter.RuleEntry<[]>;
2813
2860
  /**
2814
2861
  * Enforce or ban the use of inline type-only markers for named imports.
2815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/consistent-type-specifier-style.md
2862
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/consistent-type-specifier-style.md
2816
2863
  */
2817
2864
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
2818
2865
  /**
2819
2866
  * Ensure a default export is present, given a default import.
2820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/default.md
2867
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/default.md
2821
2868
  */
2822
2869
  'import-x/default'?: Linter.RuleEntry<[]>;
2823
2870
  /**
2824
2871
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
2825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/dynamic-import-chunkname.md
2872
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/dynamic-import-chunkname.md
2826
2873
  */
2827
2874
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
2828
2875
  /**
2829
2876
  * Forbid any invalid exports, i.e. re-export of the same name.
2830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/export.md
2877
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/export.md
2831
2878
  */
2832
2879
  'import-x/export'?: Linter.RuleEntry<[]>;
2833
2880
  /**
2834
2881
  * Ensure all exports appear after other statements.
2835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/exports-last.md
2882
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/exports-last.md
2836
2883
  */
2837
2884
  'import-x/exports-last'?: Linter.RuleEntry<[]>;
2838
2885
  /**
2839
2886
  * Ensure consistent use of file extension within the import path.
2840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/extensions.md
2887
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/extensions.md
2841
2888
  */
2842
2889
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
2843
2890
  /**
2844
2891
  * Ensure all imports appear before other statements.
2845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/first.md
2892
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/first.md
2846
2893
  */
2847
2894
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
2848
2895
  /**
2849
2896
  * Prefer named exports to be grouped together in a single export declaration.
2850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/group-exports.md
2897
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/group-exports.md
2851
2898
  */
2852
2899
  'import-x/group-exports'?: Linter.RuleEntry<[]>;
2853
2900
  /**
2854
2901
  * Replaced by `import-x/first`.
2855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/imports-first.md
2902
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/imports-first.md
2856
2903
  * @deprecated
2857
2904
  */
2858
2905
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
2859
2906
  /**
2860
2907
  * Enforce the maximum number of dependencies a module can have.
2861
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/max-dependencies.md
2908
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/max-dependencies.md
2862
2909
  */
2863
2910
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
2864
2911
  /**
2865
2912
  * Ensure named imports correspond to a named export in the remote file.
2866
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/named.md
2913
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/named.md
2867
2914
  */
2868
2915
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
2869
2916
  /**
2870
2917
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
2871
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/namespace.md
2918
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/namespace.md
2872
2919
  */
2873
2920
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
2874
2921
  /**
2875
2922
  * Enforce a newline after import statements.
2876
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/newline-after-import.md
2923
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/newline-after-import.md
2877
2924
  */
2878
2925
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
2879
2926
  /**
2880
2927
  * Forbid import of modules using absolute paths.
2881
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-absolute-path.md
2928
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-absolute-path.md
2882
2929
  */
2883
2930
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
2884
2931
  /**
2885
2932
  * Forbid AMD `require` and `define` calls.
2886
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-amd.md
2933
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-amd.md
2887
2934
  */
2888
2935
  'import-x/no-amd'?: Linter.RuleEntry<[]>;
2889
2936
  /**
2890
2937
  * Forbid anonymous values as default exports.
2891
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-anonymous-default-export.md
2938
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-anonymous-default-export.md
2892
2939
  */
2893
2940
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
2894
2941
  /**
2895
2942
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
2896
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-commonjs.md
2943
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-commonjs.md
2897
2944
  */
2898
2945
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
2899
2946
  /**
2900
2947
  * Forbid a module from importing a module with a dependency path back to itself.
2901
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-cycle.md
2948
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-cycle.md
2902
2949
  */
2903
2950
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
2904
2951
  /**
2905
2952
  * Forbid default exports.
2906
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-default-export.md
2953
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-default-export.md
2907
2954
  */
2908
2955
  'import-x/no-default-export'?: Linter.RuleEntry<[]>;
2909
2956
  /**
2910
2957
  * Forbid imported names marked with `@deprecated` documentation tag.
2911
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-deprecated.md
2958
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-deprecated.md
2912
2959
  */
2913
2960
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
2914
2961
  /**
2915
2962
  * Forbid repeated import of the same module in multiple places.
2916
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-duplicates.md
2963
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-duplicates.md
2917
2964
  */
2918
2965
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
2919
2966
  /**
2920
2967
  * Forbid `require()` calls with expressions.
2921
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-dynamic-require.md
2968
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-dynamic-require.md
2922
2969
  */
2923
2970
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
2924
2971
  /**
2925
2972
  * Forbid empty named import blocks.
2926
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-empty-named-blocks.md
2973
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-empty-named-blocks.md
2927
2974
  */
2928
2975
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
2929
2976
  /**
2930
2977
  * Forbid the use of extraneous packages.
2931
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-extraneous-dependencies.md
2978
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-extraneous-dependencies.md
2932
2979
  */
2933
2980
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
2934
2981
  /**
2935
2982
  * Forbid import statements with CommonJS module.exports.
2936
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-import-module-exports.md
2983
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-import-module-exports.md
2937
2984
  */
2938
2985
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
2939
2986
  /**
2940
2987
  * Forbid importing the submodules of other modules.
2941
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-internal-modules.md
2988
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-internal-modules.md
2942
2989
  */
2943
2990
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
2944
2991
  /**
2945
2992
  * Forbid the use of mutable exports with `var` or `let`.
2946
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-mutable-exports.md
2993
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-mutable-exports.md
2947
2994
  */
2948
2995
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
2949
2996
  /**
2950
2997
  * Forbid use of exported name as identifier of default export.
2951
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-as-default.md
2998
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-named-as-default.md
2952
2999
  */
2953
3000
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
2954
3001
  /**
2955
3002
  * Forbid use of exported name as property of default export.
2956
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-as-default-member.md
3003
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-named-as-default-member.md
2957
3004
  */
2958
3005
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
2959
3006
  /**
2960
3007
  * Forbid named default exports.
2961
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-default.md
3008
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-named-default.md
2962
3009
  */
2963
3010
  'import-x/no-named-default'?: Linter.RuleEntry<[]>;
2964
3011
  /**
2965
3012
  * Forbid named exports.
2966
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-named-export.md
3013
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-named-export.md
2967
3014
  */
2968
3015
  'import-x/no-named-export'?: Linter.RuleEntry<[]>;
2969
3016
  /**
2970
3017
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2971
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-namespace.md
3018
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-namespace.md
2972
3019
  */
2973
3020
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
2974
3021
  /**
2975
3022
  * Forbid Node.js builtin modules.
2976
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-nodejs-modules.md
3023
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-nodejs-modules.md
2977
3024
  */
2978
3025
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
2979
3026
  /**
2980
3027
  * Forbid importing packages through relative paths.
2981
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-relative-packages.md
3028
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-relative-packages.md
2982
3029
  */
2983
3030
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
2984
3031
  /**
2985
3032
  * Forbid importing modules from parent directories.
2986
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-relative-parent-imports.md
3033
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-relative-parent-imports.md
2987
3034
  */
2988
3035
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
2989
3036
  /**
2990
3037
  * Forbid importing a default export by a different name.
2991
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-rename-default.md
3038
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-rename-default.md
2992
3039
  */
2993
3040
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
2994
3041
  /**
2995
3042
  * Enforce which files can be imported in a given folder.
2996
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-restricted-paths.md
3043
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-restricted-paths.md
2997
3044
  */
2998
3045
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
2999
3046
  /**
3000
3047
  * Forbid a module from importing itself.
3001
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-self-import.md
3048
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-self-import.md
3002
3049
  */
3003
3050
  'import-x/no-self-import'?: Linter.RuleEntry<[]>;
3004
3051
  /**
3005
3052
  * Forbid unassigned imports.
3006
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unassigned-import.md
3053
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-unassigned-import.md
3007
3054
  */
3008
3055
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
3009
3056
  /**
3010
3057
  * Ensure imports point to a file/module that can be resolved.
3011
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unresolved.md
3058
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-unresolved.md
3012
3059
  */
3013
3060
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
3014
3061
  /**
3015
3062
  * Forbid modules without exports, or exports without matching import in another module.
3016
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-unused-modules.md
3063
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-unused-modules.md
3017
3064
  */
3018
3065
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
3019
3066
  /**
3020
3067
  * Forbid unnecessary path segments in import and require statements.
3021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-useless-path-segments.md
3068
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-useless-path-segments.md
3022
3069
  */
3023
3070
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
3024
3071
  /**
3025
3072
  * Forbid webpack loader syntax in imports.
3026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/no-webpack-loader-syntax.md
3073
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/no-webpack-loader-syntax.md
3027
3074
  */
3028
3075
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
3029
3076
  /**
3030
3077
  * Enforce a convention in module import order.
3031
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/order.md
3078
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/order.md
3032
3079
  */
3033
3080
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
3034
3081
  /**
3035
3082
  * Prefer a default export if module exports a single name or multiple names.
3036
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/prefer-default-export.md
3083
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/prefer-default-export.md
3037
3084
  */
3038
3085
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
3039
3086
  /**
3040
3087
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
3041
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/prefer-namespace-import.md
3088
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/prefer-namespace-import.md
3042
3089
  */
3043
3090
  'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>;
3044
3091
  /**
3045
3092
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
3046
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.17.1/docs/rules/unambiguous.md
3093
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.0/docs/rules/unambiguous.md
3047
3094
  */
3048
3095
  'import-x/unambiguous'?: Linter.RuleEntry<[]>;
3049
3096
  /**
@@ -5820,6 +5867,56 @@ interface RuleOptions {
5820
5867
  * @deprecated
5821
5868
  */
5822
5869
  'semi-style'?: Linter.RuleEntry<SemiStyle>;
5870
+ /**
5871
+ * Disallow legacy backtick command substitution in favor of `$(...)`
5872
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-backticks.md
5873
+ */
5874
+ 'shell/no-backticks'?: Linter.RuleEntry<[]>;
5875
+ /**
5876
+ * Disallow expansion-like syntax inside single quotes, where it is not expanded
5877
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-expansions-in-single-quotes.md
5878
+ */
5879
+ 'shell/no-expansions-in-single-quotes'?: Linter.RuleEntry<[]>;
5880
+ /**
5881
+ * Disallow iterating over `ls` output, which breaks on special characters
5882
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-ls-iteration.md
5883
+ */
5884
+ 'shell/no-ls-iteration'?: Linter.RuleEntry<[]>;
5885
+ /**
5886
+ * Require quoting parameter expansions and command substitutions that are subject to word splitting
5887
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-unquoted-expansions.md
5888
+ */
5889
+ 'shell/no-unquoted-expansions'?: Linter.RuleEntry<[]>;
5890
+ /**
5891
+ * Disallow variables that are assigned but never used
5892
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-unused-vars.md
5893
+ */
5894
+ 'shell/no-unused-vars'?: Linter.RuleEntry<ShellNoUnusedVars>;
5895
+ /**
5896
+ * Disallow useless `cat` at the start of a pipeline
5897
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-useless-cat.md
5898
+ */
5899
+ 'shell/no-useless-cat'?: Linter.RuleEntry<[]>;
5900
+ /**
5901
+ * Disallow useless `echo` inside command substitutions
5902
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-useless-echo.md
5903
+ */
5904
+ 'shell/no-useless-echo'?: Linter.RuleEntry<[]>;
5905
+ /**
5906
+ * Disallow variables in the printf format string; use %s placeholders instead
5907
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/no-variables-in-printf-format.md
5908
+ */
5909
+ 'shell/no-variables-in-printf-format'?: Linter.RuleEntry<[]>;
5910
+ /**
5911
+ * Require `cd` failures to be handled, e.g. `cd ... || exit`
5912
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/require-cd-guard.md
5913
+ */
5914
+ 'shell/require-cd-guard'?: Linter.RuleEntry<[]>;
5915
+ /**
5916
+ * Require `read -r` so backslashes are not mangled
5917
+ * @see https://github.com/eslint/shell/blob/main/docs/rules/require-read-r.md
5918
+ */
5919
+ 'shell/require-read-r'?: Linter.RuleEntry<[]>;
5823
5920
  /**
5824
5921
  * Enforce sorted `import` declarations within modules
5825
5922
  * @see https://eslint.org/docs/latest/rules/sort-imports
@@ -8960,6 +9057,11 @@ interface RuleOptions {
8960
9057
  * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/no-complex-v-for-source.md
8961
9058
  */
8962
9059
  'vue-perfectionist/no-complex-v-for-source'?: Linter.RuleEntry<VuePerfectionistNoComplexVForSource>;
9060
+ /**
9061
+ * disallow specified native HTML elements in Vue templates.
9062
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/no-restricted-html-elements.md
9063
+ */
9064
+ 'vue-perfectionist/no-restricted-html-elements'?: Linter.RuleEntry<VuePerfectionistNoRestrictedHtmlElements>;
8963
9065
  /**
8964
9066
  * enforce blank lines between consecutive Vue template tags.
8965
9067
  * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/padding-line-between-tags.md
@@ -9040,6 +9142,16 @@ interface RuleOptions {
9040
9142
  * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/require-vue-generic.md
9041
9143
  */
9042
9144
  'vue-perfectionist/require-vue-generic'?: Linter.RuleEntry<VuePerfectionistRequireVueGeneric>;
9145
+ /**
9146
+ * enforce grouping of destructured composable members by state and method.
9147
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/sort-composable-destructure.md
9148
+ */
9149
+ 'vue-perfectionist/sort-composable-destructure'?: Linter.RuleEntry<VuePerfectionistSortComposableDestructure>;
9150
+ /**
9151
+ * enforce grouping of composable return members by state and method.
9152
+ * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/sort-composable-return.md
9153
+ */
9154
+ 'vue-perfectionist/sort-composable-return'?: Linter.RuleEntry<VuePerfectionistSortComposableReturn>;
9043
9155
  /**
9044
9156
  * enforce consistent ordering of Vue 3 script setup statements.
9045
9157
  * @see https://github.com/ntnyq/eslint-plugin-vue-perfectionist/blob/main/docs/rules/sort-script-setup.md
@@ -10412,6 +10524,11 @@ interface RuleOptions {
10412
10524
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
10413
10525
  */
10414
10526
  'yml/key-spacing'?: Linter.RuleEntry<YmlKeySpacing>;
10527
+ /**
10528
+ * enforce a maximum line length
10529
+ * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/max-len.html
10530
+ */
10531
+ 'yml/max-len'?: Linter.RuleEntry<YmlMaxLen>;
10415
10532
  /**
10416
10533
  * disallow boolean mapping keys
10417
10534
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
@@ -12048,6 +12165,20 @@ type IdMatch = [] | [string] | [string, {
12048
12165
  }];
12049
12166
  // ----- implicit-arrow-linebreak -----
12050
12167
  type ImplicitArrowLinebreak = [] | [("beside" | "below")];
12168
+ // ----- import-x/avoid-barrel-files -----
12169
+ type ImportXAvoidBarrelFiles = [] | [{
12170
+ amountOfExportsToConsiderModuleAsBarrel?: number;
12171
+ }];
12172
+ // ----- import-x/avoid-importing-barrel-files -----
12173
+ type ImportXAvoidImportingBarrelFiles = [] | [{
12174
+ allowList?: string[];
12175
+ maxModuleGraphSizeAllowed?: number;
12176
+ amountOfExportsToConsiderModuleAsBarrel?: number;
12177
+ }];
12178
+ // ----- import-x/avoid-namespace-import -----
12179
+ type ImportXAvoidNamespaceImport = [] | [{
12180
+ allowList?: string[];
12181
+ }];
12051
12182
  // ----- import-x/consistent-type-specifier-style -----
12052
12183
  type ImportXConsistentTypeSpecifierStyle = [] | [("prefer-top-level" | "prefer-inline")];
12053
12184
  // ----- import-x/dynamic-import-chunkname -----
@@ -12055,7 +12186,6 @@ type ImportXDynamicImportChunkname = [] | [{
12055
12186
  importFunctions?: string[];
12056
12187
  allowEmpty?: boolean;
12057
12188
  webpackChunknameFormat?: string;
12058
- [k: string]: unknown | undefined;
12059
12189
  }];
12060
12190
  // ----- import-x/extensions -----
12061
12191
  type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
@@ -12064,6 +12194,7 @@ type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] |
12064
12194
  };
12065
12195
  ignorePackages?: boolean;
12066
12196
  checkTypeImports?: boolean;
12197
+ checkSelfReference?: boolean;
12067
12198
  pathGroupOverrides?: {
12068
12199
  pattern: string;
12069
12200
  patternOptions?: {
@@ -12072,13 +12203,13 @@ type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] |
12072
12203
  action: ("enforce" | "ignore");
12073
12204
  }[];
12074
12205
  fix?: boolean;
12075
- [k: string]: unknown | undefined;
12076
12206
  }] | [] | [{
12077
12207
  pattern?: {
12078
12208
  [k: string]: ("always" | "ignorePackages" | "never");
12079
12209
  };
12080
12210
  ignorePackages?: boolean;
12081
12211
  checkTypeImports?: boolean;
12212
+ checkSelfReference?: boolean;
12082
12213
  pathGroupOverrides?: {
12083
12214
  pattern: string;
12084
12215
  patternOptions?: {
@@ -12087,7 +12218,6 @@ type ImportXExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] |
12087
12218
  action: ("enforce" | "ignore");
12088
12219
  }[];
12089
12220
  fix?: boolean;
12090
- [k: string]: unknown | undefined;
12091
12221
  }] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
12092
12222
  [k: string]: ("always" | "ignorePackages" | "never");
12093
12223
  }] | [] | [{
@@ -12121,7 +12251,11 @@ type ImportXNoAbsolutePath = [] | [{
12121
12251
  commonjs?: boolean;
12122
12252
  amd?: boolean;
12123
12253
  esmodule?: boolean;
12124
- ignore?: [unknown, ...(unknown)[]];
12254
+ ignore?: [(string | {
12255
+ [k: string]: unknown | undefined;
12256
+ }), ...((string | {
12257
+ [k: string]: unknown | undefined;
12258
+ }))[]];
12125
12259
  }];
12126
12260
  // ----- import-x/no-anonymous-default-export -----
12127
12261
  type ImportXNoAnonymousDefaultExport = [] | [{
@@ -12145,7 +12279,11 @@ type ImportXNoCycle = [] | [{
12145
12279
  commonjs?: boolean;
12146
12280
  amd?: boolean;
12147
12281
  esmodule?: boolean;
12148
- ignore?: [unknown, ...(unknown)[]];
12282
+ ignore?: [(string | {
12283
+ [k: string]: unknown | undefined;
12284
+ }), ...((string | {
12285
+ [k: string]: unknown | undefined;
12286
+ }))[]];
12149
12287
  maxDepth?: (number | "∞");
12150
12288
  ignoreExternal?: boolean;
12151
12289
  allowUnsafeDynamicCyclicDependency?: boolean;
@@ -12154,6 +12292,7 @@ type ImportXNoCycle = [] | [{
12154
12292
  type ImportXNoDuplicates = [] | [{
12155
12293
  considerQueryString?: boolean;
12156
12294
  "prefer-inline"?: boolean;
12295
+ whitelist?: string[][];
12157
12296
  }];
12158
12297
  // ----- import-x/no-dynamic-require -----
12159
12298
  type ImportXNoDynamicRequire = [] | [{
@@ -12183,7 +12322,6 @@ type ImportXNoInternalModules = [] | [({
12183
12322
  // ----- import-x/no-namespace -----
12184
12323
  type ImportXNoNamespace = [] | [{
12185
12324
  ignore?: string[];
12186
- [k: string]: unknown | undefined;
12187
12325
  }];
12188
12326
  // ----- import-x/no-nodejs-modules -----
12189
12327
  type ImportXNoNodejsModules = [] | [{
@@ -12194,19 +12332,28 @@ type ImportXNoRelativePackages = [] | [{
12194
12332
  commonjs?: boolean;
12195
12333
  amd?: boolean;
12196
12334
  esmodule?: boolean;
12197
- ignore?: [unknown, ...(unknown)[]];
12335
+ ignore?: [(string | {
12336
+ [k: string]: unknown | undefined;
12337
+ }), ...((string | {
12338
+ [k: string]: unknown | undefined;
12339
+ }))[]];
12198
12340
  }];
12199
12341
  // ----- import-x/no-relative-parent-imports -----
12200
12342
  type ImportXNoRelativeParentImports = [] | [{
12201
12343
  commonjs?: boolean;
12202
12344
  amd?: boolean;
12203
12345
  esmodule?: boolean;
12204
- ignore?: [unknown, ...(unknown)[]];
12346
+ ignore?: [(string | {
12347
+ [k: string]: unknown | undefined;
12348
+ }), ...((string | {
12349
+ [k: string]: unknown | undefined;
12350
+ }))[]];
12205
12351
  }];
12206
12352
  // ----- import-x/no-rename-default -----
12207
12353
  type ImportXNoRenameDefault = [] | [{
12208
12354
  commonjs?: boolean;
12209
12355
  preventRenamingBindings?: boolean;
12356
+ whitelist?: string[];
12210
12357
  }];
12211
12358
  // ----- import-x/no-restricted-paths -----
12212
12359
  type ImportXNoRestrictedPaths = [] | [{
@@ -12235,18 +12382,29 @@ type ImportXNoUnresolved = [] | [{
12235
12382
  commonjs?: boolean;
12236
12383
  amd?: boolean;
12237
12384
  esmodule?: boolean;
12238
- ignore?: [unknown, ...(unknown)[]];
12385
+ ignore?: [(string | {
12386
+ [k: string]: unknown | undefined;
12387
+ }), ...((string | {
12388
+ [k: string]: unknown | undefined;
12389
+ }))[]];
12239
12390
  caseSensitive?: boolean;
12240
12391
  caseSensitiveStrict?: boolean;
12241
12392
  }];
12242
12393
  // ----- import-x/no-unused-modules -----
12243
12394
  type ImportXNoUnusedModules = [] | [({
12244
- unusedExports: true;
12245
- src?: [unknown, ...(unknown)[]];
12246
- [k: string]: unknown | undefined;
12395
+ src?: [string, ...(string)[]];
12396
+ ignoreExports?: string[];
12397
+ missingExports?: boolean;
12398
+ unusedExports: boolean;
12399
+ ignoreUnusedTypeExports?: boolean;
12400
+ suppressMissingFileEnumeratorAPIWarning?: boolean;
12247
12401
  } | {
12248
- missingExports: true;
12249
- [k: string]: unknown | undefined;
12402
+ src?: string[];
12403
+ ignoreExports?: string[];
12404
+ missingExports: boolean;
12405
+ unusedExports?: boolean;
12406
+ ignoreUnusedTypeExports?: boolean;
12407
+ suppressMissingFileEnumeratorAPIWarning?: boolean;
12250
12408
  })];
12251
12409
  // ----- import-x/no-useless-path-segments -----
12252
12410
  type ImportXNoUselessPathSegments = [] | [{
@@ -12283,7 +12441,7 @@ type ImportXOrder = [] | [{
12283
12441
  order?: ("ignore" | "asc" | "desc");
12284
12442
  orderImportKind?: ("ignore" | "asc" | "desc");
12285
12443
  };
12286
- warnOnUnassignedImports?: boolean;
12444
+ warnOnUnassignedImports?: (boolean | "top");
12287
12445
  }];
12288
12446
  // ----- import-x/prefer-default-export -----
12289
12447
  type ImportXPreferDefaultExport = [] | [{
@@ -18075,6 +18233,10 @@ type SemiSpacing = [] | [{
18075
18233
  }];
18076
18234
  // ----- semi-style -----
18077
18235
  type SemiStyle = [] | [("last" | "first")];
18236
+ // ----- shell/no-unused-vars -----
18237
+ type ShellNoUnusedVars = [] | [{
18238
+ allowed?: string[];
18239
+ }];
18078
18240
  // ----- sort-imports -----
18079
18241
  type SortImports = [] | [{
18080
18242
  ignoreCase?: boolean;
@@ -19727,8 +19889,16 @@ type VuePerfectionistNoComplexVForSource = [] | [{
19727
19889
  allowCallExpression?: boolean;
19728
19890
  allowLiteral?: boolean;
19729
19891
  }];
19892
+ // ----- vue-perfectionist/no-restricted-html-elements -----
19893
+ type VuePerfectionistNoRestrictedHtmlElements = [] | [{
19894
+ elements?: (("a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "object" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "selectedcontent" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr") | {
19895
+ name: ("a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "meta" | "meter" | "nav" | "noscript" | "object" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "selectedcontent" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr");
19896
+ message?: string;
19897
+ })[];
19898
+ }];
19730
19899
  // ----- vue-perfectionist/padding-line-between-tags -----
19731
19900
  type VuePerfectionistPaddingLineBetweenTags = [] | [{
19901
+ ignoreComments?: boolean;
19732
19902
  targets?: ({
19733
19903
  [k: string]: unknown | undefined;
19734
19904
  } | {
@@ -19842,6 +20012,67 @@ type VuePerfectionistRequireVueGeneric = [] | [{
19842
20012
  }[];
19843
20013
  unknownValues?: ("ignore" | "report");
19844
20014
  }];
20015
+ // ----- vue-perfectionist/sort-composable-destructure -----
20016
+ type VuePerfectionistSortComposableDestructure = [] | [{
20017
+ newlinesInside?: (number | "ignore");
20018
+ order?: ("asc" | "desc");
20019
+ type?: ("unsorted" | "alphabetical" | "natural" | "name-length");
20020
+ customGroups?: {
20021
+ elementNamePattern?: string;
20022
+ groupName: string;
20023
+ selector: ("state" | "method");
20024
+ }[];
20025
+ fix?: ("safe" | "none");
20026
+ functionPattern?: string;
20027
+ groups?: (string | [string, ...(string)[]] | {
20028
+ newlinesInside?: (number | "ignore");
20029
+ order?: ("asc" | "desc");
20030
+ type?: ("unsorted" | "alphabetical" | "natural" | "name-length");
20031
+ group: (string | [string, ...(string)[]]);
20032
+ } | {
20033
+ newlinesBetween: (number | "ignore");
20034
+ })[];
20035
+ ignoreNames?: string[];
20036
+ memberKinds?: {
20037
+ elementNamePattern: string;
20038
+ functionPattern: string;
20039
+ kind: ("state" | "method");
20040
+ }[];
20041
+ newlinesBetween?: (number | "ignore");
20042
+ typeInformation?: boolean;
20043
+ unknownMembers?: ("ignore" | "report");
20044
+ importSourcePattern?: string;
20045
+ }];
20046
+ // ----- vue-perfectionist/sort-composable-return -----
20047
+ type VuePerfectionistSortComposableReturn = [] | [{
20048
+ newlinesInside?: (number | "ignore");
20049
+ order?: ("asc" | "desc");
20050
+ type?: ("unsorted" | "alphabetical" | "natural" | "name-length");
20051
+ customGroups?: {
20052
+ elementNamePattern?: string;
20053
+ groupName: string;
20054
+ selector: ("state" | "method");
20055
+ }[];
20056
+ fix?: ("safe" | "none");
20057
+ functionPattern?: string;
20058
+ groups?: (string | [string, ...(string)[]] | {
20059
+ newlinesInside?: (number | "ignore");
20060
+ order?: ("asc" | "desc");
20061
+ type?: ("unsorted" | "alphabetical" | "natural" | "name-length");
20062
+ group: (string | [string, ...(string)[]]);
20063
+ } | {
20064
+ newlinesBetween: (number | "ignore");
20065
+ })[];
20066
+ ignoreNames?: string[];
20067
+ memberKinds?: {
20068
+ elementNamePattern: string;
20069
+ functionPattern: string;
20070
+ kind: ("state" | "method");
20071
+ }[];
20072
+ newlinesBetween?: (number | "ignore");
20073
+ typeInformation?: boolean;
20074
+ unknownMembers?: ("ignore" | "report");
20075
+ }];
19845
20076
  // ----- vue-perfectionist/sort-script-setup -----
19846
20077
  type VuePerfectionistSortScriptSetup = [] | [{
19847
20078
  newlinesInside?: ((number | "ignore") | "newlinesBetween");
@@ -21342,6 +21573,17 @@ type YmlKeySpacing = [] | [({
21342
21573
  afterColon?: boolean;
21343
21574
  };
21344
21575
  })];
21576
+ // ----- yml/max-len -----
21577
+ type YmlMaxLen = [] | [{
21578
+ code?: number;
21579
+ comments?: number;
21580
+ tabWidth?: number;
21581
+ ignorePattern?: string;
21582
+ ignoreComments?: boolean;
21583
+ ignoreTrailingComments?: boolean;
21584
+ ignoreUrls?: boolean;
21585
+ ignoreStrings?: boolean;
21586
+ }];
21345
21587
  // ----- yml/no-irregular-whitespace -----
21346
21588
  type YmlNoIrregularWhitespace = [] | [{
21347
21589
  skipComments?: boolean;
@@ -21466,7 +21708,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
21466
21708
  onlyEquality?: boolean;
21467
21709
  }];
21468
21710
  // Names of all the configs
21469
- type ConfigNames = 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/jsx' | 'ntnyq/node' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/javascript/recommended' | 'ntnyq/javascript/core' | 'ntnyq/import-x' | 'ntnyq/jsdoc/base' | 'ntnyq/jsdoc/javascript' | 'ntnyq/jsdoc/typescript' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/unicorn' | 'ntnyq/pinia' | 'ntnyq/de-morgan' | 'ntnyq/regexp' | 'ntnyq/typescript/setup' | 'ntnyq/typescript/parser' | 'ntnyq/typescript/parser-type-aware' | 'ntnyq/typescript/rules' | 'ntnyq/typescript/rules/type-aware' | 'ntnyq/typescript/types' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/vue/vue-perfectionist' | 'ntnyq/yml' | 'ntnyq/toml' | 'ntnyq/jsonc' | 'ntnyq/astro' | 'ntnyq/svelte' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/json-schema' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/unocss' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/code-blocks' | 'ntnyq/antfu' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/ntnyq' | 'ntnyq/github-action' | 'ntnyq/eslint-plugin' | 'ntnyq/pnpm/package-json' | 'ntnyq/pnpm/pnpm-workspace-yaml' | 'ntnyq/svgo' | 'ntnyq/html' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/specials/shadcn-vue' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/oxfmt/native-files' | 'ntnyq/oxfmt/plain-parser-files';
21711
+ type ConfigNames = 'ntnyq/gitignore' | 'ntnyq/ignores' | 'ntnyq/jsx' | 'ntnyq/node' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/javascript/recommended' | 'ntnyq/javascript/core' | 'ntnyq/import-x' | 'ntnyq/jsdoc/base' | 'ntnyq/jsdoc/javascript' | 'ntnyq/jsdoc/typescript' | 'ntnyq/perfectionist/common' | 'ntnyq/perfectionist/enums' | 'ntnyq/perfectionist/types' | 'ntnyq/perfectionist/constants' | 'ntnyq/unicorn' | 'ntnyq/pinia' | 'ntnyq/de-morgan' | 'ntnyq/regexp' | 'ntnyq/typescript/setup' | 'ntnyq/typescript/parser' | 'ntnyq/typescript/parser-type-aware' | 'ntnyq/typescript/rules' | 'ntnyq/typescript/rules/type-aware' | 'ntnyq/typescript/types' | 'ntnyq/vue/setup' | 'ntnyq/vue/rules' | 'ntnyq/vue/vue-perfectionist' | 'ntnyq/yml' | 'ntnyq/toml' | 'ntnyq/jsonc' | 'ntnyq/astro' | 'ntnyq/svelte' | 'ntnyq/sort/tsconfig' | 'ntnyq/sort/package-json' | 'ntnyq/sort/i18n-locale/json' | 'ntnyq/sort/i18n-locale/yaml' | 'ntnyq/sort/json-schema' | 'ntnyq/sort/pnpm-workspace' | 'ntnyq/test/setup' | 'ntnyq/test/base' | 'ntnyq/test/vitest' | 'ntnyq/unocss' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/processor' | 'ntnyq/markdown/parser' | 'ntnyq/markdown/code-blocks' | 'ntnyq/antfu' | 'ntnyq/depend' | 'ntnyq/depend/package-json' | 'ntnyq/ntnyq' | 'ntnyq/github-action' | 'ntnyq/eslint-plugin' | 'ntnyq/pnpm/package-json' | 'ntnyq/pnpm/pnpm-workspace-yaml' | 'ntnyq/svgo' | 'ntnyq/html' | 'ntnyq/specials/scripts' | 'ntnyq/specials/cli' | 'ntnyq/specials/bin' | 'ntnyq/specials/userscript' | 'ntnyq/specials/config-file' | 'ntnyq/specials/shadcn-vue' | 'ntnyq/shell' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/oxfmt/native-files' | 'ntnyq/oxfmt/plain-parser-files';
21470
21712
  /**
21471
21713
  * ESLint config
21472
21714
  */
@@ -21609,6 +21851,7 @@ export interface ConfigOptions {
21609
21851
  eslintPlugin?: boolean | ConfigESLintPluginOptions;
21610
21852
  html?: boolean | ConfigHtmlOptions;
21611
21853
  pnpm?: boolean | ConfigPnpmOptions;
21854
+ shell?: boolean | ConfigShellOptions;
21612
21855
  svelte?: boolean | ConfigSvelteOptions;
21613
21856
  svgo?: boolean | ConfigSVGOOptions;
21614
21857
  unusedImports?: boolean | ConfigUnusedImportsOptions;
@@ -21658,6 +21901,7 @@ export declare const GLOB_GITHUB_ACTION: string;
21658
21901
  export declare const GLOB_SVG: string;
21659
21902
  export declare const GLOB_SVELTE: string;
21660
21903
  export declare const GLOB_TOML: string;
21904
+ export declare const GLOB_SHELL: string;
21661
21905
  export declare const GLOB_HTML: string;
21662
21906
  export declare const GLOB_ASTRO: string;
21663
21907
  export declare const GLOB_ASTRO_TS: string;
@@ -21779,4 +22023,4 @@ export declare const PERFECTIONIST: Readonly<{
21779
22023
  sortNamedImportsGroups: string[];
21780
22024
  sortObjectsGroups: string[];
21781
22025
  }>;
21782
- export { type ConfigNames, type RuleOptions, configsTypeScript, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginVuePerfectionist, pluginYml, processorPassThrough, processorVueBlocks };
22026
+ export { type ConfigNames, type RuleOptions, configsTypeScript, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginShell, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginVuePerfectionist, pluginYml, processorPassThrough, processorVueBlocks };
package/dist/index.mjs CHANGED
@@ -6,6 +6,7 @@ import * as parserToml from "toml-eslint-parser";
6
6
  import * as parserYaml from "yaml-eslint-parser";
7
7
  import * as parserPlain from "eslint-parser-plain";
8
8
  import * as parserJsonc from "jsonc-eslint-parser";
9
+ import pluginShell from "@eslint/shell";
9
10
  import pluginNode from "eslint-plugin-n";
10
11
  import pluginVue from "eslint-plugin-vue";
11
12
  import pluginYml from "eslint-plugin-yml";
@@ -87,6 +88,7 @@ const GLOB_GITHUB_ACTION = "**/.github/workflows/*.y?(a)ml";
87
88
  const GLOB_SVG = "**/*.svg";
88
89
  const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
89
90
  const GLOB_TOML = "**/*.toml";
91
+ const GLOB_SHELL = "**/*.{sh,bash}";
90
92
  const GLOB_HTML = "**/*.htm?(l)";
91
93
  const GLOB_ASTRO = "**/*.astro";
92
94
  const GLOB_ASTRO_TS = "**/*.astro/*.ts";
@@ -1757,6 +1759,37 @@ const configPinia = (options = {}) => {
1757
1759
  }
1758
1760
  }];
1759
1761
  };
1762
+ // src/configs/shell.ts
1763
+ /**
1764
+ * Config for shell scripts
1765
+ *
1766
+ * @see {@link https://github.com/eslint/shell}
1767
+ *
1768
+ * @param options - {@link ConfigShellOptions}
1769
+ * @returns ESLint configs
1770
+ */
1771
+ const configShell = (options = {}) => {
1772
+ const { files = [GLOB_SHELL], language = "bash" } = options;
1773
+ return [{
1774
+ name: "ntnyq/shell",
1775
+ files,
1776
+ plugins: { shell: pluginShell },
1777
+ language: `shell/${language}`,
1778
+ rules: {
1779
+ "shell/no-expansions-in-single-quotes": "warn",
1780
+ "shell/no-backticks": "error",
1781
+ "shell/no-ls-iteration": "error",
1782
+ "shell/no-unquoted-expansions": "error",
1783
+ "shell/no-unused-vars": "error",
1784
+ "shell/no-useless-cat": "error",
1785
+ "shell/no-useless-echo": "error",
1786
+ "shell/no-variables-in-printf-format": "error",
1787
+ "shell/require-cd-guard": "error",
1788
+ "shell/require-read-r": "error",
1789
+ ...options.overrides
1790
+ }
1791
+ }];
1792
+ };
1760
1793
  // src/configs/depend.ts
1761
1794
  /**
1762
1795
  * Config for optimisations dependency
@@ -3372,7 +3405,7 @@ const configESLintComments = (options = {}) => [{
3372
3405
  * Config factory
3373
3406
  */
3374
3407
  function defineESLintConfig(options = {}, ...userConfigs) {
3375
- const { shareable = {}, ignores: userIgnores = [], vue: enableVue = hasVue(), pinia: enablePinia = hasPinia(), test: enableTest = hasVitest(), unocss: enableUnoCSS = hasUnoCSS(), typescript: enableTypeScript = shareable.typescript ?? hasTypeScript(), oxfmt: enableOxfmt = hasOxfmt(), prettier: enablePrettier = hasPrettier(), yml: enableYML = true, sort: enableSort = true, toml: enableTOML = true, jsonc: enableJSONC = true, antfu: enableAntfu = true, ntnyq: enableNtnyq = true, depend: enableDepend = true, regexp: enableRegexp = true, unicorn: enableUnicorn = true, deMorgan: enableDeMorgan = true, markdown: enableMarkdown = true, gitignore: enableGitIgnore = true, jsdoc: enableJsdoc = true, importX: enableImportX = true, specials: enableSpecials = true, githubAction: enableGitHubAction = true, perfectionist: enablePerfectionist = true, pnpm: enablePnpm = false, svgo: enableSVGO = false, html: enableHTML = false, astro: enableAstro = false, svelte: enableSvelte = false, eslintPlugin: enableESLintPlugin = false, unusedImports: enableUnusedImports = false } = options;
3408
+ const { shareable = {}, ignores: userIgnores = [], vue: enableVue = hasVue(), pinia: enablePinia = hasPinia(), test: enableTest = hasVitest(), unocss: enableUnoCSS = hasUnoCSS(), typescript: enableTypeScript = shareable.typescript ?? hasTypeScript(), oxfmt: enableOxfmt = hasOxfmt(), prettier: enablePrettier = hasPrettier(), yml: enableYML = true, sort: enableSort = true, toml: enableTOML = true, jsonc: enableJSONC = true, antfu: enableAntfu = true, ntnyq: enableNtnyq = true, depend: enableDepend = true, regexp: enableRegexp = true, unicorn: enableUnicorn = true, deMorgan: enableDeMorgan = true, markdown: enableMarkdown = true, gitignore: enableGitIgnore = true, jsdoc: enableJsdoc = true, importX: enableImportX = true, specials: enableSpecials = true, githubAction: enableGitHubAction = true, perfectionist: enablePerfectionist = true, pnpm: enablePnpm = false, svgo: enableSVGO = false, html: enableHTML = false, shell: enableShell = false, astro: enableAstro = false, svelte: enableSvelte = false, eslintPlugin: enableESLintPlugin = false, unusedImports: enableUnusedImports = false } = options;
3376
3409
  const configs = [];
3377
3410
  const { ecmaVersion = "latest", extraFileExtensions: shareableExtraFileExtensions = [] } = shareable;
3378
3411
  const extraFileExtensions = [...shareableExtraFileExtensions];
@@ -3475,6 +3508,10 @@ function defineESLintConfig(options = {}, ...userConfigs) {
3475
3508
  overrides: getOverrides(options, "html")
3476
3509
  }));
3477
3510
  if (enableSpecials) configs.push(configSpecials(resolveSubOptions(options, "specials")));
3511
+ if (enableShell) configs.push(configShell({
3512
+ ...resolveSubOptions(options, "shell"),
3513
+ overrides: getOverrides(options, "shell")
3514
+ }));
3478
3515
  const formatterConfigs = [];
3479
3516
  const prettierConfigs = configPrettier({
3480
3517
  ...resolveSubOptions(options, "prettier"),
@@ -3487,6 +3524,11 @@ function defineESLintConfig(options = {}, ...userConfigs) {
3487
3524
  if (options.__DEV__) formatterConfigs.push(...prettierConfigs, ...oxfmtConfigs);
3488
3525
  else if (enablePrettier) formatterConfigs.push(...prettierConfigs);
3489
3526
  else if (enableOxfmt) formatterConfigs.push(...oxfmtConfigs);
3490
- return new FlatConfigComposer(...configs, ...userConfigs, ...formatterConfigs);
3527
+ const composer = new FlatConfigComposer(...configs, ...userConfigs, ...formatterConfigs);
3528
+ if (enableShell) {
3529
+ const { files = [GLOB_SHELL] } = resolveSubOptions(options, "shell");
3530
+ return composer.setDefaultIgnores((ignores) => [...ignores, ...files]);
3531
+ }
3532
+ return composer;
3491
3533
  }
3492
- export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSON_SCHEMA, GLOB_JSX, GLOB_JSX_ONLY, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_PNPM_WORKSPACE_YAML, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_EXTENSIONS, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_VUE_COMPOSABLES, GLOB_YAML, PERFECTIONIST, configAntfu, configAstro, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configGitHubAction, configGitIgnore, configHtml, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configOxfmt, configPerfectionist, configPinia, configPnpm, configPrettier, configRegexp, configSVGO, configSort, configSpecials, configSvelte, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, configsTypeScript, defineESLintConfig, ensurePackages, getOverrides, hasAutoImport, hasOxfmt, hasPinia, hasPrettier, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunBySpecifyPackages, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginVuePerfectionist, pluginYml, processorPassThrough, processorVueBlocks, resolveSubOptions };
3534
+ export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_GITHUB_ACTION, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSON_SCHEMA, GLOB_JSX, GLOB_JSX_ONLY, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_PACKAGE_JSON, GLOB_PINIA_STORE, GLOB_PNPM_WORKSPACE_YAML, GLOB_POSTCSS, GLOB_SCSS, GLOB_SHELL, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_EXTENSIONS, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG_JSON, GLOB_TSX, GLOB_TSX_ONLY, GLOB_TYPES, GLOB_TYPE_TEST, GLOB_VUE, GLOB_VUE_COMPOSABLES, GLOB_YAML, PERFECTIONIST, configAntfu, configAstro, configCommand, configDeMorgan, configDepend, configESLintComments, configESLintPlugin, configGitHubAction, configGitIgnore, configHtml, configIgnores, configImportX, configJSX, configJavaScript, configJsdoc, configJsonc, configMarkdown, configNode, configNtnyq, configOxfmt, configPerfectionist, configPinia, configPnpm, configPrettier, configRegexp, configSVGO, configShell, configSort, configSpecials, configSvelte, configTest, configToml, configTypeScript, configUnicorn, configUnoCSS, configUnusedImports, configVue, configYml, configsTypeScript, defineESLintConfig, ensurePackages, getOverrides, hasAutoImport, hasOxfmt, hasPinia, hasPrettier, hasShadcnVue, hasTypeScript, hasUnoCSS, hasVitest, hasVue, interopDefault, isInGitHooksOrRunBySpecifyPackages, mergeProcessors, parserJsonc, parserPlain, parserToml, parserTypeScript, parserVue, parserYaml, pluginAntfu, pluginDeMorgan, pluginDepend, pluginESLintComments, pluginGitHubAction, pluginImportX, pluginJsdoc, pluginJsonc, pluginMarkdown, pluginNoOnlyTests, pluginNode, pluginNtnyq, pluginOxfmt, pluginPerfectionist, pluginPinia, pluginPrettier, pluginRegexp, pluginShell, pluginSvgo, pluginToml, pluginTypeScript, pluginUnicorn, pluginUnoCSS, pluginVitest, pluginVue, pluginVuePerfectionist, pluginYml, processorPassThrough, processorVueBlocks, resolveSubOptions };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "7.0.0-beta.29",
4
+ "version": "7.0.0-beta.30",
5
5
  "description": "An opinionated ESLint config preset of ntnyq",
6
6
  "keywords": [
7
7
  "eslint",
@@ -89,7 +89,8 @@
89
89
  "@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
90
90
  "@eslint/js": "^10.0.1",
91
91
  "@eslint/markdown": "^8.0.3",
92
- "@ntnyq/utils": "^0.24.0",
92
+ "@eslint/shell": "^0.1.2",
93
+ "@ntnyq/utils": "^0.25.0",
93
94
  "@unocss/eslint-plugin": "^66.12.0",
94
95
  "@vitest/eslint-plugin": "^1.6.28",
95
96
  "eslint-config-flat-gitignore": "^2.4.0",
@@ -102,30 +103,30 @@
102
103
  "eslint-plugin-de-morgan": "^2.3.0",
103
104
  "eslint-plugin-depend": "^1.5.0",
104
105
  "eslint-plugin-github-action": "^0.4.0",
105
- "eslint-plugin-import-x": "^4.17.1",
106
- "eslint-plugin-jsdoc": "^65.4.2",
106
+ "eslint-plugin-import-x": "^4.18.0",
107
+ "eslint-plugin-jsdoc": "^65.4.5",
107
108
  "eslint-plugin-jsonc": "^3.4.2",
108
109
  "eslint-plugin-n": "^18.5.0",
109
110
  "eslint-plugin-no-only-tests": "^3.4.0",
110
111
  "eslint-plugin-ntnyq": "^0.19.1",
111
- "eslint-plugin-oxfmt": "^0.30.0",
112
+ "eslint-plugin-oxfmt": "^0.32.0",
112
113
  "eslint-plugin-perfectionist": "^5.13.0",
113
114
  "eslint-plugin-pinia": "^0.4.2",
114
115
  "eslint-plugin-prettier": "^5.5.7",
115
- "eslint-plugin-regexp": "^3.3.2",
116
+ "eslint-plugin-regexp": "^3.3.3",
116
117
  "eslint-plugin-svgo": "^0.14.1",
117
118
  "eslint-plugin-toml": "^1.5.0",
118
119
  "eslint-plugin-unicorn": "^79.0.0",
119
120
  "eslint-plugin-vue": "^10.12.0",
120
- "eslint-plugin-vue-perfectionist": "^0.13.0",
121
- "eslint-plugin-yml": "^3.9.0",
121
+ "eslint-plugin-vue-perfectionist": "^0.15.0",
122
+ "eslint-plugin-yml": "^3.10.0",
122
123
  "eslint-processor-vue-blocks": "^2.0.0",
123
- "globals": "^17.13.0",
124
+ "globals": "^17.14.0",
124
125
  "jsonc-eslint-parser": "^3.3.0",
125
- "local-pkg": "^1.2.1",
126
+ "local-pkg": "^2.0.0",
126
127
  "toml-eslint-parser": "^1.0.3",
127
128
  "typescript-eslint": "^8.72.1",
128
- "vue-eslint-parser": "^10.4.1",
129
+ "vue-eslint-parser": "^10.4.2",
129
130
  "yaml-eslint-parser": "^2.1.0"
130
131
  },
131
132
  "devDependencies": {
@@ -134,20 +135,20 @@
134
135
  "@typescript/native-preview": "npm:typescript@^7.0.2",
135
136
  "bumpp": "^12.3.0",
136
137
  "consola": "^3.4.2",
137
- "eslint": "^10.13.0",
138
+ "eslint": "^10.14.0",
138
139
  "eslint-typegen": "^2.3.2",
139
140
  "husky": "^9.1.7",
140
141
  "jiti": "^2.7.0",
141
142
  "nano-staged": "^1.0.2",
142
143
  "npm-run-all2": "^9.0.4",
143
- "oxfmt": "^0.75.0",
144
+ "oxfmt": "^0.77.0",
144
145
  "prettier": "^3.9.10",
145
146
  "tinyglobby": "^0.2.17",
146
- "tsdown": "^0.23.4",
147
+ "tsdown": "^0.23.7",
147
148
  "tsx": "^4.23.15",
148
149
  "typescript": "npm:@typescript/typescript6@^6.0.2",
149
150
  "uncase": "^0.3.0",
150
- "vitest": "^5.0.5"
151
+ "vitest": "^5.1.0"
151
152
  },
152
153
  "engines": {
153
154
  "node": "^22.23.0 || >=24.15.0"