@ntnyq/eslint-config 3.0.0-beta.8 → 3.0.0-beta.9

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.ts CHANGED
@@ -1,33 +1,34 @@
1
- import { Linter } from 'eslint';
1
+ import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
2
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
3
3
  import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
4
- import { FlatConfigComposer } from 'eslint-flat-config-utils';
4
+ import { Linter } from 'eslint';
5
5
  export { default as tseslint } from 'typescript-eslint';
6
+ import * as vueEslintParser from 'vue-eslint-parser';
7
+ export { vueEslintParser as parserVue };
8
+ import * as tomlEslintParser from 'toml-eslint-parser';
9
+ export { tomlEslintParser as parserToml };
10
+ import * as yamlEslintParser from 'yaml-eslint-parser';
11
+ export { yamlEslintParser as parserYaml };
12
+ import * as jsoncEslintParser from 'jsonc-eslint-parser';
13
+ export { jsoncEslintParser as parserJsonc };
6
14
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
7
15
  export { eslintPluginRegexp as pluginRegexp };
8
16
  export { default as pluginNode } from 'eslint-plugin-n';
9
17
  export { default as pluginVue } from 'eslint-plugin-vue';
10
18
  export { default as pluginYaml } from 'eslint-plugin-yml';
11
19
  export { default as pluginToml } from 'eslint-plugin-toml';
12
- export { default as pluginJsonc } from 'eslint-plugin-jsonc';
13
- export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
14
20
  export { default as pluginMarkdown } from '@eslint/markdown';
21
+ export { default as pluginAntfu } from 'eslint-plugin-antfu';
22
+ export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
23
+ export { default as pluginJsonc } from 'eslint-plugin-jsonc';
15
24
  export { default as pluginUnoCSS } from '@unocss/eslint-plugin';
16
25
  export { default as pluginVitest } from '@vitest/eslint-plugin';
17
- export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
18
26
  export { default as pluginImport } from 'eslint-plugin-import-x';
27
+ export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
19
28
  export { default as pluginPrettier } from 'eslint-plugin-prettier';
20
29
  export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
21
30
  export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
22
31
  export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments';
23
- import * as tomlEslintParser from 'toml-eslint-parser';
24
- export { tomlEslintParser as parserToml };
25
- import * as yamlEslintParser from 'yaml-eslint-parser';
26
- export { yamlEslintParser as parserYaml };
27
- import * as vueEslintParser from 'vue-eslint-parser';
28
- export { vueEslintParser as parserVue };
29
- import * as jsoncEslintParser from 'jsonc-eslint-parser';
30
- export { jsoncEslintParser as parserJsonc };
31
32
 
32
33
  /**
33
34
  * @file Type Utils
@@ -726,6 +727,56 @@ interface RuleOptions {
726
727
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
727
728
  */
