# @intlify/vue-i18n/no-dynamic-keys

disallow localization dynamic keys at localization methods

This rule warns localization dynamic keys.

This role is useful for unifying all static keys in your application.

# 📖 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:

{
  "hello": "Hello! DIO!"
}

localization codes:

Now loading...
Now loading...

👍 Examples of correct code for this rule:

locale messages:

{
  "hello": "Hello! DIO!"
}

localization codes:

Now loading...
Now loading...

# 🚀 Version

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

# 🔍 Implementation