import type { Linter } from 'eslint'; /** * Prettier configuration options * * Default values are aligned with stylistic defaults for consistency */ export interface PrettierOptions { /** * Arrow function parentheses * @default 'avoid' */ arrowParens?: 'always' | 'avoid'; /** * Bracket spacing * @default true */ bracketSpacing?: boolean; /** * End of line * @default 'auto' */ endOfLine?: 'auto' | 'lf' | 'crlf' | 'cr'; /** * JSX single quote * @default false */ jsxSingleQuote?: boolean; /** * Override rules */ overrides?: Linter.RulesRecord; /** * Print width * @default 100 */ printWidth?: number; /** * Quote props * @default 'as-needed' */ quoteProps?: 'as-needed' | 'consistent' | 'preserve'; /** * Use semicolons * @default false */ semi?: boolean; /** * Single quote * @default true */ singleQuote?: boolean; /** * Tab width * @default 2 */ tabWidth?: number; /** * Trailing commas * @default 'es5' */ trailingComma?: 'all' | 'es5' | 'none'; /** * Use tabs * @default false */ useTabs?: boolean; } /** * Prettier configuration * * Default values are aligned with stylistic defaults for consistency. * When switching between stylistic and prettier, the code style will remain the same. * * Note: This config is only loaded when stylistic is disabled (stylistic: false). */ export declare function prettier(options?: PrettierOptions): Linter.Config[]; //# sourceMappingURL=prettier.d.ts.map