728
729
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>;
730
+ /**
731
+ * Having line breaks styles to object, array and named imports
732
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
733
+ */
734
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>;
735
+ /**
736
+ * Having line breaks styles to object, array and named imports
737
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
738
+ */
739
+ 'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>;
740
+ /**
741
+ * Enforce Anthony's style of curly bracket
742
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
743
+ */
744
+ 'antfu/curly'?: Linter.RuleEntry<[]>;
745
+ /**
746
+ * Newline after if
747
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
748
+ */
749
+ 'antfu/if-newline'?: Linter.RuleEntry<[]>;
750
+ /**
751
+ * Fix duplication in imports
752
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
753
+ */
754
+ 'antfu/import-dedupe'?: Linter.RuleEntry<[]>;
755
+ /**
756
+ * Enforce consistent indentation in `unindent` template tag
757
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
758
+ */
759
+ 'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>;
760
+ /**
761
+ * Prevent importing modules in `dist` folder
762
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
763
+ */
764
+ 'antfu/no-import-dist'?: Linter.RuleEntry<[]>;
765
+ /**
766
+ * Prevent importing modules in `node_modules` folder by relative or absolute path
767
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.test.ts
768
+ */
769
+ 'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>;
770
+ /**
771
+ * Do not use `exports =`
772
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.test.ts
773
+ */
774
+ 'antfu/no-ts-export-equal'?: Linter.RuleEntry<[]>;
775
+ /**
776
+ * Enforce top-level functions to be declared with function keyword
777
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/top-level-function.md
778
+ */
779
+ 'antfu/top-level-function'?: Linter.RuleEntry<[]>;
729
780
  /**
730
781
  * Comment-as-command for one-off codemod with ESLint
731
782
  * @see https://github.com/antfu/eslint-plugin-command
@@ -5346,6 +5397,41 @@ type TypescriptEslintUnifiedSignatures = [] | [
5346
5397
  ignoreDifferentlyNamedParameters?: boolean;
5347
5398
  }
5348
5399
  ];
5400
+ type AntfuConsistentChaining = [] | [
5401
+ {
5402
+ allowLeadingPropertyAccess?: boolean;
5403
+ }
5404
+ ];
5405
+ type AntfuConsistentListNewline = [] | [
5406
+ {
5407
+ ArrayExpression?: boolean;
5408
+ ArrayPattern?: boolean;
5409
+ ArrowFunctionExpression?: boolean;
5410
+ CallExpression?: boolean;
5411
+ ExportNamedDeclaration?: boolean;
5412
+ FunctionDeclaration?: boolean;
5413
+ FunctionExpression?: boolean;
5414
+ ImportDeclaration?: boolean;
5415
+ JSONArrayExpression?: boolean;
5416
+ JSONObjectExpression?: boolean;
5417
+ JSXOpeningElement?: boolean;
5418
+ NewExpression?: boolean;
5419
+ ObjectExpression?: boolean;
5420
+ ObjectPattern?: boolean;
5421
+ TSFunctionType?: boolean;
5422
+ TSInterfaceDeclaration?: boolean;
5423
+ TSTupleType?: boolean;
5424
+ TSTypeLiteral?: boolean;
5425
+ TSTypeParameterDeclaration?: boolean;
5426
+ TSTypeParameterInstantiation?: boolean;
5427
+ }
5428
+ ];
5429
+ type AntfuIndentUnindent = [] | [
5430
+ {
5431
+ indent?: number;
5432
+ tags?: string[];
5433
+ }
5434
+ ];
5349
5435
  type ImportConsistentTypeSpecifierStyle = [] | [("prefer-inline" | "prefer-top-level")];
5350
5436
  type ImportDynamicImportChunkname = [] | [
5351
5437
  {
@@ -8903,7 +8989,7 @@ type YmlSpacedComment = [] | [("always" | "never")] | [
8903
8989
  markers?: string[];
8904
8990
  }
8905
8991
  ];
8906
- type ConfigName = 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/js/scripts' | 'ntnyq/js/test' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/dts' | 'ntnyq/ts/test' | 'ntnyq/ts/cjs' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
8992
+ type ConfigName = 'ntnyq/antfu' | 'ntnyq/command' | 'ntnyq/eslint-comments' | 'ntnyq/ignores' | 'ntnyq/imports' | 'ntnyq/gitignore' | 'ntnyq/js/recommended' | 'ntnyq/js/core' | 'ntnyq/js/scripts' | 'ntnyq/js/test' | 'ntnyq/jsdoc' | 'ntnyq/jsonc' | 'ntnyq/jsx' | 'ntnyq/markdown/recommended/plugin' | 'ntnyq/markdown/recommended/processor' | 'ntnyq/markdown/recommended/code-blocks' | 'ntnyq/markdown/disabled/code-blocks' | 'ntnyq/node' | 'ntnyq/prettier' | 'ntnyq/prettier/disabled' | 'ntnyq/regexp' | 'ntnyq/perfectionist' | 'ntnyq/sort/package-json' | 'ntnyq/sort/tsconfig' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/ts/dts' | 'ntnyq/ts/test' | 'ntnyq/ts/cjs' | 'ntnyq/unicorn' | 'ntnyq/unocss' | 'typescript-eslint/base' | 'typescript-eslint/eslint-recommended' | 'typescript-eslint/recommended' | 'ntnyq/ts/core' | 'ntnyq/vue/ts' | 'ntnyq/vue/core' | 'ntnyq/yaml' | 'ntnyq/toml';
8907
8993
 
8908
8994
  /**
8909
8995
  * Typed flat config item
@@ -8948,6 +9034,8 @@ interface ConfigImportsOptions extends OptionsOverrides {
8948
9034
  }
8949
9035
  interface ConfigNodeOptions extends OptionsOverrides {
8950
9036
  }
9037
+ interface ConfigAntfuOptions extends OptionsOverrides {
9038
+ }
8951
9039
  interface ConfigPrettierOptions extends OptionsOverrides {
8952
9040
  /**
8953
9041
  * Prettier level
@@ -9011,19 +9099,20 @@ interface ConfigOptions {
9011
9099
  command?: boolean | ConfigCommandOptions;
9012
9100
  gitignore?: boolean | ConfigGitIgnoreOptions;
9013
9101
  imports?: ConfigImportsOptions;
9014
- javascript?: ConfigJavaScriptOptions;
9015
- typescript?: ConfigTypeScriptOptions;
9016
9102
  node?: ConfigNodeOptions;
9103
+ javascript?: ConfigJavaScriptOptions;
9104
+ typescript?: boolean | ConfigTypeScriptOptions;
9017
9105
  unicorn?: boolean | ConfigUnicornOptions;
9018
9106
  prettier?: boolean | ConfigPrettierOptions;
9107
+ perfectionist?: boolean | ConfigPerfectionistOptions;
9019
9108
  /**
9020
9109
  * @internal
9021
9110
  */
