diff --git a/src/configs/recommended.ts b/src/configs/recommended.ts index 35292d9dc..14bbeebe2 100644 --- a/src/configs/recommended.ts +++ b/src/configs/recommended.ts @@ -31,11 +31,23 @@ const overrides = { [functionalParameters.fullName]: [ "error", { - enforceParameterCount: { - ignoreLambdaExpression: true, - ignoreIIFE: true, - ignoreGettersAndSetters: true, - }, + enforceParameterCount: false, + overrides: [ + { + specifiers: [ + { + from: "file", + }, + ], + options: { + enforceParameterCount: { + ignoreLambdaExpression: true, + ignoreIIFE: true, + ignoreGettersAndSetters: true, + }, + }, + }, + ], }, ], [noConditionalStatements.fullName]: [