@intlify/vue-i18n/no-deprecated-i18n-place-attr
disallow using deprecated
place
attribute (Removed in Vue I18n 9.0.0+)
- ⭐ The
"extends": "plugin:@intlify/vue-i18n/recommended"
or*.configs["flat/recommended"]
property in a configuration file enables this rule.
If you are migrating from Vue I18n v8 to v9, the place
attribute should be replaced with the v-slot
.
📖 Rule Details
This rule reports use of deprecated place
attribute (Removed in Vue I18n 9.0.0+).
👎 Examples of incorrect code for this rule:
👍 Examples of correct code for this rule:
📚 Further reading
- Vue I18n > Breaking Changes - Remove place syntax with
place
attr andplaces
prop - Vue I18n (v8) > Component interpolation - Places syntax usage
🚀 Version
This rule was introduced in @intlify/eslint-plugin-vue-i18n
v0.11.0