Skip to content

@intlify/vue-i18n/no-missing-keys

disallow missing locale message key at localization methods

  • ⭐ The "extends": "plugin:@intlify/vue-i18n/recommended" or *.configs["flat/recommended"] property in a configuration file enables this rule.

This rule warns locale message key missing if the key does not exist in locale messages.

📖 Rule Details

You can be detected with this rule the following:

  • $t
  • t
  • $tc
  • tc
  • v-t
  • <i18n>

👎 Examples of incorrect code for this rule:

locale messages:

👍 Examples of correct code for this rule:

locale messages:

For SFC.

🚀 Version

This rule was introduced in @intlify/eslint-plugin-vue-i18n v0.1.0

🔍 Implementation