Skip to content

Conversation

bmish
Copy link
Member

@bmish bmish commented Aug 12, 2022

When a messageId from a function parameter is reported, stop trying to detect unused messageIds, since we can't currently know what values that function is called with. In a future improvement, we could try to detect the function calls to find the possible values the parameter is called with.

Fixes #282.

@bmish bmish added the bug label Aug 12, 2022
@bmish bmish force-pushed the no-star-message-ids-fn-param branch 3 times, most recently from bdb9cb8 to 110e0c0 Compare August 12, 2022 21:08
@bmish bmish changed the title Fix false positives with violation reporting helper function in no-missing-message-ids and no-unused-message-ids rules Fix false positives with violation reporting helper function in no-unused-message-ids rule Aug 12, 2022
@bmish bmish force-pushed the no-star-message-ids-fn-param branch from 110e0c0 to ef20d99 Compare August 12, 2022 21:13
@bmish bmish marked this pull request as ready for review August 12, 2022 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive with no-unused-message-ids when helper function parameter reassignment present
3 participants