Skip to content
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

recommended config does not match docs #275

Open
FloEdelmann opened this issue Dec 8, 2021 · 1 comment
Open

recommended config does not match docs #275

FloEdelmann opened this issue Dec 8, 2021 · 1 comment
Labels
Type: Breaking Includes backwards-incompatible fixes Type: Feature Includes new features

Comments

@FloEdelmann
Copy link
Contributor

According to the docs, these rules should be enabled when extending plugin:@intlify/vue-i18n/recommended in my ESLint config:

grafik

However, the recommended config file only contains these four rules:

rules: {
'@intlify/vue-i18n/no-html-messages': 'warn',
'@intlify/vue-i18n/no-missing-keys': 'warn',
'@intlify/vue-i18n/no-raw-text': 'warn',
'@intlify/vue-i18n/no-v-html': 'warn'
}

The base config (which the recommended config extends) does not configure any rules, apart from turning off some core ESLint rules in YAML files for YAML compatibility.

@ota-meshi
Copy link
Member

Thank you for posting this issue.
Rules that are not currently turned ON depend on the version of vue-i18n users using, and cannot be included in the currently provided configuration.
I think it is better to provide new recommended configuration for each vue-i18n version different from it.

@ota-meshi ota-meshi added the Type: Feature Includes new features label Dec 8, 2021
@ota-meshi ota-meshi added the Type: Breaking Includes backwards-incompatible fixes label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Breaking Includes backwards-incompatible fixes Type: Feature Includes new features
Projects
None yet
Development

No branches or pull requests

2 participants