Skip to content

Commit

Permalink
fix: Make meta.replacedBy read only (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas authored Jan 29, 2025
1 parent fb5e9c1 commit 7dfc0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export interface RulesMeta<
/**
* When a rule is deprecated, indicates the rule ID(s) that should be used instead.
*/
replacedBy?: string[] | undefined;
replacedBy?: readonly string[] | undefined;

/**
* Indicates if the rule is fixable, and if so, what type of fix it provides.
Expand Down

0 comments on commit 7dfc0d9

Please sign in to comment.