Skip to content

Commit 5d85ce2

Browse files
fix(prefer-readonly-parameter-types): add rule
1 parent 7e31455 commit 5d85ce2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export const settings: Linter.Config = {
128128
"@typescript-eslint/prefer-includes": "warn",
129129
"@typescript-eslint/prefer-nullish-coalescing": "warn",
130130
"@typescript-eslint/prefer-optional-chain": "warn",
131+
"@typescript-eslint/prefer-readonly-parameter-types": "warn",
131132
"@typescript-eslint/prefer-string-starts-ends-with": "warn",
132133
"@typescript-eslint/prefer-ts-expect-error": "warn",
133134
"@typescript-eslint/switch-exhaustiveness-check": "warn",

0 commit comments

Comments
 (0)