@intlify/vue-i18n/no-deprecated-tc
disallow using deprecated
tc
or$tc
(Deprecated in Vue I18n 10.0.0, removed fully in Vue I18n 11.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 v9 to v10, tc
or $tc
should be replaced with t
or $t
.
📖 Rule Details
This rule reports use of deprecated tc
or $tc
(Deprecated in Vue I18n 10.0.0, removed fully in Vue I18n 11.0.0)
👎 Examples of incorrect code for this rule:
👍 Examples of correct code for this rule:
📚 Further reading
🚀 Version
This rule was introduced in @intlify/eslint-plugin-vue-i18n
v3.0.0