From a676e22ab44775cbbd227290d4144705c85a3fef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:22:44 +0900 Subject: [PATCH] chore: release `@intlify/eslint-plugin-vue-i18n` (#581) Co-authored-by: github-actions[bot] --- .changeset/chilled-colts-destroy.md | 5 ----- CHANGELOG.md | 6 ++++++ docs/rules/index.md | 2 +- docs/rules/no-deprecated-v-t.md | 5 ++--- lib/configs/flat/recommended.ts | 1 - lib/configs/recommended.ts | 1 - package.json | 2 +- 7 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 .changeset/chilled-colts-destroy.md 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 ca5382d5..33c4cba0 100644 --- a/docs/rules/no-deprecated-v-t.md +++ b/docs/rules/no-deprecated-v-t.md @@ -1,14 +1,13 @@ --- title: '@intlify/vue-i18n/no-deprecated-v-t' description: disallow using deprecated `v-t` custom directive (Deprecated in Vue I18n 11.0.0, removed fully in Vue I18n 12.0.0) +since: v3.2.0 --- # @intlify/vue-i18n/no-deprecated-v-t > 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 @@ -57,7 +56,7 @@ This rule reports use of deprecated `v-t` custom directive (Deprecated in Vue I1 ## :rocket: Version -This rule was introduced in `@intlify/eslint-plugin-vue-i18n` v3.0.0 +This rule was introduced in `@intlify/eslint-plugin-vue-i18n` v3.2.0 ## :mag: Implementation 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 b16adfe0..159b994a 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": [