@ntnyq/eslint-config 7.0.0-beta.30 → 7.0.0-beta.31
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 +330 -89
- package/dist/index.mjs +101 -22
- package/package.json +16 -16
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ import pluginDeMorgan from "eslint-plugin-de-morgan";
|
|
|
33
33
|
import pluginNoOnlyTests from "eslint-plugin-no-only-tests";
|
|
34
34
|
import pluginGitHubAction from "eslint-plugin-github-action";
|
|
35
35
|
import pluginPerfectionist from "eslint-plugin-perfectionist";
|
|
36
|
-
import pluginVuePerfectionist from "eslint-plugin-vue-perfectionist";
|
|
36
|
+
import pluginVuePerfectionist, { VuePerfectionistSettings } from "eslint-plugin-vue-perfectionist";
|
|
37
37
|
import * as pluginESLintComments from "@eslint-community/eslint-plugin-eslint-comments";
|
|
38
38
|
import processorVueBlocks, { Options } from "eslint-processor-vue-blocks";
|
|
39
39
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
@@ -66,12 +66,7 @@ export type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
66
66
|
/**
|
|
67
67
|
* Options for a Vue config branch
|
|
68
68
|
*/
|
|
69
|
-
export type VuePerfectionistOptions = OptionsFiles & OptionsOverrides &
|
|
70
|
-
/**
|
|
71
|
-
* Enable settings `auto-import` of `eslint-plugin-vue-perfectionist`
|
|
72
|
-
*/
|
|
73
|
-
autoImport?: boolean;
|
|
74
|
-
};
|
|
69
|
+
export type VuePerfectionistOptions = OptionsFiles & OptionsOverrides & VuePerfectionistSettings;
|
|
75
70
|
/**
|
|
76
71
|
* Options type of {@link configVue}
|
|
77
72
|
*/
|
|
@@ -2839,258 +2834,258 @@ interface RuleOptions {
|
|
|
2839
2834
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
2840
2835
|
/**
|
|
2841
2836
|
* Forbid authoring of barrel files.
|
|
2842
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2837
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/avoid-barrel-files.md
|
|
2843
2838
|
*/
|
|
2844
2839
|
'import-x/avoid-barrel-files'?: Linter.RuleEntry<ImportXAvoidBarrelFiles>;
|
|
2845
2840
|
/**
|
|
2846
2841
|
* Forbid importing barrel files.
|
|
2847
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2842
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/avoid-importing-barrel-files.md
|
|
2848
2843
|
*/
|
|
2849
2844
|
'import-x/avoid-importing-barrel-files'?: Linter.RuleEntry<ImportXAvoidImportingBarrelFiles>;
|
|
2850
2845
|
/**
|
|
2851
2846
|
* Forbid namespace imports.
|
|
2852
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2847
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/avoid-namespace-import.md
|
|
2853
2848
|
*/
|
|
2854
2849
|
'import-x/avoid-namespace-import'?: Linter.RuleEntry<ImportXAvoidNamespaceImport>;
|
|
2855
2850
|
/**
|
|
2856
2851
|
* Forbid re-exporting * from a module.
|
|
2857
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2852
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/avoid-re-export-all.md
|
|
2858
2853
|
*/
|
|
2859
2854
|
'import-x/avoid-re-export-all'?: Linter.RuleEntry<[]>;
|
|
2860
2855
|
/**
|
|
2861
2856
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
2862
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2857
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/consistent-type-specifier-style.md
|
|
2863
2858
|
*/
|
|
2864
2859
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
|
|
2865
2860
|
/**
|
|
2866
2861
|
* Ensure a default export is present, given a default import.
|
|
2867
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2862
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/default.md
|
|
2868
2863
|
*/
|
|
2869
2864
|
'import-x/default'?: Linter.RuleEntry<[]>;
|
|
2870
2865
|
/**
|
|
2871
2866
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
2872
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2867
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/dynamic-import-chunkname.md
|
|
2873
2868
|
*/
|
|
2874
2869
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
|
|
2875
2870
|
/**
|
|
2876
2871
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
2877
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2872
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/export.md
|
|
2878
2873
|
*/
|
|
2879
2874
|
'import-x/export'?: Linter.RuleEntry<[]>;
|
|
2880
2875
|
/**
|
|
2881
2876
|
* Ensure all exports appear after other statements.
|
|
2882
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2877
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/exports-last.md
|
|
2883
2878
|
*/
|
|
2884
2879
|
'import-x/exports-last'?: Linter.RuleEntry<[]>;
|
|
2885
2880
|
/**
|
|
2886
2881
|
* Ensure consistent use of file extension within the import path.
|
|
2887
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2882
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/extensions.md
|
|
2888
2883
|
*/
|
|
2889
2884
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
|
|
2890
2885
|
/**
|
|
2891
2886
|
* Ensure all imports appear before other statements.
|
|
2892
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2887
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/first.md
|
|
2893
2888
|
*/
|
|
2894
2889
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
|
|
2895
2890
|
/**
|
|
2896
2891
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
2897
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2892
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/group-exports.md
|
|
2898
2893
|
*/
|
|
2899
2894
|
'import-x/group-exports'?: Linter.RuleEntry<[]>;
|
|
2900
2895
|
/**
|
|
2901
2896
|
* Replaced by `import-x/first`.
|
|
2902
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2897
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/imports-first.md
|
|
2903
2898
|
* @deprecated
|
|
2904
2899
|
*/
|
|
2905
2900
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
|
|
2906
2901
|
/**
|
|
2907
2902
|
* Enforce the maximum number of dependencies a module can have.
|
|
2908
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2903
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/max-dependencies.md
|
|
2909
2904
|
*/
|
|
2910
2905
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
|
|
2911
2906
|
/**
|
|
2912
2907
|
* Ensure named imports correspond to a named export in the remote file.
|
|
2913
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2908
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/named.md
|
|
2914
2909
|
*/
|
|
2915
2910
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
|
|
2916
2911
|
/**
|
|
2917
2912
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
2918
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2913
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/namespace.md
|
|
2919
2914
|
*/
|
|
2920
2915
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
|
|
2921
2916
|
/**
|
|
2922
2917
|
* Enforce a newline after import statements.
|
|
2923
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2918
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/newline-after-import.md
|
|
2924
2919
|
*/
|
|
2925
2920
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
|
|
2926
2921
|
/**
|
|
2927
2922
|
* Forbid import of modules using absolute paths.
|
|
2928
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2923
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-absolute-path.md
|
|
2929
2924
|
*/
|
|
2930
2925
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
|
|
2931
2926
|
/**
|
|
2932
2927
|
* Forbid AMD `require` and `define` calls.
|
|
2933
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2928
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-amd.md
|
|
2934
2929
|
*/
|
|
2935
2930
|
'import-x/no-amd'?: Linter.RuleEntry<[]>;
|
|
2936
2931
|
/**
|
|
2937
2932
|
* Forbid anonymous values as default exports.
|
|
2938
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2933
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-anonymous-default-export.md
|
|
2939
2934
|
*/
|
|
2940
2935
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
|
|
2941
2936
|
/**
|
|
2942
2937
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
2943
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2938
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-commonjs.md
|
|
2944
2939
|
*/
|
|
2945
2940
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
|
|
2946
2941
|
/**
|
|
2947
2942
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
2948
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2943
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-cycle.md
|
|
2949
2944
|
*/
|
|
2950
2945
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
|
|
2951
2946
|
/**
|
|
2952
2947
|
* Forbid default exports.
|
|
2953
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2948
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-default-export.md
|
|
2954
2949
|
*/
|
|
2955
2950
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>;
|
|
2956
2951
|
/**
|
|
2957
2952
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
2958
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2953
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-deprecated.md
|
|
2959
2954
|
*/
|
|
2960
2955
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
2961
2956
|
/**
|
|
2962
2957
|
* Forbid repeated import of the same module in multiple places.
|
|
2963
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2958
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-duplicates.md
|
|
2964
2959
|
*/
|
|
2965
2960
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
|
|
2966
2961
|
/**
|
|
2967
2962
|
* Forbid `require()` calls with expressions.
|
|
2968
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2963
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-dynamic-require.md
|
|
2969
2964
|
*/
|
|
2970
2965
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
|
|
2971
2966
|
/**
|
|
2972
2967
|
* Forbid empty named import blocks.
|
|
2973
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2968
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-empty-named-blocks.md
|
|
2974
2969
|
*/
|
|
2975
2970
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
2976
2971
|
/**
|
|
2977
2972
|
* Forbid the use of extraneous packages.
|
|
2978
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2973
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-extraneous-dependencies.md
|
|
2979
2974
|
*/
|
|
2980
2975
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
|
|
2981
2976
|
/**
|
|
2982
2977
|
* Forbid import statements with CommonJS module.exports.
|
|
2983
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2978
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-import-module-exports.md
|
|
2984
2979
|
*/
|
|
2985
2980
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
|
|
2986
2981
|
/**
|
|
2987
2982
|
* Forbid importing the submodules of other modules.
|
|
2988
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2983
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-internal-modules.md
|
|
2989
2984
|
*/
|
|
2990
2985
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
|
|
2991
2986
|
/**
|
|
2992
2987
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
2993
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2988
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-mutable-exports.md
|
|
2994
2989
|
*/
|
|
2995
2990
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
2996
2991
|
/**
|
|
2997
2992
|
* Forbid use of exported name as identifier of default export.
|
|
2998
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2993
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-named-as-default.md
|
|
2999
2994
|
*/
|
|
3000
2995
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
3001
2996
|
/**
|
|
3002
2997
|
* Forbid use of exported name as property of default export.
|
|
3003
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
2998
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-named-as-default-member.md
|
|
3004
2999
|
*/
|
|
3005
3000
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
3006
3001
|
/**
|
|
3007
3002
|
* Forbid named default exports.
|
|
3008
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3003
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-named-default.md
|
|
3009
3004
|
*/
|
|
3010
3005
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>;
|
|
3011
3006
|
/**
|
|
3012
3007
|
* Forbid named exports.
|
|
3013
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3008
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-named-export.md
|
|
3014
3009
|
*/
|
|
3015
3010
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>;
|
|
3016
3011
|
/**
|
|
3017
3012
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
3018
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3013
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-namespace.md
|
|
3019
3014
|
*/
|
|
3020
3015
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
|
|
3021
3016
|
/**
|
|
3022
3017
|
* Forbid Node.js builtin modules.
|
|
3023
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3018
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-nodejs-modules.md
|
|
3024
3019
|
*/
|
|
3025
3020
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
|
|
3026
3021
|
/**
|
|
3027
3022
|
* Forbid importing packages through relative paths.
|
|
3028
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3023
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-relative-packages.md
|
|
3029
3024
|
*/
|
|
3030
3025
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
|
|
3031
3026
|
/**
|
|
3032
3027
|
* Forbid importing modules from parent directories.
|
|
3033
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3028
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-relative-parent-imports.md
|
|
3034
3029
|
*/
|
|
3035
3030
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
|
|
3036
3031
|
/**
|
|
3037
3032
|
* Forbid importing a default export by a different name.
|
|
3038
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3033
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-rename-default.md
|
|
3039
3034
|
*/
|
|
3040
3035
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
|
|
3041
3036
|
/**
|
|
3042
3037
|
* Enforce which files can be imported in a given folder.
|
|
3043
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3038
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-restricted-paths.md
|
|
3044
3039
|
*/
|
|
3045
3040
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
|
|
3046
3041
|
/**
|
|
3047
3042
|
* Forbid a module from importing itself.
|
|
3048
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3043
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-self-import.md
|
|
3049
3044
|
*/
|
|
3050
3045
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>;
|
|
3051
3046
|
/**
|
|
3052
3047
|
* Forbid unassigned imports.
|
|
3053
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3048
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-unassigned-import.md
|
|
3054
3049
|
*/
|
|
3055
3050
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
|
|
3056
3051
|
/**
|
|
3057
3052
|
* Ensure imports point to a file/module that can be resolved.
|
|
3058
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3053
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-unresolved.md
|
|
3059
3054
|
*/
|
|
3060
3055
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
|
|
3061
3056
|
/**
|
|
3062
3057
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
3063
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3058
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-unused-modules.md
|
|
3064
3059
|
*/
|
|
3065
3060
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
|
|
3066
3061
|
/**
|
|
3067
3062
|
* Forbid unnecessary path segments in import and require statements.
|
|
3068
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3063
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-useless-path-segments.md
|
|
3069
3064
|
*/
|
|
3070
3065
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
|
|
3071
3066
|
/**
|
|
3072
3067
|
* Forbid webpack loader syntax in imports.
|
|
3073
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3068
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/no-webpack-loader-syntax.md
|
|
3074
3069
|
*/
|
|
3075
3070
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
3076
3071
|
/**
|
|
3077
3072
|
* Enforce a convention in module import order.
|
|
3078
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3073
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/order.md
|
|
3079
3074
|
*/
|
|
3080
3075
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
|
|
3081
3076
|
/**
|
|
3082
3077
|
* Prefer a default export if module exports a single name or multiple names.
|
|
3083
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3078
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/prefer-default-export.md
|
|
3084
3079
|
*/
|
|
3085
3080
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
|
|
3086
3081
|
/**
|
|
3087
3082
|
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
3088
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3083
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/prefer-namespace-import.md
|
|
3089
3084
|
*/
|
|
3090
3085
|
'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>;
|
|
3091
3086
|
/**
|
|
3092
3087
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
3093
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.
|
|
3088
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.18.1/docs/rules/unambiguous.md
|
|
3094
3089
|
*/
|
|
3095
3090
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>;
|
|
3096
3091
|
/**
|
|
@@ -5039,6 +5034,11 @@ interface RuleOptions {
|
|
|
5039
5034
|
* @see https://eslint-plugin.ntnyq.com/rules/no-restricted-bindings.html
|
|
5040
5035
|
*/
|
|
5041
5036
|
'ntnyq/no-restricted-bindings'?: Linter.RuleEntry<NtnyqNoRestrictedBindings>;
|
|
5037
|
+
/**
|
|
5038
|
+
* require or disallow padding lines between statements
|
|
5039
|
+
* @see https://eslint-plugin.ntnyq.com/rules/padding-line-between-statements.html
|
|
5040
|
+
*/
|
|
5041
|
+
'ntnyq/padding-line-between-statements'?: Linter.RuleEntry<NtnyqPaddingLineBetweenStatements>;
|
|
5042
5042
|
/**
|
|
5043
5043
|
* require a newline after file header
|
|
5044
5044
|
* @see https://eslint-plugin.ntnyq.com/rules/prefer-newline-after-file-header.html
|
|
@@ -9009,152 +9009,177 @@ interface RuleOptions {
|
|
|
9009
9009
|
'vitest/warn-todo'?: Linter.RuleEntry<[]>;
|
|
9010
9010
|
/**
|
|
9011
9011
|
* enforce inline callback function and body styles for Vue APIs.
|
|
9012
|
-
* @see https://
|
|
9012
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/callback-style
|
|
9013
9013
|
*/
|
|
9014
9014
|
'vue-perfectionist/callback-style'?: Linter.RuleEntry<VuePerfectionistCallbackStyle>;
|
|
9015
9015
|
/**
|
|
9016
9016
|
* enforce configured prop value types at Vue component usage sites.
|
|
9017
|
-
* @see https://
|
|
9017
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/component-prop-types
|
|
9018
9018
|
*/
|
|
9019
9019
|
'vue-perfectionist/component-prop-types'?: Linter.RuleEntry<VuePerfectionistComponentPropTypes>;
|
|
9020
9020
|
/**
|
|
9021
9021
|
* enforce configured prop value constraints at Vue component usage sites.
|
|
9022
|
-
* @see https://
|
|
9022
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/component-prop-values
|
|
9023
9023
|
*/
|
|
9024
9024
|
'vue-perfectionist/component-prop-values'?: Linter.RuleEntry<VuePerfectionistComponentPropValues>;
|
|
9025
|
+
/**
|
|
9026
|
+
* enforce consistent Vue template element layouts.
|
|
9027
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/consistent-template-element-layout
|
|
9028
|
+
*/
|
|
9029
|
+
'vue-perfectionist/consistent-template-element-layout'?: Linter.RuleEntry<VuePerfectionistConsistentTemplateElementLayout>;
|
|
9025
9030
|
/**
|
|
9026
9031
|
* require template ref variable names to match their keys.
|
|
9027
|
-
* @see https://
|
|
9032
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/consistent-template-ref-name
|
|
9028
9033
|
*/
|
|
9029
9034
|
'vue-perfectionist/consistent-template-ref-name'?: Linter.RuleEntry<[]>;
|
|
9030
9035
|
/**
|
|
9031
9036
|
* require multiline inline declarations in Vue compiler macros.
|
|
9032
|
-
* @see https://
|
|
9037
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/define-macros-newline
|
|
9033
9038
|
*/
|
|
9034
9039
|
'vue-perfectionist/define-macros-newline'?: Linter.RuleEntry<VuePerfectionistDefineMacrosNewline>;
|
|
9035
9040
|
/**
|
|
9036
9041
|
* enforce declaration styles for Vue macro type arguments.
|
|
9037
|
-
* @see https://
|
|
9042
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/define-macros-type-style
|
|
9038
9043
|
*/
|
|
9039
9044
|
'vue-perfectionist/define-macros-type-style'?: Linter.RuleEntry<VuePerfectionistDefineMacrosTypeStyle>;
|
|
9040
9045
|
/**
|
|
9041
9046
|
* enforce casing for explicit defineModel names.
|
|
9042
|
-
* @see https://
|
|
9047
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/define-model-name-casing
|
|
9043
9048
|
*/
|
|
9044
9049
|
'vue-perfectionist/define-model-name-casing'?: Linter.RuleEntry<VuePerfectionistDefineModelNameCasing>;
|
|
9045
9050
|
/**
|
|
9046
9051
|
* enforce a maximum number of lines in inline callbacks for Vue APIs.
|
|
9047
|
-
* @see https://
|
|
9052
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/max-lines-per-callback
|
|
9048
9053
|
*/
|
|
9049
9054
|
'vue-perfectionist/max-lines-per-callback'?: Linter.RuleEntry<VuePerfectionistMaxLinesPerCallback>;
|
|
9050
9055
|
/**
|
|
9051
9056
|
* enforce limits on logical operators and conditional nesting in Vue templates.
|
|
9052
|
-
* @see https://
|
|
9057
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/no-complex-template-expression
|
|
9053
9058
|
*/
|
|
9054
9059
|
'vue-perfectionist/no-complex-template-expression'?: Linter.RuleEntry<VuePerfectionistNoComplexTemplateExpression>;
|
|
9055
9060
|
/**
|
|
9056
9061
|
* disallow complex expressions in Vue v-for sources.
|
|
9057
|
-
* @see https://
|
|
9062
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/no-complex-v-for-source
|
|
9058
9063
|
*/
|
|
9059
9064
|
'vue-perfectionist/no-complex-v-for-source'?: Linter.RuleEntry<VuePerfectionistNoComplexVForSource>;
|
|
9060
9065
|
/**
|
|
9061
9066
|
* disallow specified native HTML elements in Vue templates.
|
|
9062
|
-
* @see https://
|
|
9067
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/no-restricted-html-elements
|
|
9063
9068
|
*/
|
|
9064
9069
|
'vue-perfectionist/no-restricted-html-elements'?: Linter.RuleEntry<VuePerfectionistNoRestrictedHtmlElements>;
|
|
9070
|
+
/**
|
|
9071
|
+
* disallow as type assertions in Vue templates.
|
|
9072
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/no-template-type-assertion
|
|
9073
|
+
*/
|
|
9074
|
+
'vue-perfectionist/no-template-type-assertion'?: Linter.RuleEntry<[]>;
|
|
9065
9075
|
/**
|
|
9066
9076
|
* enforce blank lines between consecutive Vue template tags.
|
|
9067
|
-
* @see https://
|
|
9077
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/padding-line-between-tags
|
|
9068
9078
|
*/
|
|
9069
9079
|
'vue-perfectionist/padding-line-between-tags'?: Linter.RuleEntry<VuePerfectionistPaddingLineBetweenTags>;
|
|
9070
9080
|
/**
|
|
9071
9081
|
* require a final options object for composable parameters.
|
|
9072
|
-
* @see https://
|
|
9082
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-composable-options
|
|
9073
9083
|
*/
|
|
9074
9084
|
'vue-perfectionist/prefer-composable-options'?: Linter.RuleEntry<VuePerfectionistPreferComposableOptions>;
|
|
9075
9085
|
/**
|
|
9076
9086
|
* require defineModel instead of matching prop and update event declarations.
|
|
9077
|
-
* @see https://
|
|
9087
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-define-model
|
|
9078
9088
|
*/
|
|
9079
|
-
'vue-perfectionist/prefer-define-model'?: Linter.RuleEntry<
|
|
9089
|
+
'vue-perfectionist/prefer-define-model'?: Linter.RuleEntry<VuePerfectionistPreferDefineModel>;
|
|
9080
9090
|
/**
|
|
9081
9091
|
* require function declarations at the top level of SFCs and composables.
|
|
9082
|
-
* @see https://
|
|
9092
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-function-declaration
|
|
9083
9093
|
*/
|
|
9084
9094
|
'vue-perfectionist/prefer-function-declaration'?: Linter.RuleEntry<VuePerfectionistPreferFunctionDeclaration>;
|
|
9085
9095
|
/**
|
|
9086
9096
|
* enforce naming patterns for function result bindings.
|
|
9087
|
-
* @see https://
|
|
9097
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-function-result-pattern
|
|
9088
9098
|
*/
|
|
9089
9099
|
'vue-perfectionist/prefer-function-result-pattern'?: Linter.RuleEntry<VuePerfectionistPreferFunctionResultPattern>;
|
|
9090
9100
|
/**
|
|
9091
9101
|
* require scope-based cleanup in named Vue composables.
|
|
9092
|
-
* @see https://
|
|
9102
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-on-scope-dispose
|
|
9093
9103
|
*/
|
|
9094
9104
|
'vue-perfectionist/prefer-on-scope-dispose'?: Linter.RuleEntry<VuePerfectionistPreferOnScopeDispose>;
|
|
9095
9105
|
/**
|
|
9096
9106
|
* enforce a naming pattern for Vue template references.
|
|
9097
|
-
* @see https://
|
|
9107
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-ref-pattern
|
|
9098
9108
|
*/
|
|
9099
9109
|
'vue-perfectionist/prefer-ref-pattern'?: Linter.RuleEntry<VuePerfectionistPreferRefPattern>;
|
|
9100
9110
|
/**
|
|
9101
9111
|
* require simple expressions in Vue template event handlers.
|
|
9102
|
-
* @see https://
|
|
9112
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-simple-event-handler
|
|
9103
9113
|
*/
|
|
9104
9114
|
'vue-perfectionist/prefer-simple-event-handler'?: Linter.RuleEntry<VuePerfectionistPreferSimpleEventHandler>;
|
|
9105
9115
|
/**
|
|
9106
9116
|
* require a single template literal for mixed text and interpolation.
|
|
9107
|
-
* @see https://
|
|
9117
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-template-literal-in-interpolation
|
|
9108
9118
|
*/
|
|
9109
9119
|
'vue-perfectionist/prefer-template-literal-in-interpolation'?: Linter.RuleEntry<VuePerfectionistPreferTemplateLiteralInInterpolation>;
|
|
9110
9120
|
/**
|
|
9111
9121
|
* enforce inferred types for static Vue template refs.
|
|
9112
|
-
* @see https://
|
|
9122
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-use-template-ref-inference
|
|
9113
9123
|
*/
|
|
9114
9124
|
'vue-perfectionist/prefer-use-template-ref-inference'?: Linter.RuleEntry<VuePerfectionistPreferUseTemplateRefInference>;
|
|
9115
9125
|
/**
|
|
9116
9126
|
* require dedicated aliases for post and sync watch effects.
|
|
9117
|
-
* @see https://
|
|
9127
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/prefer-watch-effect-alias
|
|
9118
9128
|
*/
|
|
9119
9129
|
'vue-perfectionist/prefer-watch-effect-alias'?: Linter.RuleEntry<VuePerfectionistPreferWatchEffectAlias>;
|
|
9120
9130
|
/**
|
|
9121
9131
|
* require configured props at Vue component usage sites.
|
|
9122
|
-
* @see https://
|
|
9132
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-component-props
|
|
9123
9133
|
*/
|
|
9124
9134
|
'vue-perfectionist/require-component-props'?: Linter.RuleEntry<VuePerfectionistRequireComponentProps>;
|
|
9125
9135
|
/**
|
|
9126
9136
|
* require configured slots at Vue component usage sites.
|
|
9127
|
-
* @see https://
|
|
9137
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-component-slots
|
|
9128
9138
|
*/
|
|
9129
9139
|
'vue-perfectionist/require-component-slots'?: Linter.RuleEntry<VuePerfectionistRequireComponentSlots>;
|
|
9140
|
+
/**
|
|
9141
|
+
* require composable return fields to expose local bindings.
|
|
9142
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-composable-return-bindings
|
|
9143
|
+
*/
|
|
9144
|
+
'vue-perfectionist/require-composable-return-bindings'?: Linter.RuleEntry<VuePerfectionistRequireComposableReturnBindings>;
|
|
9130
9145
|
/**
|
|
9131
9146
|
* disallow string keys in Vue provide and inject calls.
|
|
9132
|
-
* @see https://
|
|
9147
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-injection-key
|
|
9133
9148
|
*/
|
|
9134
9149
|
'vue-perfectionist/require-injection-key'?: Linter.RuleEntry<VuePerfectionistRequireInjectionKey>;
|
|
9135
9150
|
/**
|
|
9136
9151
|
* require exact call-site names for Vue macro type arguments.
|
|
9137
|
-
* @see https://
|
|
9152
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-macro-type-name
|
|
9138
9153
|
*/
|
|
9139
9154
|
'vue-perfectionist/require-macro-type-name'?: Linter.RuleEntry<VuePerfectionistRequireMacroTypeName>;
|
|
9155
|
+
/**
|
|
9156
|
+
* require explicit props object prefixes in Vue templates.
|
|
9157
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-props-prefix
|
|
9158
|
+
*/
|
|
9159
|
+
'vue-perfectionist/require-props-prefix'?: Linter.RuleEntry<VuePerfectionistRequirePropsPrefix>;
|
|
9140
9160
|
/**
|
|
9141
9161
|
* require explicit @vue-generic comments on configured components.
|
|
9142
|
-
* @see https://
|
|
9162
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/require-vue-generic
|
|
9143
9163
|
*/
|
|
9144
9164
|
'vue-perfectionist/require-vue-generic'?: Linter.RuleEntry<VuePerfectionistRequireVueGeneric>;
|
|
9165
|
+
/**
|
|
9166
|
+
* enforce consistent ordering of direct statements in composable functions.
|
|
9167
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/sort-composable-body
|
|
9168
|
+
*/
|
|
9169
|
+
'vue-perfectionist/sort-composable-body'?: Linter.RuleEntry<VuePerfectionistSortComposableBody>;
|
|
9145
9170
|
/**
|
|
9146
9171
|
* enforce grouping of destructured composable members by state and method.
|
|
9147
|
-
* @see https://
|
|
9172
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/sort-composable-destructure
|
|
9148
9173
|
*/
|
|
9149
9174
|
'vue-perfectionist/sort-composable-destructure'?: Linter.RuleEntry<VuePerfectionistSortComposableDestructure>;
|
|
9150
9175
|
/**
|
|
9151
9176
|
* enforce grouping of composable return members by state and method.
|
|
9152
|
-
* @see https://
|
|
9177
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/sort-composable-return
|
|
9153
9178
|
*/
|
|
9154
9179
|
'vue-perfectionist/sort-composable-return'?: Linter.RuleEntry<VuePerfectionistSortComposableReturn>;
|
|
9155
9180
|
/**
|
|
9156
9181
|
* enforce consistent ordering of Vue 3 script setup statements.
|
|
9157
|
-
* @see https://
|
|
9182
|
+
* @see https://vue-perfectionist.ntnyq.dev/rules/sort-script-setup
|
|
9158
9183
|
*/
|
|
9159
9184
|
'vue-perfectionist/sort-script-setup'?: Linter.RuleEntry<VuePerfectionistSortScriptSetup>;
|
|
9160
9185
|
/**
|
|
@@ -14682,6 +14707,13 @@ type NtnyqNoRestrictedBindings = [] | [{
|
|
|
14682
14707
|
message?: string;
|
|
14683
14708
|
}[];
|
|
14684
14709
|
}];
|
|
14710
|
+
// ----- ntnyq/padding-line-between-statements -----
|
|
14711
|
+
type _NtnyqPaddingLineBetweenStatementsStatementType = (("*" | "block" | "block-like" | "break" | "case" | "cjs-export" | "cjs-import" | "class" | "const" | "continue" | "debugger" | "default" | "directive" | "do" | "empty" | "export" | "expression" | "for" | "function" | "if" | "iife" | "import" | "let" | "multiline-block-like" | "multiline-const" | "multiline-expression" | "multiline-let" | "multiline-var" | "return" | "singleline-const" | "singleline-let" | "singleline-var" | "switch" | "throw" | "try" | "var" | "while" | "with") | [("*" | "block" | "block-like" | "break" | "case" | "cjs-export" | "cjs-import" | "class" | "const" | "continue" | "debugger" | "default" | "directive" | "do" | "empty" | "export" | "expression" | "for" | "function" | "if" | "iife" | "import" | "let" | "multiline-block-like" | "multiline-const" | "multiline-expression" | "multiline-let" | "multiline-var" | "return" | "singleline-const" | "singleline-let" | "singleline-var" | "switch" | "throw" | "try" | "var" | "while" | "with"), ...(("*" | "block" | "block-like" | "break" | "case" | "cjs-export" | "cjs-import" | "class" | "const" | "continue" | "debugger" | "default" | "directive" | "do" | "empty" | "export" | "expression" | "for" | "function" | "if" | "iife" | "import" | "let" | "multiline-block-like" | "multiline-const" | "multiline-expression" | "multiline-let" | "multiline-var" | "return" | "singleline-const" | "singleline-let" | "singleline-var" | "switch" | "throw" | "try" | "var" | "while" | "with"))[]]);
|
|
14712
|
+
type NtnyqPaddingLineBetweenStatements = {
|
|
14713
|
+
blankLine: ("always" | "never" | "any");
|
|
14714
|
+
prev: _NtnyqPaddingLineBetweenStatementsStatementType;
|
|
14715
|
+
next: _NtnyqPaddingLineBetweenStatementsStatementType;
|
|
14716
|
+
}[];
|
|
14685
14717
|
// ----- ntnyq/prefer-newline-after-file-header -----
|
|
14686
14718
|
type NtnyqPreferNewlineAfterFileHeader = [] | [{
|
|
14687
14719
|
tags?: string[];
|
|
@@ -19809,6 +19841,7 @@ type VuePerfectionistCallbackStyle = [] | [{
|
|
|
19809
19841
|
groups?: ("lifecycle" | "watch" | "cleanup" | "scheduler")[];
|
|
19810
19842
|
vueGlobals?: string[];
|
|
19811
19843
|
vueImportSources?: string[];
|
|
19844
|
+
vueuse?: boolean;
|
|
19812
19845
|
functionStyle?: ("arrow" | "any");
|
|
19813
19846
|
bodyStyle?: ("block" | "any");
|
|
19814
19847
|
}];
|
|
@@ -19843,6 +19876,15 @@ type VuePerfectionistComponentPropValues = [] | [{
|
|
|
19843
19876
|
}[];
|
|
19844
19877
|
unknownValues?: ("ignore" | "report");
|
|
19845
19878
|
}];
|
|
19879
|
+
// ----- vue-perfectionist/consistent-template-element-layout -----
|
|
19880
|
+
type VuePerfectionistConsistentTemplateElementLayout = [] | [{
|
|
19881
|
+
mode?: ("compatible" | "strict");
|
|
19882
|
+
fix?: ("never" | "safe");
|
|
19883
|
+
groups?: {
|
|
19884
|
+
tags: [string, ...(string)[]];
|
|
19885
|
+
layout: ("block" | "inline" | "preserve");
|
|
19886
|
+
}[];
|
|
19887
|
+
}];
|
|
19846
19888
|
// ----- vue-perfectionist/define-macros-newline -----
|
|
19847
19889
|
type VuePerfectionistDefineMacrosNewline = [] | [{
|
|
19848
19890
|
macros?: ("defineProps" | "defineEmits" | "defineSlots" | "defineExpose" | "defineOptions")[];
|
|
@@ -19872,6 +19914,7 @@ type VuePerfectionistMaxLinesPerCallback = [] | [{
|
|
|
19872
19914
|
groups?: ("lifecycle" | "watch" | "cleanup" | "scheduler")[];
|
|
19873
19915
|
vueGlobals?: string[];
|
|
19874
19916
|
vueImportSources?: string[];
|
|
19917
|
+
vueuse?: boolean;
|
|
19875
19918
|
max?: number;
|
|
19876
19919
|
skipBlankLines?: boolean;
|
|
19877
19920
|
skipComments?: boolean;
|
|
@@ -19911,6 +19954,10 @@ type VuePerfectionistPreferComposableOptions = [] | [{
|
|
|
19911
19954
|
functionPattern?: string;
|
|
19912
19955
|
ignoreNames?: string[];
|
|
19913
19956
|
}];
|
|
19957
|
+
// ----- vue-perfectionist/prefer-define-model -----
|
|
19958
|
+
type VuePerfectionistPreferDefineModel = [] | [{
|
|
19959
|
+
vueuse?: boolean;
|
|
19960
|
+
}];
|
|
19914
19961
|
// ----- vue-perfectionist/prefer-function-declaration -----
|
|
19915
19962
|
type VuePerfectionistPreferFunctionDeclaration = [] | [{
|
|
19916
19963
|
scopes?: ("sfc" | "composables")[];
|
|
@@ -19920,6 +19967,7 @@ type VuePerfectionistPreferFunctionDeclaration = [] | [{
|
|
|
19920
19967
|
}];
|
|
19921
19968
|
// ----- vue-perfectionist/prefer-function-result-pattern -----
|
|
19922
19969
|
type VuePerfectionistPreferFunctionResultPattern = [] | [{
|
|
19970
|
+
vueuse?: boolean;
|
|
19923
19971
|
targets?: {
|
|
19924
19972
|
source: string;
|
|
19925
19973
|
names: [string, ...(string)[]];
|
|
@@ -19977,6 +20025,13 @@ type VuePerfectionistRequireComponentSlots = [] | [{
|
|
|
19977
20025
|
}[];
|
|
19978
20026
|
unknownSlots?: ("report" | "ignore");
|
|
19979
20027
|
}];
|
|
20028
|
+
// ----- vue-perfectionist/require-composable-return-bindings -----
|
|
20029
|
+
type VuePerfectionistRequireComposableReturnBindings = [] | [{
|
|
20030
|
+
functionPattern?: string;
|
|
20031
|
+
ignoreNames?: string[];
|
|
20032
|
+
allowAliases?: boolean;
|
|
20033
|
+
allowParameters?: boolean;
|
|
20034
|
+
}];
|
|
19980
20035
|
// ----- vue-perfectionist/require-injection-key -----
|
|
19981
20036
|
type VuePerfectionistRequireInjectionKey = [] | [{
|
|
19982
20037
|
strict?: boolean;
|
|
@@ -19992,6 +20047,10 @@ type VuePerfectionistRequireMacroTypeName = [] | [{
|
|
|
19992
20047
|
defineSlots?: (string | false);
|
|
19993
20048
|
};
|
|
19994
20049
|
}];
|
|
20050
|
+
// ----- vue-perfectionist/require-props-prefix -----
|
|
20051
|
+
type VuePerfectionistRequirePropsPrefix = [] | [{
|
|
20052
|
+
autofix?: boolean;
|
|
20053
|
+
}];
|
|
19995
20054
|
// ----- vue-perfectionist/require-vue-generic -----
|
|
19996
20055
|
type VuePerfectionistRequireVueGeneric = [] | [{
|
|
19997
20056
|
targets?: {
|
|
@@ -20012,6 +20071,188 @@ type VuePerfectionistRequireVueGeneric = [] | [{
|
|
|
20012
20071
|
}[];
|
|
20013
20072
|
unknownValues?: ("ignore" | "report");
|
|
20014
20073
|
}];
|
|
20074
|
+
// ----- vue-perfectionist/sort-composable-body -----
|
|
20075
|
+
type VuePerfectionistSortComposableBody = [] | [{
|
|
20076
|
+
newlinesInside?: ((number | "ignore") | "newlinesBetween");
|
|
20077
|
+
fallbackSort?: {
|
|
20078
|
+
order?: ("asc" | "desc");
|
|
20079
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20080
|
+
};
|
|
20081
|
+
order?: ("asc" | "desc");
|
|
20082
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
20083
|
+
newlinesBetween?: (number | "ignore");
|
|
20084
|
+
alphabet?: string;
|
|
20085
|
+
ignoreCase?: boolean;
|
|
20086
|
+
locales?: (string | [string, ...(string)[]]);
|
|
20087
|
+
partitionByComment?: ((boolean | ((string | {
|
|
20088
|
+
flags?: string;
|
|
20089
|
+
pattern: string;
|
|
20090
|
+
}) | [(string | {
|
|
20091
|
+
flags?: string;
|
|
20092
|
+
pattern: string;
|
|
20093
|
+
}), ...((string | {
|
|
20094
|
+
flags?: string;
|
|
20095
|
+
pattern: string;
|
|
20096
|
+
}))[]])) | {
|
|
20097
|
+
block?: (boolean | ((string | {
|
|
20098
|
+
flags?: string;
|
|
20099
|
+
pattern: string;
|
|
20100
|
+
}) | [(string | {
|
|
20101
|
+
flags?: string;
|
|
20102
|
+
pattern: string;
|
|
20103
|
+
}), ...((string | {
|
|
20104
|
+
flags?: string;
|
|
20105
|
+
pattern: string;
|
|
20106
|
+
}))[]]));
|
|
20107
|
+
line?: (boolean | ((string | {
|
|
20108
|
+
flags?: string;
|
|
20109
|
+
pattern: string;
|
|
20110
|
+
}) | [(string | {
|
|
20111
|
+
flags?: string;
|
|
20112
|
+
pattern: string;
|
|
20113
|
+
}), ...((string | {
|
|
20114
|
+
flags?: string;
|
|
20115
|
+
pattern: string;
|
|
20116
|
+
}))[]]));
|
|
20117
|
+
});
|
|
20118
|
+
partitionByNewLine?: boolean;
|
|
20119
|
+
specialCharacters?: ("keep" | "trim" | "remove");
|
|
20120
|
+
vueImportSources?: string[];
|
|
20121
|
+
customGroups?: ({
|
|
20122
|
+
groupName: string;
|
|
20123
|
+
newlinesInside?: (number | "ignore");
|
|
20124
|
+
fallbackSort?: {
|
|
20125
|
+
order?: ("asc" | "desc");
|
|
20126
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20127
|
+
};
|
|
20128
|
+
order?: ("asc" | "desc");
|
|
20129
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
20130
|
+
callNamePattern?: ((string | {
|
|
20131
|
+
flags?: string;
|
|
20132
|
+
pattern: string;
|
|
20133
|
+
}) | [(string | {
|
|
20134
|
+
flags?: string;
|
|
20135
|
+
pattern: string;
|
|
20136
|
+
}), ...((string | {
|
|
20137
|
+
flags?: string;
|
|
20138
|
+
pattern: string;
|
|
20139
|
+
}))[]]);
|
|
20140
|
+
elementNamePattern?: ((string | {
|
|
20141
|
+
flags?: string;
|
|
20142
|
+
pattern: string;
|
|
20143
|
+
}) | [(string | {
|
|
20144
|
+
flags?: string;
|
|
20145
|
+
pattern: string;
|
|
20146
|
+
}), ...((string | {
|
|
20147
|
+
flags?: string;
|
|
20148
|
+
pattern: string;
|
|
20149
|
+
}))[]]);
|
|
20150
|
+
importSourcePattern?: ((string | {
|
|
20151
|
+
flags?: string;
|
|
20152
|
+
pattern: string;
|
|
20153
|
+
}) | [(string | {
|
|
20154
|
+
flags?: string;
|
|
20155
|
+
pattern: string;
|
|
20156
|
+
}), ...((string | {
|
|
20157
|
+
flags?: string;
|
|
20158
|
+
pattern: string;
|
|
20159
|
+
}))[]]);
|
|
20160
|
+
modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
|
|
20161
|
+
selector?: ("interface" | "type" | "enum" | "class" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
|
|
20162
|
+
} | {
|
|
20163
|
+
groupName: string;
|
|
20164
|
+
newlinesInside?: (number | "ignore");
|
|
20165
|
+
fallbackSort?: {
|
|
20166
|
+
order?: ("asc" | "desc");
|
|
20167
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20168
|
+
};
|
|
20169
|
+
order?: ("asc" | "desc");
|
|
20170
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
20171
|
+
anyOf: [{
|
|
20172
|
+
callNamePattern?: ((string | {
|
|
20173
|
+
flags?: string;
|
|
20174
|
+
pattern: string;
|
|
20175
|
+
}) | [(string | {
|
|
20176
|
+
flags?: string;
|
|
20177
|
+
pattern: string;
|
|
20178
|
+
}), ...((string | {
|
|
20179
|
+
flags?: string;
|
|
20180
|
+
pattern: string;
|
|
20181
|
+
}))[]]);
|
|
20182
|
+
elementNamePattern?: ((string | {
|
|
20183
|
+
flags?: string;
|
|
20184
|
+
pattern: string;
|
|
20185
|
+
}) | [(string | {
|
|
20186
|
+
flags?: string;
|
|
20187
|
+
pattern: string;
|
|
20188
|
+
}), ...((string | {
|
|
20189
|
+
flags?: string;
|
|
20190
|
+
pattern: string;
|
|
20191
|
+
}))[]]);
|
|
20192
|
+
importSourcePattern?: ((string | {
|
|
20193
|
+
flags?: string;
|
|
20194
|
+
pattern: string;
|
|
20195
|
+
}) | [(string | {
|
|
20196
|
+
flags?: string;
|
|
20197
|
+
pattern: string;
|
|
20198
|
+
}), ...((string | {
|
|
20199
|
+
flags?: string;
|
|
20200
|
+
pattern: string;
|
|
20201
|
+
}))[]]);
|
|
20202
|
+
modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
|
|
20203
|
+
selector?: ("interface" | "type" | "enum" | "class" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
|
|
20204
|
+
}, ...({
|
|
20205
|
+
callNamePattern?: ((string | {
|
|
20206
|
+
flags?: string;
|
|
20207
|
+
pattern: string;
|
|
20208
|
+
}) | [(string | {
|
|
20209
|
+
flags?: string;
|
|
20210
|
+
pattern: string;
|
|
20211
|
+
}), ...((string | {
|
|
20212
|
+
flags?: string;
|
|
20213
|
+
pattern: string;
|
|
20214
|
+
}))[]]);
|
|
20215
|
+
elementNamePattern?: ((string | {
|
|
20216
|
+
flags?: string;
|
|
20217
|
+
pattern: string;
|
|
20218
|
+
}) | [(string | {
|
|
20219
|
+
flags?: string;
|
|
20220
|
+
pattern: string;
|
|
20221
|
+
}), ...((string | {
|
|
20222
|
+
flags?: string;
|
|
20223
|
+
pattern: string;
|
|
20224
|
+
}))[]]);
|
|
20225
|
+
importSourcePattern?: ((string | {
|
|
20226
|
+
flags?: string;
|
|
20227
|
+
pattern: string;
|
|
20228
|
+
}) | [(string | {
|
|
20229
|
+
flags?: string;
|
|
20230
|
+
pattern: string;
|
|
20231
|
+
}), ...((string | {
|
|
20232
|
+
flags?: string;
|
|
20233
|
+
pattern: string;
|
|
20234
|
+
}))[]]);
|
|
20235
|
+
modifiers?: [("declare" | "async" | "destructured" | "const" | "let" | "var"), ...(("declare" | "async" | "destructured" | "const" | "let" | "var"))[]];
|
|
20236
|
+
selector?: ("interface" | "type" | "enum" | "class" | "constant" | "inject" | "template-ref" | "ref" | "reactive" | "computed" | "composable" | "variable" | "function" | "watch" | "lifecycle-hook" | "provide" | "call");
|
|
20237
|
+
})[]];
|
|
20238
|
+
})[];
|
|
20239
|
+
fix?: ("safe" | "none");
|
|
20240
|
+
groups?: ((string | [string, ...(string)[]]) | {
|
|
20241
|
+
group: (string | [string, ...(string)[]]);
|
|
20242
|
+
newlinesInside?: (number | "ignore");
|
|
20243
|
+
fallbackSort?: {
|
|
20244
|
+
order?: ("asc" | "desc");
|
|
20245
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20246
|
+
};
|
|
20247
|
+
order?: ("asc" | "desc");
|
|
20248
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
20249
|
+
} | {
|
|
20250
|
+
newlinesBetween: (number | "ignore");
|
|
20251
|
+
})[];
|
|
20252
|
+
vueGlobals?: string[];
|
|
20253
|
+
functionPattern?: string;
|
|
20254
|
+
ignoreNames?: string[];
|
|
20255
|
+
}];
|
|
20015
20256
|
// ----- vue-perfectionist/sort-composable-destructure -----
|
|
20016
20257
|
type VuePerfectionistSortComposableDestructure = [] | [{
|
|
20017
20258
|
newlinesInside?: (number | "ignore");
|
package/dist/index.mjs
CHANGED
|
@@ -470,6 +470,7 @@ const configVue = (options = {}) => {
|
|
|
470
470
|
const { files = [GLOB_VUE], ecmaVersion = "latest", extraFileExtensions = [], typescript = false, vuePerfectionist: enableVuePerfectionist = false } = options;
|
|
471
471
|
const vuePerfectionistOptions = resolveSubOptions(options, "vuePerfectionist");
|
|
472
472
|
const enableAutoImport = vuePerfectionistOptions.autoImport ?? hasAutoImport();
|
|
473
|
+
const enableVueuseFunctions = vuePerfectionistOptions.vueuse ?? false;
|
|
473
474
|
const sfcBlocks = options.sfcBlocks === true ? {} : options.sfcBlocks ?? {};
|
|
474
475
|
function getVueProcessor() {
|
|
475
476
|
const processorVueSFC = pluginVue.processors[".vue"];
|
|
@@ -640,7 +641,10 @@ const configVue = (options = {}) => {
|
|
|
640
641
|
...GLOB_VUE_COMPOSABLES
|
|
641
642
|
],
|
|
642
643
|
plugins: { "vue-perfectionist": pluginVuePerfectionist },
|
|
643
|
-
settings: { "vue-perfectionist": {
|
|
644
|
+
settings: { "vue-perfectionist": {
|
|
645
|
+
autoImport: enableAutoImport,
|
|
646
|
+
vueuse: enableVueuseFunctions
|
|
647
|
+
} },
|
|
644
648
|
rules: {
|
|
645
649
|
"vue-perfectionist/prefer-define-model": "warn",
|
|
646
650
|
"vue-perfectionist/callback-style": "error",
|
|
@@ -655,27 +659,31 @@ const configVue = (options = {}) => {
|
|
|
655
659
|
allowLogical: true
|
|
656
660
|
}],
|
|
657
661
|
"vue-perfectionist/prefer-watch-effect-alias": "error",
|
|
658
|
-
"vue-perfectionist/
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
662
|
+
"vue-perfectionist/require-composable-return-bindings": "error",
|
|
663
|
+
"vue-perfectionist/sort-script-setup": ["error", {
|
|
664
|
+
newlinesBetween: 1,
|
|
665
|
+
groups: [
|
|
666
|
+
["interface", "type"],
|
|
667
|
+
"define-props",
|
|
668
|
+
"define-emits",
|
|
669
|
+
"define-options",
|
|
670
|
+
"define-slots",
|
|
671
|
+
"define-model",
|
|
672
|
+
"constant",
|
|
673
|
+
"inject",
|
|
674
|
+
"composable",
|
|
675
|
+
"template-ref",
|
|
676
|
+
["ref", "reactive"],
|
|
677
|
+
"computed",
|
|
678
|
+
"variable",
|
|
679
|
+
["enum", "class"],
|
|
680
|
+
"function",
|
|
681
|
+
"watch",
|
|
682
|
+
"lifecycle-hook",
|
|
683
|
+
"provide",
|
|
684
|
+
"define-expose"
|
|
685
|
+
]
|
|
686
|
+
}],
|
|
679
687
|
...vuePerfectionistOptions.overrides
|
|
680
688
|
}
|
|
681
689
|
});
|
|
@@ -1679,6 +1687,77 @@ const configNtnyq = (options = {}) => [{
|
|
|
1679
1687
|
],
|
|
1680
1688
|
scope: "top-level"
|
|
1681
1689
|
}] }],
|
|
1690
|
+
"ntnyq/padding-line-between-statements": [
|
|
1691
|
+
"error",
|
|
1692
|
+
{
|
|
1693
|
+
blankLine: "always",
|
|
1694
|
+
prev: "*",
|
|
1695
|
+
next: [
|
|
1696
|
+
"if",
|
|
1697
|
+
"for",
|
|
1698
|
+
"while",
|
|
1699
|
+
"do",
|
|
1700
|
+
"switch",
|
|
1701
|
+
"try",
|
|
1702
|
+
"return",
|
|
1703
|
+
"throw"
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
blankLine: "always",
|
|
1708
|
+
next: "*",
|
|
1709
|
+
prev: [
|
|
1710
|
+
"if",
|
|
1711
|
+
"for",
|
|
1712
|
+
"while",
|
|
1713
|
+
"do",
|
|
1714
|
+
"switch",
|
|
1715
|
+
"try"
|
|
1716
|
+
]
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
blankLine: "always",
|
|
1720
|
+
next: "*",
|
|
1721
|
+
prev: [
|
|
1722
|
+
"const",
|
|
1723
|
+
"let",
|
|
1724
|
+
"var"
|
|
1725
|
+
]
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
blankLine: "any",
|
|
1729
|
+
next: [
|
|
1730
|
+
"const",
|
|
1731
|
+
"let",
|
|
1732
|
+
"var"
|
|
1733
|
+
],
|
|
1734
|
+
prev: [
|
|
1735
|
+
"const",
|
|
1736
|
+
"let",
|
|
1737
|
+
"var"
|
|
1738
|
+
]
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
blankLine: "always",
|
|
1742
|
+
next: ["function", "class"],
|
|
1743
|
+
prev: "*"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
blankLine: "always",
|
|
1747
|
+
next: "*",
|
|
1748
|
+
prev: ["function", "class"]
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
blankLine: "always",
|
|
1752
|
+
next: "*",
|
|
1753
|
+
prev: "import"
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
blankLine: "never",
|
|
1757
|
+
next: "import",
|
|
1758
|
+
prev: "import"
|
|
1759
|
+
}
|
|
1760
|
+
],
|
|
1682
1761
|
"ntnyq/prefer-newline-after-file-header": "error",
|
|
1683
1762
|
"ntnyq/prefer-object-method-syntax": ["error", {
|
|
1684
1763
|
allowArrowFunctions: "singleLineOnly",
|
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.
|
|
4
|
+
"version": "7.0.0-beta.31",
|
|
5
5
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@antfu/install-pkg": "^2.1.0",
|
|
88
|
-
"@clack/prompts": "^1.
|
|
88
|
+
"@clack/prompts": "^1.9.0",
|
|
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
92
|
"@eslint/shell": "^0.1.2",
|
|
93
|
-
"@ntnyq/utils": "^0.
|
|
94
|
-
"@unocss/eslint-plugin": "^66.
|
|
93
|
+
"@ntnyq/utils": "^0.26.0",
|
|
94
|
+
"@unocss/eslint-plugin": "^66.13.0",
|
|
95
95
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
96
96
|
"eslint-config-flat-gitignore": "^2.4.0",
|
|
97
97
|
"eslint-flat-config-utils": "^3.2.0",
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
"eslint-plugin-command": "^4.0.0",
|
|
103
103
|
"eslint-plugin-de-morgan": "^2.3.0",
|
|
104
104
|
"eslint-plugin-depend": "^1.5.0",
|
|
105
|
-
"eslint-plugin-github-action": "^0.
|
|
106
|
-
"eslint-plugin-import-x": "^4.18.
|
|
107
|
-
"eslint-plugin-jsdoc": "^65.4.
|
|
105
|
+
"eslint-plugin-github-action": "^0.5.0",
|
|
106
|
+
"eslint-plugin-import-x": "^4.18.1",
|
|
107
|
+
"eslint-plugin-jsdoc": "^65.4.6",
|
|
108
108
|
"eslint-plugin-jsonc": "^3.4.2",
|
|
109
109
|
"eslint-plugin-n": "^18.5.0",
|
|
110
110
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
111
|
-
"eslint-plugin-ntnyq": "^0.
|
|
112
|
-
"eslint-plugin-oxfmt": "^0.
|
|
111
|
+
"eslint-plugin-ntnyq": "^0.20.0",
|
|
112
|
+
"eslint-plugin-oxfmt": "^0.33.0",
|
|
113
113
|
"eslint-plugin-perfectionist": "^5.13.0",
|
|
114
114
|
"eslint-plugin-pinia": "^0.4.2",
|
|
115
115
|
"eslint-plugin-prettier": "^5.5.7",
|
|
@@ -117,32 +117,32 @@
|
|
|
117
117
|
"eslint-plugin-svgo": "^0.14.1",
|
|
118
118
|
"eslint-plugin-toml": "^1.5.0",
|
|
119
119
|
"eslint-plugin-unicorn": "^79.0.0",
|
|
120
|
-
"eslint-plugin-vue": "^10.12.
|
|
121
|
-
"eslint-plugin-vue-perfectionist": "^0.
|
|
120
|
+
"eslint-plugin-vue": "^10.12.1",
|
|
121
|
+
"eslint-plugin-vue-perfectionist": "^0.18.0",
|
|
122
122
|
"eslint-plugin-yml": "^3.10.0",
|
|
123
123
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
124
124
|
"globals": "^17.14.0",
|
|
125
125
|
"jsonc-eslint-parser": "^3.3.0",
|
|
126
126
|
"local-pkg": "^2.0.0",
|
|
127
127
|
"toml-eslint-parser": "^1.0.3",
|
|
128
|
-
"typescript-eslint": "^8.72.
|
|
128
|
+
"typescript-eslint": "^8.72.2",
|
|
129
129
|
"vue-eslint-parser": "^10.4.2",
|
|
130
130
|
"yaml-eslint-parser": "^2.1.0"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@types/node": "^26.6.6",
|
|
134
|
-
"@typescript-eslint/types": "^8.72.
|
|
134
|
+
"@typescript-eslint/types": "^8.72.2",
|
|
135
135
|
"@typescript/native-preview": "npm:typescript@^7.0.2",
|
|
136
136
|
"bumpp": "^12.3.0",
|
|
137
137
|
"consola": "^3.4.2",
|
|
138
|
-
"eslint": "^10.
|
|
138
|
+
"eslint": "^10.15.0",
|
|
139
139
|
"eslint-typegen": "^2.3.2",
|
|
140
140
|
"husky": "^9.1.7",
|
|
141
141
|
"jiti": "^2.7.0",
|
|
142
142
|
"nano-staged": "^1.0.2",
|
|
143
143
|
"npm-run-all2": "^9.0.4",
|
|
144
|
-
"oxfmt": "^0.
|
|
145
|
-
"prettier": "^3.
|
|
144
|
+
"oxfmt": "^0.78.0",
|
|
145
|
+
"prettier": "^3.10.1",
|
|
146
146
|
"tinyglobby": "^0.2.17",
|
|
147
147
|
"tsdown": "^0.23.7",
|
|
148
148
|
"tsx": "^4.23.15",
|