Skip to content

Commit 807acf4

Browse files
fix: increase severity of prefer-readonly-parameter-types rule
1 parent eaa92ac commit 807acf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const settings: Linter.Config = {
172172
"@typescript-eslint/prefer-nullish-coalescing": "warn",
173173
"@typescript-eslint/prefer-optional-chain": "warn",
174174
"@typescript-eslint/prefer-readonly-parameter-types": [
175-
"warn",
175+
"error",
176176
{
177177
checkParameterProperties: false,
178178
ignoreInferredTypes: true,

0 commit comments

Comments
 (0)