Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: intlify/eslint-plugin-vue-i18n
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0-next.14
Choose a base ref
...
head repository: intlify/eslint-plugin-vue-i18n
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.0
Choose a head ref
  • 5 commits
  • 24 files changed
  • 4 contributors

Commits on Jun 8, 2024

  1. chore(deps): update dependency @types/prettier to v3 (#524)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b178245 View commit details
  2. changeset pre exit

    ota-meshi committed Jun 8, 2024
    Copy the full SHA
    4b5f294 View commit details
  3. chore: fix update script

    ota-meshi committed Jun 8, 2024
    Copy the full SHA
    d9eea76 View commit details
  4. chore: update changeset file

    ota-meshi committed Jun 8, 2024
    Copy the full SHA
    f474965 View commit details
  5. chore: release @intlify/eslint-plugin-vue-i18n (#525)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jun 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e52cbed View commit details
5 changes: 0 additions & 5 deletions .changeset/forty-tools-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fresh-squids-build.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-snails-knock.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-forks-brake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-eyes-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-cows-wonder.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-apricots-flash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-apples-ring.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-snakes-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-chairs-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pink-hairs-fail.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-bulldogs-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-colts-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-needles-smash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-insects-deny.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-carpets-sing.md

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@
/tests/fixtures
/tests-integrations/config-recommended
/docs/.vitepress/cache
/scripts/update-**.ts

# ignore files
/CHANGELOG.md
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @intlify/eslint-plugin-vue-i18n

## 3.0.0

### Major Changes

- [#513](https://github.com/intlify/eslint-plugin-vue-i18n/pull/513) [`3f0c57f`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/3f0c57f097dc90ec05ae5545c5c4b4f2016c74a7) Thanks [@kazupon](https://github.com/kazupon)! - breaking: drop support for versions less than node v18

- [#520](https://github.com/intlify/eslint-plugin-vue-i18n/pull/520) [`7642d29`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/7642d299937afdbdfac77e886e977340eccfc1cb) Thanks [@ota-meshi](https://github.com/ota-meshi)! - breaking: update recommended config

- [#514](https://github.com/intlify/eslint-plugin-vue-i18n/pull/514) [`e45f983`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/e45f98300385bc0a1d53f28d6ee062a9878307e1) Thanks [@kazupon](https://github.com/kazupon)! - breaking: drop support for versions less than eslint v8

### Minor Changes

- [#499](https://github.com/intlify/eslint-plugin-vue-i18n/pull/499) [`296e6f6`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/296e6f6edbb43080f4e64f75aa8c8df7f9b80c96) Thanks [@kazupon](https://github.com/kazupon)! - feat: `no-deprecated-modulo-syntax` rule

- [#471](https://github.com/intlify/eslint-plugin-vue-i18n/pull/471) [`a12cbec`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/a12cbecf17a9886076da6c31db4d219a5c176d70) Thanks [@advisciglio](https://github.com/advisciglio)! - fix: adds I18nT keyword into key collection

- [#492](https://github.com/intlify/eslint-plugin-vue-i18n/pull/492) [`30ad848`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/30ad84859d21d12b9882c3d03dd411360e804bea) Thanks [@oikalyptus](https://github.com/oikalyptus)! - add lowercase option to key-format-style rule

- [#510](https://github.com/intlify/eslint-plugin-vue-i18n/pull/510) [`61b0c94`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/61b0c944ada23408b8943658e4e9473af3733202) Thanks [@kazupon](https://github.com/kazupon)! - feat: add `no-deprecated-tc` rule

- [#487](https://github.com/intlify/eslint-plugin-vue-i18n/pull/487) [`01324a0`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/01324a037a7ca3357a14e942e90b298424290a9a) Thanks [@kazupon](https://github.com/kazupon)! - feat: support flat config

- [#463](https://github.com/intlify/eslint-plugin-vue-i18n/pull/463) [`a488f15`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/a488f15f35190ea4803ba9716e6ffc207277d7d2) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add support for eslint v9

- [#497](https://github.com/intlify/eslint-plugin-vue-i18n/pull/497) [`c392a38`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/c392a38591c19b406453df69e82225b8fc9ca076) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: `no-unused-keys` rule not working when using flat config

### Patch Changes

- [#394](https://github.com/intlify/eslint-plugin-vue-i18n/pull/394) [`3774e88`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/3774e88ba06335efe2112594d0c92b8ac4e5d242) Thanks [@wolfgangwalther](https://github.com/wolfgangwalther)! - fix: no-missing-keys rule reports false positive with trailing dot

- [#459](https://github.com/intlify/eslint-plugin-vue-i18n/pull/459) [`8b3d347`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/8b3d347e9e10b4cce0b8527675c230654d8e28bd) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @eslint/eslintrc to v3

- [#474](https://github.com/intlify/eslint-plugin-vue-i18n/pull/474) [`ebd7353`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/ebd7353ada4d65eec0f504887db0911a80819979) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong suggestion for remove all unused keys in `vue-i18n/no-unused-keys` rule

- [#413](https://github.com/intlify/eslint-plugin-vue-i18n/pull/413) [`0fadd81`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/0fadd81f0551c380514744573b4c3fdac9b9d4fa) Thanks [@dargmuesli](https://github.com/dargmuesli)! - Pin `@intlify` dependencies to tag `beta` to try to prevent renovate from downgrading.

- [#515](https://github.com/intlify/eslint-plugin-vue-i18n/pull/515) [`b451cdb`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/b451cdba894dba2d60c9d8a498c3e319709e8910) Thanks [@kazupon](https://github.com/kazupon)! - fix: `no-deprecated-tc` rule wrong category

- [#433](https://github.com/intlify/eslint-plugin-vue-i18n/pull/433) [`68a4a1b`](https://github.com/intlify/eslint-plugin-vue-i18n/commit/68a4a1b098ff54433fbd9ee427bead82e0ff3867) Thanks [@wolfgangwalther](https://github.com/wolfgangwalther)! - fix(deps): Make import-fresh a proper dependency

## 3.0.0-next.14

### Major Changes
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@intlify/eslint-plugin-vue-i18n",
"description": "ESLint plugin for Vue I18n",
"version": "3.0.0-next.14",
"version": "3.0.0",
"license": "MIT",
"homepage": "https://github.com/intlify/eslint-plugin-vue-i18n#readme",
"keywords": [
@@ -91,7 +91,7 @@
"@types/lodash": "^4.14.196",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.5",
"@types/prettier": "^2.7.3",
"@types/prettier": "^3.0.0",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
17 changes: 12 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ async function writeFile(filePath: string, content: string) {
) as Options
await fs.writeFile(
filePath,
format(linted, { filepath: filePath, ...prettierrc })
await format(linted, { filepath: filePath, ...prettierrc })
)
}

2 changes: 1 addition & 1 deletion scripts/update-index-docs.ts
Original file line number Diff line number Diff line change
@@ -52,6 +52,6 @@ ${withCategories.map(toCategorySection).join('\n')}
// write docs index
await fs.writeFile(
filePath,
format(content, { filepath: filePath, ...prettierrc })
await format(content, { filepath: filePath, ...prettierrc })
)
}
6 changes: 3 additions & 3 deletions scripts/update-rule-docs.ts
Original file line number Diff line number Diff line change
@@ -48,10 +48,10 @@ class DocFile {
return this
}

write() {
async write() {
writeFileSync(
this.filePath,
format(this.content, {
await format(this.content, {
filepath: this.filePath,
...prettierrc
})
@@ -167,7 +167,7 @@ This rule was introduced in \`@intlify/eslint-plugin-vue-i18n\` ${this.since}
export async function update(): Promise<void> {
for (const rule of await getRules()) {
const doc = await new DocFile(rule).init()
doc
await doc
.updateFileIntro()
.updateHeader()
.updateCodeBlocks()