# Available Rules

  • ⭐️ mark: the rule which is enabled by plugin:@intlify/vue-i18n/recommended preset.
  • ✒️ mark: the rule which is fixable by eslint --fix command.
Rule ID Description
@intlify/vue-i18n/no-deprecated-i18n-component disallow using deprecated <i18n> components (in Vue I18n 9.0.0+) ✒️
@intlify/vue-i18n/no-deprecated-i18n-place-attr disallow using deprecated place attribute (Removed in Vue I18n 9.0.0+)
@intlify/vue-i18n/no-deprecated-i18n-places-prop disallow using deprecated places prop (Removed in Vue I18n 9.0.0+)
@intlify/vue-i18n/no-html-messages disallow use HTML localization messages ⭐️
@intlify/vue-i18n/no-i18n-t-path-prop disallow using path prop with <i18n-t> ✒️
@intlify/vue-i18n/no-missing-keys disallow missing locale message key at localization methods ⭐️
@intlify/vue-i18n/no-raw-text disallow to string literal in template or JSX ⭐️
@intlify/vue-i18n/no-v-html disallow use of localization methods on v-html to prevent XSS attack ⭐️
@intlify/vue-i18n/valid-message-syntax disallow invalid message syntax

# Best Practices

Rule ID Description
@intlify/vue-i18n/key-format-style enforce specific casing for localization keys
@intlify/vue-i18n/no-duplicate-keys-in-locale disallow duplicate localization keys within the same locale
@intlify/vue-i18n/no-dynamic-keys disallow localization dynamic keys at localization methods
@intlify/vue-i18n/no-missing-keys-in-other-locales disallow missing locale message keys in other locales
@intlify/vue-i18n/no-unknown-locale disallow unknown locale name
@intlify/vue-i18n/no-unused-keys disallow unused localization keys ✒️
@intlify/vue-i18n/prefer-sfc-lang-attr require lang attribute on <i18n> block ✒️

# Stylistic Issues

Rule ID Description
@intlify/vue-i18n/prefer-linked-key-with-paren enforce linked key to be enclosed in parentheses ✒️
@intlify/vue-i18n/sfc-locale-attr require or disallow the locale attribute on <i18n> block