diff --git a/.changeset/pre.json b/.changeset/pre.json index 62837438..1141631f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,5 +4,9 @@ "initialVersions": { "@intlify/eslint-plugin-vue-i18n": "3.2.0" }, - "changesets": [] + "changesets": [ + "afraid-queens-shave", + "new-ligers-tan", + "old-islands-admire" + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6bcf62..3fbe31e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @intlify/eslint-plugin-vue-i18n +## 4.0.0-next.0 + +### Major Changes + +- [#556](https://github.com/intlify/eslint-plugin-vue-i18n/pull/556) [`ccc4737`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/ccc4737e798758179a51dc152ac6e8dada89c33c) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @intlify/core-base to v10 + +- [#557](https://github.com/intlify/eslint-plugin-vue-i18n/pull/557) [`baaa5fe`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/baaa5feb9c7dfcb86c46e63e77d2f7d9cb535738) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @intlify/message-compiler to v10 + +- [#585](https://github.com/intlify/eslint-plugin-vue-i18n/pull/585) [`13d8975`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/13d8975a78bbc9c07c0c11476b9e0afefd8862e5) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat!: update config + ## 3.2.0 ### Minor Changes diff --git a/docs/rules/index.md b/docs/rules/index.md index 10cb4346..8ae409ca 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) | | +| [@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-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 33c4cba0..87200b77 100644 --- a/docs/rules/no-deprecated-v-t.md +++ b/docs/rules/no-deprecated-v-t.md @@ -8,6 +8,8 @@ since: v3.2.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 f1e538af..280d1f9b 100644 --- a/lib/configs/flat/recommended.ts +++ b/lib/configs/flat/recommended.ts @@ -24,6 +24,7 @@ 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 ababfea3..f56b0d22 100644 --- a/lib/configs/recommended.ts +++ b/lib/configs/recommended.ts @@ -18,6 +18,7 @@ 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 9ea3af52..0dbf33e3 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.2.0", + "version": "4.0.0-next.0", "license": "MIT", "homepage": "https://github.com/intlify/eslint-plugin-vue-i18n#readme", "keywords": [