Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utils): use mergeable interface for settings property (again) #8485

Merged
merged 2 commits into from Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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