False positive with no-unused-message-ids
when helper function parameter reassignment present
#282
Labels
no-unused-message-ids
when helper function parameter reassignment present
#282
In this example, the
messageId
being reported can come from a function parameter or from parameter reassignment. We should ignore this scenario because we don't know all the possible values the function could be called with.Example:
https://github.com/typescript-eslint/typescript-eslint/blob/b6e5413fb12c2b1943a288b514f864c339380388/packages/eslint-plugin/src/rules/no-unsafe-call.ts#L63
This is not specific to TypeScript.
The text was updated successfully, but these errors were encountered: