We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9661ded commit c0be938Copy full SHA for c0be938
src/plugins/typescript.ts
@@ -158,7 +158,13 @@ export const settings: Linter.Config = {
158
"@typescript-eslint/prefer-includes": "warn",
159
"@typescript-eslint/prefer-nullish-coalescing": "warn",
160
"@typescript-eslint/prefer-optional-chain": "warn",
161
- "@typescript-eslint/prefer-readonly-parameter-types": "warn",
+ "@typescript-eslint/prefer-readonly-parameter-types": [
162
+ "warn",
163
+ {
164
+ checkParameterProperties: false,
165
+ ignoreInferredTypes: true,
166
+ },
167
+ ],
168
"@typescript-eslint/prefer-string-starts-ends-with": "warn",
169
"@typescript-eslint/prefer-ts-expect-error": "warn",
170
"@typescript-eslint/promise-function-async": "error",
0 commit comments