diff --git a/src/config/index.d.ts b/src/config/index.d.ts index 39035296..c53b78e2 100644 --- a/src/config/index.d.ts +++ b/src/config/index.d.ts @@ -113,3 +113,9 @@ export interface ESLintConfig { */ reportUnusedDisableDirectives?: boolean; } + +export * from './env'; +export * from './extends'; +export * from './overrides'; +export * from './plugin'; +export * from './settings'; diff --git a/src/flat-config/index.d.ts b/src/flat-config/index.d.ts index b7ed013b..7a1877c7 100644 --- a/src/flat-config/index.d.ts +++ b/src/flat-config/index.d.ts @@ -69,3 +69,6 @@ export type PredefinedConfig = LiteralUnion< export type FlatESLintConfig = FlatESLintConfigItem | PredefinedConfig; export type FlatESLintConfigs = Array; + +export * from './language-options'; +export * from './linter-options'; diff --git a/src/index.d.ts b/src/index.d.ts index e9f2f81a..76b1b355 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -28,3 +28,8 @@ export function defineConfig(config: FlatESLintConfig): FlatESLintConfig; * @returns Flat ESLint config. */ export function defineConfig(config: FlatESLintConfigs): FlatESLintConfigs; + +export * from './config'; +export * from './flat-config'; +export * from './parser-options'; +export * from './rules';