9022
- perfectionist?: boolean | ConfigPerfectionistOptions;
9111
+ unusedImports?: boolean | ConfigUnusedImportsOptions;
9023
9112
  /**
9024
9113
  * @internal
9025
9114
  */
9026
- unusedImports?: boolean | ConfigUnusedImportsOptions;
9115
+ antfu?: boolean | ConfigAntfuOptions;
9027
9116
  comments?: boolean | ConfigCommentsOptions;
9028
9117
  jsdoc?: boolean | ConfigJsdocOptions;
9029
9118
  unocss?: boolean | ConfigUnoCSSOptions;
@@ -9045,31 +9134,6 @@ interface ConfigOptions {
9045
9134
  */
9046
9135
  declare function ntnyq(options?: ConfigOptions, userConfigs?: Arrayable<TypedConfigItem>): FlatConfigComposer<TypedConfigItem, ConfigName>;
9047
9136
 
9048
- declare const hasTypeScript: boolean;
9049
- declare const hasVitest: boolean;
9050
- declare const hasVue: boolean;
9051
- declare const hasUnoCSS: boolean;
9052
-
9053
- declare function toArray<T>(val?: Arrayable<T>): T[];
9054
-
9055
- /**
9056
- * Load an ESLint plugin by name.
9057
- * @param name - The name of the plugin
9058
- * @returns The plugin module
9059
- */
9060
- declare function loadPlugin<T = unknown>(name: string): Promise<T>;
9061
-
9062
- declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
9063
-
9064
- /**
9065
- * Interop default export from a module
9066
- * @param mod - The module
9067
- * @returns The default export
9068
- */
9069
- declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropModuleDefault<T>>;
9070
-
9071
- declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
9072
-
9073
9137
  /**
9074
9138
  * @file globs constants
9075
9139
  */
@@ -9101,55 +9165,82 @@ declare const GLOB_DIST = "**/dist/**";
9101
9165
  declare const GLOB_LOCKFILE: string[];
9102
9166
  declare const GLOB_EXCLUDE: string[];
9103
9167
 
9168
+ declare const hasTypeScript: boolean;
9169
+ declare const hasVitest: boolean;
9170
+ declare const hasVue: boolean;
9171
+ declare const hasUnoCSS: boolean;
9172
+
9173
+ declare function toArray<T>(val?: Arrayable<T>): T[];
9174
+
9104
9175
  /**
9105
- * @see https://eslint.org/docs/latest/use/configure/configuration-files-new#globally-ignoring-files-with-ignores
9176
+ * Load an ESLint plugin by name.
9177
+ * @param name - The name of the plugin
9178
+ * @returns The plugin module
9106
9179
  */
9107
- declare const ignores: (customIgnores?: ConfigIgnoresOptions) => TypedConfigItem[];
9180
+ declare function loadPlugin<T = unknown>(name: string): Promise<T>;
9108
9181
 
9109
- declare const node: (options?: ConfigNodeOptions) => TypedConfigItem[];
9182
+ declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<TypedConfigItem['rules'] & RuleOptions>;
9110
9183
 
9111
- declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
9184
+ /**
9185
+ * Interop default export from a module
9186
+ * @param mod - The module
9187
+ * @returns The default export
9188
+ */
9189
+ declare function interopDefault<T>(mod: Awaitable<T>): Promise<InteropModuleDefault<T>>;
9112
9190
 
9113
- declare const imports: (options?: ConfigImportsOptions) => TypedConfigItem[];
9191
+ declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
9114
9192
 
9115
- declare const unicorn: (options?: ConfigUnicornOptions) => TypedConfigItem[];
9193
+ declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
9116
9194
 
9117
- declare const prettier: (options?: ConfigPrettierOptions) => TypedConfigItem[];
9195
+ declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
9118
9196
 
9119
- declare const comments: (options?: ConfigCommentsOptions) => TypedConfigItem[];
9197
+ declare const node: (options?: ConfigNodeOptions) => TypedConfigItem[];
9120
9198
 
9121
- declare const javascript: (options?: ConfigJavaScriptOptions) => TypedConfigItem[];
9122
- declare const jsx: () => TypedConfigItem[];
9199
+ declare const sortPackageJson: () => TypedConfigItem[];
9200
+ declare const sortTsConfig: () => TypedConfigItem[];
9201
+ declare const sortI18nLocale: () => TypedConfigItem[];
9123
9202
 
9124
- declare const typescriptCore: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
9125
- declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
9203
+ declare const toml: (options?: ConfigTomlOptions) => TypedConfigItem[];
9126
9204
 
9127
- declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
9205
+ declare const antfu: (options?: ConfigAntfuOptions) => TypedConfigItem[];
9128
9206
 
9129
- declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConfigItem[];
9207
+ declare const jsdoc: (options?: ConfigJsdocOptions) => TypedConfigItem[];
9208
+
9209
+ declare const jsonc: (options?: ConfigJsoncOptions) => TypedConfigItem[];
9130
9210
 
9131
9211
  declare const regexp: (options?: ConfigRegexpOptions) => TypedConfigItem[];
9132
9212
 
9133
9213
  declare const unocss: (options?: ConfigUnoCSSOptions) => TypedConfigItem[];
9134
9214
 
9135
- declare const gitignore: (options?: ConfigGitIgnoreOptions) => TypedConfigItem[];
9215
+ declare const vitest: (options?: ConfigVitestOptions) => TypedConfigItem[];
9136
9216
 
9137
9217
  declare const command: (options?: ConfigCommandOptions) => TypedConfigItem[];
9138
9218
 
9139
- declare const vitest: (options?: ConfigVitestOptions) => TypedConfigItem[];
9219
+ /**
9220
+ * @see https://eslint.org/docs/latest/use/configure/configuration-files-new#globally-ignoring-files-with-ignores
9221
+ */
9222
+ declare const ignores: (customIgnores?: ConfigIgnoresOptions) => TypedConfigItem[];
9140
9223
 
9141
- declare const vue: (options?: ConfigVueOptions) => TypedConfigItem[];
9224
+ declare const imports: (options?: ConfigImportsOptions) => TypedConfigItem[];
9142
9225
 
9143
- declare const yml: (options?: ConfigYmlOptions) => TypedConfigItem[];
9226
+ declare const unicorn: (options?: ConfigUnicornOptions) => TypedConfigItem[];
9144
9227
 
9145
- declare const toml: (options?: ConfigTomlOptions) => TypedConfigItem[];
9228
+ declare const comments: (options?: ConfigCommentsOptions) => TypedConfigItem[];
9146
9229
 
9147
- declare const sortPackageJson: () => TypedConfigItem[];
9148
- declare const sortTsConfig: () => TypedConfigItem[];
9149
- declare const sortI18nLocale: () => TypedConfigItem[];
9230
+ declare const markdown: (options?: ConfigMarkdownOptions) => TypedConfigItem[];
9150
9231
 
9151
- declare const jsonc: (options?: ConfigJsoncOptions) => TypedConfigItem[];
9232
+ declare const prettier: (options?: ConfigPrettierOptions) => TypedConfigItem[];
9152
9233
 
9153
- declare const markdown: (options?: ConfigMarkdownOptions) => TypedConfigItem[];
9234
+ declare const gitignore: (options?: ConfigGitIgnoreOptions) => TypedConfigItem[];
9235
+
9236
+ declare const javascript: (options?: ConfigJavaScriptOptions) => TypedConfigItem[];
9237
+ declare const jsx: () => TypedConfigItem[];
9238
+
9239
+ declare const typescriptCore: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
9240
+ declare const typescript: (options?: ConfigTypeScriptOptions) => TypedConfigItem[];
9241
+
9242
+ declare const perfectionist: (options?: ConfigPerfectionistOptions) => TypedConfigItem[];
9243
+
9244
+ declare const unusedImports: (options?: ConfigUnusedImportsOptions) => TypedConfigItem[];
9154
9245
 
9155
- export { type Arrayable, type Awaitable, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigName, type ConfigNodeOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVitestOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsFiles, type OptionsOverrides, type ParserOptions, type ResolvedOptions, type RuleOptions, type TypedConfigItem, command, comments, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };
9246
+ export { type Arrayable, type Awaitable, type ConfigAntfuOptions, type ConfigCommandOptions, type ConfigCommentsOptions, type ConfigGitIgnoreOptions, type ConfigIgnoresOptions, type ConfigImportsOptions, type ConfigJavaScriptOptions, type ConfigJsdocOptions, type ConfigJsoncOptions, type ConfigMarkdownOptions, type ConfigName, type ConfigNodeOptions, type ConfigOptions, type ConfigPerfectionistOptions, type ConfigPrettierOptions, type ConfigRegexpOptions, type ConfigTomlOptions, type ConfigTypeScriptOptions, type ConfigUnicornOptions, type ConfigUnoCSSOptions, type ConfigUnusedImportsOptions, type ConfigVitestOptions, type ConfigVueOptions, type ConfigYmlOptions, GLOB_ALL_SRC, GLOB_CSS, GLOB_DIST, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_NESTED, GLOB_NODE_MODULES, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TEST, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type InteropModuleDefault, type OptionsFiles, type OptionsOverrides, type ParserOptions, type ResolvedOptions, type RuleOptions, type TypedConfigItem, antfu, command, comments, getOverrides, gitignore, hasTypeScript, hasUnoCSS, hasVitest, hasVue, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, loadPlugin, markdown, node, ntnyq, perfectionist, prettier, regexp, resolveSubOptions, sortI18nLocale, sortPackageJson, sortTsConfig, toArray, toml, typescript, typescriptCore, unicorn, unocss, unusedImports, vitest, vue, yml };