UNPKG

@truenine/eslint9-config

Version:

ESLint 9 configuration package for Compose Client projects with TypeScript, Vue, and modern JavaScript support

24 lines (23 loc) 980 B
import { AntFuFormatterConfig, AntFuJsConfig, AntFuStrictTsConfig, AntFuStylisticConfig, AntFuTestConfig, AntFuTsConfig, AntFuUnocssConfig, AntFuVueConfig } from "./types/index.js"; import { antfu } from "@antfu/eslint-config"; //#region src/index.d.ts interface ConfigOptions { type?: "app" | "lib"; pnpm?: boolean; test?: boolean | AntFuTestConfig; ignores?: string[]; jsx?: boolean; nextjs?: boolean; react?: boolean; vue?: boolean | AntFuVueConfig; formatters?: boolean | AntFuFormatterConfig; javascript?: AntFuJsConfig; typescript?: boolean | AntFuStrictTsConfig | AntFuTsConfig; unocss?: boolean | AntFuUnocssConfig; stylistic?: boolean | AntFuStylisticConfig; } declare function applyPreset(options?: ConfigOptions): Promise<ReturnType<typeof antfu>>; declare function eslint9(options?: ConfigOptions): Promise<ReturnType<typeof antfu>>; //#endregion export { ConfigOptions, applyPreset, eslint9 as default }; //# sourceMappingURL=index.d.ts.map