This commit is contained in:
Alex
2024-08-03 21:00:40 -04:00
parent e5546e21ad
commit 92e6e5081b
5 changed files with 12 additions and 10 deletions

3
dist/index.d.ts vendored
View File

@ -58,6 +58,7 @@ export type InputConfig = Omit<ESLintConfig, "rules"> & {
customRuleFiles?: string | string[];
/**
* Automatically detect project types, dependencies and deduct the plugins.
* @default true
*/
auto?: boolean;
};
@ -91,7 +92,7 @@ export interface MiddlewareFunctions {
* 1. [`graphql`](https://the-guild.dev/graphql/eslint/rules)
*/
export declare function extendConfig(of?: InputConfig & {
middlewares: Middleware[];
middlewares?: Middleware[];
}): ESLintConfig;
export {};