Vue · VUE0002
Disallow unused translations
Flags unused translations in Vue i18n code before it leaks into runtime behavior.
vue/i18n/no-unused-translationssrc/rule-packs/vue/rules/vue/i18n.tsRun this rule
pnpm vite-doctor . --framework vue --rules vue/i18n/no-unused-translations
Why it matters
Vue gives this pattern a specific contract. Staying inside that contract makes the code easier to test, refactor, and run across server and client runtimes.
Recommended fix
Remove unused translations, or move it to the Vue runtime/API that owns that behavior.
Example
Remove unused translations
Before
{
"used": "Save",
"unused": "Delete"
}
After
{
"used": "Save"
}