Skip to content

Commit

Permalink
fix(types): allow passing null as override entry result to createConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ljosberinn committed Jul 20, 2022
1 parent 137aa98 commit 2b65821
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/createConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ export type CreateConfigArgs = GetDepsArgs &

rules?: Linter.RulesRecord;
root?: boolean;
} & Pick<
ESLintConfig,
'env' | 'overrides' | 'parserOptions' | 'plugins' | 'settings'
>;
overrides?: (Linter.ConfigOverride | null)[];
} & Pick<ESLintConfig, 'env' | 'parserOptions' | 'plugins' | 'settings'>;

export const createConfig = ({
cwd,
Expand Down

0 comments on commit 2b65821

Please sign in to comment.