Skip to content

feat(lint): update ESLint configuration to use Vitest and remove Jest#4542

Merged
escapedcat merged 2 commits intoconventional-changelog:masterfrom
alsmadi99:migrate-jest-to-vitest
Oct 3, 2025
Merged

feat(lint): update ESLint configuration to use Vitest and remove Jest#4542
escapedcat merged 2 commits intoconventional-changelog:masterfrom
alsmadi99:migrate-jest-to-vitest

Conversation

@alsmadi99
Copy link
Copy Markdown
Contributor

Description

Removing jest linting configurations and using vitest linting configurations instead.

Motivation and Context

Resolves #4412

How Has This Been Tested?

By triggering one of @vitest/eslint-plugin rules in the test files and running yarn lint.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Aug 27, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@alsmadi99
Copy link
Copy Markdown
Contributor Author

alsmadi99 commented Aug 27, 2025

yarn.lock was modified, unsure why pipeline fails for yarn install. please retry pipeline or advise if any extra change needed for this added dev dependency.

Update: tests are passing now.

@escapedcat escapedcat requested a review from JounQin August 29, 2025 15:38
@escapedcat
Copy link
Copy Markdown
Member

Thanks, sorry, got lost

@escapedcat escapedcat merged commit 63e7ad4 into conventional-changelog:master Oct 3, 2025
12 checks passed
immxmmi pushed a commit to immxmmi/gitea-helm-actions that referenced this pull request Apr 20, 2026
This PR contains the following updates:

| Package | Type | Update | Change | Age | Confidence |
|---|---|---|---|---|---|
| [commitlint/commitlint](https://github.com/conventional-changelog/commitlint) | container | minor | `20.1.0` -> `20.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/docker/commitlint%2fcommitlint/20.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/commitlint%2fcommitlint/20.1.0/20.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [docker.io/thegeeklab/git-sv](https://github.com/thegeeklab/git-sv) | container | patch | `2.0.8` -> `2.0.9` | [![age](https://developer.mend.io/api/mc/badges/age/docker/docker.io%2fthegeeklab%2fgit-sv/2.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/docker.io%2fthegeeklab%2fgit-sv/2.0.8/2.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | devDependencies | minor | [`^0.46.0` -> `^0.47.0`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.46.0/0.47.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/markdownlint-cli/0.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/markdownlint-cli/0.46.0/0.47.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>conventional-changelog/commitlint (commitlint/commitlint)</summary>

### [`v20.2.0`](https://github.com/conventional-changelog/commitlint/blob/HEAD/CHANGELOG.md#2020-2025-12-05)

[Compare Source](conventional-changelog/commitlint@v20.1.0...v20.2.0)

##### Bug Fixes

- update dependency glob to v11 \[security] ([#&#8203;4561](conventional-changelog/commitlint#4561)) ([a89a08b](conventional-changelog/commitlint@a89a08b))

##### Features

- **cz-commitlint:** support customizable commit prompt with emojis ([#&#8203;4540](conventional-changelog/commitlint#4540)) ([803c05b](conventional-changelog/commitlint@803c05b))
- **lint:** update ESLint configuration to use Vitest and remove Jest plugin ([#&#8203;4542](conventional-changelog/commitlint#4542)) ([63e7ad4](conventional-changelog/commitlint@63e7ad4))
- **rules:** add breaking-change-exclamation-mark ([#&#8203;4548](conventional-changelog/commitlint#4548)) ([c4d419b](conventional-changelog/commitlint@c4d419b)), closes [#&#8203;4547](conventional-changelog/commitlint#4547)

</details>

<details>
<summary>thegeeklab/git-sv (docker.io/thegeeklab/git-sv)</summary>

### [`v2.0.9`](https://github.com/thegeeklab/git-sv/releases/tag/v2.0.9)

[Compare Source](thegeeklab/git-sv@v2.0.8...v2.0.9)

#### v2.0.9 (2025-12-05)

##### Others

- **deps:** update docker.io/library/alpine docker tag to v3.23 ([#&#8203;260](thegeeklab/git-sv#260)) ([`2f6207a`](thegeeklab/git-sv@2f6207a))
- **deps:** update golang patch version ([#&#8203;261](thegeeklab/git-sv#261)) ([`a4cc5da`](thegeeklab/git-sv@a4cc5da))

</details>

<details>
<summary>igorshubovych/markdownlint-cli (markdownlint-cli)</summary>

### [`v0.47.0`](https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.47.0)

[Compare Source](igorshubovych/markdownlint-cli@v0.46.0...v0.47.0)

- Add output and exit code support for warnings
- Update `markdownlint` dependency to `0.40.0`
  - Improve `MD011`/`MD013`/`MD051`/`MD060`
- Update all dependencies via `Dependabot`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xOC4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsia2luZC9kZXBlbmRlbmN5Il19-->

Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/88
Reviewed-by: DaanSelen <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[Deps] migrate eslint-plugin-jest to @vitest/eslint-plugin

2 participants