Skip to content

Add no-deprecated-i18n-component rule #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2021
Merged

Conversation

ota-meshi
Copy link
Member

This PR adds @intlify/vue-i18n/no-deprecated-i18n-component rule that reports use of deprecated <i18n> components (in Vue I18n 9.0.0+).

refs #161

In #161, the name of the rule was proposed as no-deprecated-translation-component-name, but if <i18n-t> is deprecated in v10+, it will be difficult to think of a rule with a new name, so the rule I renamed it to no-deprecated-i18n-component.

@ota-meshi ota-meshi added the Type: Feature Includes new features label Feb 22, 2021
@kazupon
Copy link
Member

kazupon commented Feb 22, 2021

Thank you for you PR!

but if <i18n-t> is deprecated in v10+, it will be difficult to think of a rule with a new name, so the rule I renamed it to no-deprecated-i18n-component.

I agree!
You can merge this PR!

@ota-meshi ota-meshi merged commit 59fc325 into master Feb 22, 2021
@ota-meshi ota-meshi deleted the no-deprecated-i18n-component branch February 22, 2021 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Includes new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants