We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413f57f commit c905047Copy full SHA for c905047
src/rules/prefer-readonly-type.ts
@@ -95,6 +95,8 @@ const errorMessages = {
95
96
// The meta data for this rule.
97
const meta: RuleMetaData<keyof typeof errorMessages> = {
98
+ deprecated: true,
99
+ replacedBy: ["@typescript-eslint/prefer-readonly-parameter-types"],
100
type: "suggestion",
101
docs: {
102
description: "Prefer readonly array over mutable arrays.",
0 commit comments