-
Notifications
You must be signed in to change notification settings - Fork 0
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
unused messages lix validation validation rule #6
Comments
samuelstroschein
changed the title
unused messages lint rule
unused messages lix validation rule
Aug 9, 2024
samuelstroschein
changed the title
unused messages lix validation rule
unused messages lix validation validation rule
Aug 9, 2024
Someone on discord found a neat workaround for paraglide js by using https://knip.dev/. See https://discord.com/channels/897438559458430986/1283048712448376873/1283157547909517362 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in opral/monorepo#1961
Originally posted by samuelstroschein January 2, 2024
Context
Over time messages became stale and are not used in source code anymore. No mechanism exists at the moment that "lints" unused messages that can safely be deleted. The result is an evergrowing amount of messages that translators are supposed to translate even though some or many messages aren't used.
Proposal
Introduce an "unused message" lint rule.
The lint rule parses the source code and searches for message references (similar/identical to the ide extensions message reference matchers)
Requirements
opral/monorepo#2126
The text was updated successfully, but these errors were encountered: