import type { FlatGitignoreOptions as GitignoreOptions } from 'eslint-config-flat-gitignore'; import type { Config } from './types.js'; export interface ESLintConfigOptions { /** * Whether to enable [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint) configuration. * * @default true */ typescript?: boolean; /** * Whether to enable [eslint-plugin-unicorn](https://www.npmjs.com/package/eslint-plugin-unicorn) configuration. * * @default true */ unicorn?: boolean; /** * Whether to enable [eslint-plugin-package-json](https://www.npmjs.com/package/eslint-plugin-package-json) configuration. * * @default true */ packageJson?: boolean; /** * Whether to enable [eslint-plugin-perfectionist](https://www.npmjs.com/package/eslint-plugin-perfectionist) configuration. * * @default true */ perfectionist?: boolean; /** * Whether to check code blocks in Markdown files. * * @default true */ markdown?: boolean; /** * Whether to enable React configuration. * * @default false */ react?: boolean | ReactOptions; /** * Whether to enable Vue configuration. * * @default false */ vue?: boolean | VueOptions; /** * Whether to enable UnoCSS configuration. * * @default false */ unocss?: boolean; /** * Whether to enable [eslint-plugin-command](https://www.npmjs.com/package/eslint-plugin-command) configuration. * * @default false */ command?: boolean; /** * Whether to enable [@eslint-community/eslint-plugin-eslint-comments](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments) configuration. * * @default true */ comment?: boolean; /** * Ignore some common files that should not be linted. * * @default true */ ignores?: boolean | IgnoresOptions; /** * Whether to enable [eslint-config-flat-gitignore](https://www.npmjs.com/package/eslint-config-flat-gitignore) configuration. * * @default true */ gitignore?: boolean | GitignoreOptions; /** * Whether to enable [eslint-plugin-antfu](https://www.npmjs.com/package/eslint-plugin-antfu) configuration. * * @default true */ antfu?: boolean; /** * Whether to enable [eslint-plugin-no-only-tests](https://www.npmjs.com/package/eslint-plugin-no-only-tests) configuration. * * @default true */ noOnlyTests?: boolean; /** * Whether to enable [eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier) configuration. * * @default true */ prettier?: boolean; } export declare function resolveOptions({ typescript, unicorn, packageJson, perfectionist, markdown, react, vue, unocss, command, comment, ignores, gitignore, antfu, noOnlyTests, prettier, }?: ESLintConfigOptions): Required; export interface ReactOptions { /** * The default files to lint. * * @default: All typescript files * * @see {@link Config.files} */ files?: Config['files']; /** * Whether to enable * [bleeding edge experimental compiler rules](https://github.com/facebook/react/blob/7568e71/packages/eslint-plugin-react-hooks) * configuration. * * @default true */ reactCompiler?: boolean; /** * React version to use for linting. Set to a semver version like "16.0", "19.2", etc. * * @default: '18.0' */ version?: string; } export declare function resolveReactOptions({ files, reactCompiler, version, }?: ReactOptions): Required; export interface VueOptions { /** * The default files to lint. * * @default: All .vue files * * @see {@link Config.files} */ files?: Config['files']; } export declare function resolveVueOptions({ files, }?: VueOptions): Required; export interface IgnoresOptions { /** * An array of glob patterns indicating the files that the configuration * object should not apply to. * * @default: some common files to ignore * * @see {@link Config.ignores} */ ignores?: Config['ignores']; } export declare function resolveIgnoresOptions({ ignores, }?: IgnoresOptions): Required; //# sourceMappingURL=options.d.ts.map