Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefer-message-ids rule should not flag missing meta.messages when context.markVariableAsUsed() is present #292

Open
bmish opened this issue Aug 19, 2022 · 0 comments
Labels

Comments

@bmish
Copy link
Member

bmish commented Aug 19, 2022

It turns out that a rule can be valid even if it never reports a violation and thus has no messages.

Example: https://github.com/jsx-eslint/eslint-plugin-react/blob/8306a7bc81be567d36c02e21c1d68f44fa3468e3/lib/rules/jsx-uses-vars.js#L54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant