# @intlify/vue-i18n/prefer-sfc-lang-attr

require lang attribute on <i18n> block

# 📖 Rule Details

This rule enforce lang attribute to be specified to <i18n> custom block.

👎 Examples of incorrect code for this rule:

locale messages:

Now loading...

👍 Examples of correct code for this rule:

locale messages:

Now loading...

# 🚀 Version

This rule was introduced in @intlify/eslint-plugin-vue-i18n v1.2.0

# 🔍 Implementation

Last Updated: 11/18/2021, 1:41:29 PM