eslint-plugin-vue-i18n icon indicating copy to clipboard operation
eslint-plugin-vue-i18n copied to clipboard

`recommended` config does not match docs

Open FloEdelmann opened this issue 3 years ago • 1 comments

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:

https://github.com/intlify/eslint-plugin-vue-i18n/blob/8e5b62b81f9c4591e16c023ebc6ccaf11b3e458e/lib/configs/recommended.ts#L15-L20

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.

FloEdelmann avatar Dec 08 '21 09:12 FloEdelmann

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 avatar Dec 08 '21 23:12 ota-meshi