Skip to content

Commit

Permalink
fix(utils): use mergeable interface for settings property (#8485)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 16, 2024
1 parent 9dfb327 commit 9708659
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/utils/src/ts-eslint/Rule.ts
Expand Up @@ -171,7 +171,10 @@ export type ReportDescriptor<TMessageIds extends string> =
* Plugins can add their settings using declaration
* merging against this interface.
*/
export type SharedConfigurationSettings = Record<string, unknown>;
// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
export interface SharedConfigurationSettings {
[name: string]: unknown;
}

export interface RuleContext<
TMessageIds extends string,
Expand Down

0 comments on commit 9708659

Please sign in to comment.