Skip to content

Commit 7dfc0d9

Browse files
authored
fix: Make meta.replacedBy read only (#146)
1 parent fb5e9c1 commit 7dfc0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export interface RulesMeta<
166166
/**
167167
* When a rule is deprecated, indicates the rule ID(s) that should be used instead.
168168
*/
169-
replacedBy?: string[] | undefined;
169+
replacedBy?: readonly string[] | undefined;
170170

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

0 commit comments

Comments
 (0)