This commit is contained in:
Alex
2025-01-25 19:44:09 -05:00
parent 8824c2166d
commit c2d582dea0
13 changed files with 926 additions and 1007 deletions

View File

@ -7,6 +7,16 @@ export type Middleware =
| (() => Promise<MiddlewareResult>)
| (() => Promise<{ default: MiddlewareResult }>);
export type Environment =
| 'react'
| 'reactRefresh'
| 'tailwind'
| 'storybook'
| 'reactQuery'
| 'testingLibrary'
| 'jsdoc'
| 'vitest';
export interface NormalizedExtendConfigOptions {
auto?: boolean;
middlewares?: Middleware[];
@ -15,6 +25,9 @@ export interface NormalizedExtendConfigOptions {
* Use `.gitignore` file to exclude files from ESLint.
*/
gitignore?: boolean;
env?: {
[key in Environment]?: boolean;
};
}
export type ExtendConfigOptions =