diff --git a/.changeset/chilled-colts-destroy.md b/.changeset/chilled-colts-destroy.md deleted file mode 100644 index 57a61aed..00000000 --- a/.changeset/chilled-colts-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@intlify/eslint-plugin-vue-i18n": minor ---- - -feat: add `no-deprecated-v-t` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index 02b50067..ae6bcf62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @intlify/eslint-plugin-vue-i18n +## 3.2.0 + +### Minor Changes + +- [#580](https://github.com/intlify/eslint-plugin-vue-i18n/pull/580) [`14dfda5`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/14dfda5f54cf6e721967b83a6b7e6fbfd77841a7) Thanks [@kazupon](https://github.com/kazupon)! - feat: add `no-deprecated-v-t` rule + ## 3.1.0 ### Minor Changes diff --git a/docs/rules/index.md b/docs/rules/index.md index 8ae409ca..10cb4346 100644 --- a/docs/rules/index.md +++ b/docs/rules/index.md @@ -13,7 +13,7 @@ | [@intlify/vue-i18n/no-deprecated-i18n-places-prop](./no-deprecated-i18n-places-prop.html) | disallow using deprecated `places` prop (Removed in Vue I18n 9.0.0+) | :star: | | [@intlify/vue-i18n/no-deprecated-modulo-syntax](./no-deprecated-modulo-syntax.html) | enforce modulo interpolation to be named interpolation | :star::black_nib: | | [@intlify/vue-i18n/no-deprecated-tc](./no-deprecated-tc.html) | disallow using deprecated `tc` or `$tc` (Deprecated in Vue I18n 10.0.0, removed fully in Vue I18n 11.0.0) | :star: | -| [@intlify/vue-i18n/no-deprecated-v-t](./no-deprecated-v-t.html) | disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) | :star: | +| [@intlify/vue-i18n/no-deprecated-v-t](./no-deprecated-v-t.html) | disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) | | | [@intlify/vue-i18n/no-html-messages](./no-html-messages.html) | disallow use HTML localization messages | :star: | | [@intlify/vue-i18n/no-i18n-t-path-prop](./no-i18n-t-path-prop.html) | disallow using `path` prop with `` | :star::black_nib: | | [@intlify/vue-i18n/no-missing-keys](./no-missing-keys.html) | disallow missing locale message key at localization methods | :star: | diff --git a/docs/rules/no-deprecated-v-t.md b/docs/rules/no-deprecated-v-t.md index af57694d..90a75b18 100644 --- a/docs/rules/no-deprecated-v-t.md +++ b/docs/rules/no-deprecated-v-t.md @@ -8,8 +8,6 @@ since: v3.0.0 > disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) -- :star: 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 v10 to v11, `v-t` custom direcitve should be replaced with `t` or `$t`. ## :book: Rule Details diff --git a/lib/configs/flat/recommended.ts b/lib/configs/flat/recommended.ts index 280d1f9b..f1e538af 100644 --- a/lib/configs/flat/recommended.ts +++ b/lib/configs/flat/recommended.ts @@ -24,7 +24,6 @@ export = [ '@intlify/vue-i18n/no-deprecated-i18n-places-prop': 'warn', '@intlify/vue-i18n/no-deprecated-modulo-syntax': 'warn', '@intlify/vue-i18n/no-deprecated-tc': 'warn', - '@intlify/vue-i18n/no-deprecated-v-t': 'warn', '@intlify/vue-i18n/no-html-messages': 'warn', '@intlify/vue-i18n/no-i18n-t-path-prop': 'warn', '@intlify/vue-i18n/no-missing-keys': 'warn', diff --git a/lib/configs/recommended.ts b/lib/configs/recommended.ts index f56b0d22..ababfea3 100644 --- a/lib/configs/recommended.ts +++ b/lib/configs/recommended.ts @@ -18,7 +18,6 @@ export = { '@intlify/vue-i18n/no-deprecated-i18n-places-prop': 'warn', '@intlify/vue-i18n/no-deprecated-modulo-syntax': 'warn', '@intlify/vue-i18n/no-deprecated-tc': 'warn', - '@intlify/vue-i18n/no-deprecated-v-t': 'warn', '@intlify/vue-i18n/no-html-messages': 'warn', '@intlify/vue-i18n/no-i18n-t-path-prop': 'warn', '@intlify/vue-i18n/no-missing-keys': 'warn', diff --git a/package.json b/package.json index 5c6b6fff..0a6e4c23 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@intlify/eslint-plugin-vue-i18n", "description": "ESLint plugin for Vue I18n", - "version": "3.1.0", + "version": "3.2.0", "license": "MIT", "homepage": "https://github.com/intlify/eslint-plugin-vue-i18n#readme", "keywords": [