antfu/eslint-config (@antfu/eslint-config)
### [`v2.23.0`](https://togithub.com/antfu/eslint-config/releases/tag/v2.23.0)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.4...v2.23.0)
##### 🚀 Features
- Introduce `type` options, enable `ts/explicit-function-return-type` for `lib` - by [@antfu](https://togithub.com/antfu) [(3dd7b)](https://togithub.com/antfu/eslint-config/commit/3dd7b57)
##### 🐞 Bug Fixes
- Enable `eslint-config-flat-gitignore` even if `.gitignore` is not in cwd - by [@lachlancollins](https://togithub.com/lachlancollins) in [https://github.com/antfu/eslint-config/issues/547](https://togithub.com/antfu/eslint-config/issues/547) [(c118b)](https://togithub.com/antfu/eslint-config/commit/c118b46)
- Use a fork of `eslint-plugin-unused-imports` - by [@antfu](https://togithub.com/antfu) [(79442)](https://togithub.com/antfu/eslint-config/commit/7944244)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.4...v2.23.0)
### [`v2.22.4`](https://togithub.com/antfu/eslint-config/releases/tag/v2.22.4)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.3...v2.22.4)
##### 🐞 Bug Fixes
- **typescript**: Remove string\[] from tsconfigPath as not supported in v8 - by [@RayGuo-ergou](https://togithub.com/RayGuo-ergou) in [https://github.com/antfu/eslint-config/issues/545](https://togithub.com/antfu/eslint-config/issues/545) [(8c9e3)](https://togithub.com/antfu/eslint-config/commit/8c9e3a6)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.3...v2.22.4)
### [`v2.22.3`](https://togithub.com/antfu/eslint-config/releases/tag/v2.22.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.2...v2.22.3)
##### 🐞 Bug Fixes
- Add `.svelte-kit` to ignored paths - by [@lachlancollins](https://togithub.com/lachlancollins) in [https://github.com/antfu/eslint-config/issues/542](https://togithub.com/antfu/eslint-config/issues/542) [(94fd0)](https://togithub.com/antfu/eslint-config/commit/94fd0f5)
- TsconifgPath configuration - by [@vaiil](https://togithub.com/vaiil) in [https://github.com/antfu/eslint-config/issues/541](https://togithub.com/antfu/eslint-config/issues/541) [(e1a9d)](https://togithub.com/antfu/eslint-config/commit/e1a9dbe)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.2...v2.22.3)
vitest-dev/vitest (@vitest/coverage-v8)
### [`v2.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)
##### 🚀 Features
- **ui**: Show all suites/tests when parent matches - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6106](https://togithub.com/vitest-dev/vitest/issues/6106) [(840e0)](https://togithub.com/vitest-dev/vitest/commit/840e02f1)
##### 🐞 Bug Fixes
- `--inspect-brk` stop on Windows - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6110](https://togithub.com/vitest-dev/vitest/issues/6110) [(f8519)](https://togithub.com/vitest-dev/vitest/commit/f851982e)
- **browser**:
- Don't import from "vite" - by [@sheremet-va](https://togithub.com/sheremet-va) [(35655)](https://togithub.com/vitest-dev/vitest/commit/35655419)
- Allow immidiate reinvalidation of mocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6108](https://togithub.com/vitest-dev/vitest/issues/6108) [(f44cc)](https://togithub.com/vitest-dev/vitest/commit/f44cc917)
- **spy**:
- Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6086](https://togithub.com/vitest-dev/vitest/issues/6086) [(e9f9a)](https://togithub.com/vitest-dev/vitest/commit/e9f9adcd)
- **vite-node**:
- Remove suffix slash on file protocol for window - by [@syi0808](https://togithub.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/6109](https://togithub.com/vitest-dev/vitest/issues/6109) [(93ebd)](https://togithub.com/vitest-dev/vitest/commit/93ebdefc)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)
typicode/husky (husky)
### [`v9.1.1`](https://togithub.com/typicode/husky/releases/tag/v9.1.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1)
*Super saiyan ~~god~~ dog! It's over 9.0.0!*
### What's new
You can now run package commands directly, no need for `npx` or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️
```diff
### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster
```
A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.
```shell
### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
```
For more advanced use cases, see [lint-staged](https://togithub.com/lint-staged/lint-staged).
### Fixes
- `bunx husky init` command
- Workaround for some hooks implementation on Windows
### Deprecations
- `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` are deprecated. **`husky` command will automatically remove them, no action required.**
- If you're having code in `~/.huskyrc` please move it to `.config/husky/init.sh`
Support for these will be removed in v10.
### Friendly reminder
If Git hooks don't fit your workflow, you can disable Husky globally. Just add `export HUSKY=0` to `.config/husky/init.sh`.
I've seen some confusion about this on X, so just a heads-up!
### Sponsoring
Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: [GitHub Sponsors](https://togithub.com/sponsors/typicode).
**Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉**
### [`v9.1.0`](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)
vitejs/vite (vite)
### [`v5.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small534-2024-07-16-small)
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.3...v5.3.4)
- fix: update Terser type definitions (fix [#17668](https://togithub.com/vitejs/vite/issues/17668)) ([#17669](https://togithub.com/vitejs/vite/issues/17669)) ([b723a75](https://togithub.com/vitejs/vite/commit/b723a75)), closes [#17668](https://togithub.com/vitejs/vite/issues/17668) [#17669](https://togithub.com/vitejs/vite/issues/17669)
- fix(build): skip preload treeshaking for nested braces ([#17687](https://togithub.com/vitejs/vite/issues/17687)) ([4be96b4](https://togithub.com/vitejs/vite/commit/4be96b4)), closes [#17687](https://togithub.com/vitejs/vite/issues/17687)
- fix(css): include `.css?url` in assets field of manifest ([#17623](https://togithub.com/vitejs/vite/issues/17623)) ([1465b20](https://togithub.com/vitejs/vite/commit/1465b20)), closes [#17623](https://togithub.com/vitejs/vite/issues/17623)
- fix(worker): nested inlined worker always fallbacked to data URI worker instead of using blob worker ([07bc489](https://togithub.com/vitejs/vite/commit/07bc489)), closes [#17509](https://togithub.com/vitejs/vite/issues/17509)
- refactor: replace includes with logical operations ([#17620](https://togithub.com/vitejs/vite/issues/17620)) ([c4a2227](https://togithub.com/vitejs/vite/commit/c4a2227)), closes [#17620](https://togithub.com/vitejs/vite/issues/17620)
- chore: add callback to http-proxy.d.ts jsdoc ([#17646](https://togithub.com/vitejs/vite/issues/17646)) ([d8a5d70](https://togithub.com/vitejs/vite/commit/d8a5d70)), closes [#17646](https://togithub.com/vitejs/vite/issues/17646)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^2.22.2
->^2.23.0
^20.14.10
->^20.14.11
^2.0.2
->^2.0.3
^9.0.11
->^9.1.1
^5.3.3
->^5.3.4
^2.0.2
->^2.0.3
Release Notes
antfu/eslint-config (@antfu/eslint-config)
### [`v2.23.0`](https://togithub.com/antfu/eslint-config/releases/tag/v2.23.0) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.4...v2.23.0) ##### 🚀 Features - Introduce `type` options, enable `ts/explicit-function-return-type` for `lib` - by [@antfu](https://togithub.com/antfu) [(3dd7b)](https://togithub.com/antfu/eslint-config/commit/3dd7b57) ##### 🐞 Bug Fixes - Enable `eslint-config-flat-gitignore` even if `.gitignore` is not in cwd - by [@lachlancollins](https://togithub.com/lachlancollins) in [https://github.com/antfu/eslint-config/issues/547](https://togithub.com/antfu/eslint-config/issues/547) [(c118b)](https://togithub.com/antfu/eslint-config/commit/c118b46) - Use a fork of `eslint-plugin-unused-imports` - by [@antfu](https://togithub.com/antfu) [(79442)](https://togithub.com/antfu/eslint-config/commit/7944244) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.4...v2.23.0) ### [`v2.22.4`](https://togithub.com/antfu/eslint-config/releases/tag/v2.22.4) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.3...v2.22.4) ##### 🐞 Bug Fixes - **typescript**: Remove string\[] from tsconfigPath as not supported in v8 - by [@RayGuo-ergou](https://togithub.com/RayGuo-ergou) in [https://github.com/antfu/eslint-config/issues/545](https://togithub.com/antfu/eslint-config/issues/545) [(8c9e3)](https://togithub.com/antfu/eslint-config/commit/8c9e3a6) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.3...v2.22.4) ### [`v2.22.3`](https://togithub.com/antfu/eslint-config/releases/tag/v2.22.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.22.2...v2.22.3) ##### 🐞 Bug Fixes - Add `.svelte-kit` to ignored paths - by [@lachlancollins](https://togithub.com/lachlancollins) in [https://github.com/antfu/eslint-config/issues/542](https://togithub.com/antfu/eslint-config/issues/542) [(94fd0)](https://togithub.com/antfu/eslint-config/commit/94fd0f5) - TsconifgPath configuration - by [@vaiil](https://togithub.com/vaiil) in [https://github.com/antfu/eslint-config/issues/541](https://togithub.com/antfu/eslint-config/issues/541) [(e1a9d)](https://togithub.com/antfu/eslint-config/commit/e1a9dbe) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.22.2...v2.22.3)vitest-dev/vitest (@vitest/coverage-v8)
### [`v2.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3) ##### 🚀 Features - **ui**: Show all suites/tests when parent matches - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6106](https://togithub.com/vitest-dev/vitest/issues/6106) [(840e0)](https://togithub.com/vitest-dev/vitest/commit/840e02f1) ##### 🐞 Bug Fixes - `--inspect-brk` stop on Windows - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6110](https://togithub.com/vitest-dev/vitest/issues/6110) [(f8519)](https://togithub.com/vitest-dev/vitest/commit/f851982e) - **browser**: - Don't import from "vite" - by [@sheremet-va](https://togithub.com/sheremet-va) [(35655)](https://togithub.com/vitest-dev/vitest/commit/35655419) - Allow immidiate reinvalidation of mocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6108](https://togithub.com/vitest-dev/vitest/issues/6108) [(f44cc)](https://togithub.com/vitest-dev/vitest/commit/f44cc917) - **spy**: - Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6086](https://togithub.com/vitest-dev/vitest/issues/6086) [(e9f9a)](https://togithub.com/vitest-dev/vitest/commit/e9f9adcd) - **vite-node**: - Remove suffix slash on file protocol for window - by [@syi0808](https://togithub.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/6109](https://togithub.com/vitest-dev/vitest/issues/6109) [(93ebd)](https://togithub.com/vitest-dev/vitest/commit/93ebdefc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3)typicode/husky (husky)
### [`v9.1.1`](https://togithub.com/typicode/husky/releases/tag/v9.1.1) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1)vitejs/vite (vite)
### [`v5.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small534-2024-07-16-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.3...v5.3.4) - fix: update Terser type definitions (fix [#17668](https://togithub.com/vitejs/vite/issues/17668)) ([#17669](https://togithub.com/vitejs/vite/issues/17669)) ([b723a75](https://togithub.com/vitejs/vite/commit/b723a75)), closes [#17668](https://togithub.com/vitejs/vite/issues/17668) [#17669](https://togithub.com/vitejs/vite/issues/17669) - fix(build): skip preload treeshaking for nested braces ([#17687](https://togithub.com/vitejs/vite/issues/17687)) ([4be96b4](https://togithub.com/vitejs/vite/commit/4be96b4)), closes [#17687](https://togithub.com/vitejs/vite/issues/17687) - fix(css): include `.css?url` in assets field of manifest ([#17623](https://togithub.com/vitejs/vite/issues/17623)) ([1465b20](https://togithub.com/vitejs/vite/commit/1465b20)), closes [#17623](https://togithub.com/vitejs/vite/issues/17623) - fix(worker): nested inlined worker always fallbacked to data URI worker instead of using blob worker ([07bc489](https://togithub.com/vitejs/vite/commit/07bc489)), closes [#17509](https://togithub.com/vitejs/vite/issues/17509) - refactor: replace includes with logical operations ([#17620](https://togithub.com/vitejs/vite/issues/17620)) ([c4a2227](https://togithub.com/vitejs/vite/commit/c4a2227)), closes [#17620](https://togithub.com/vitejs/vite/issues/17620) - chore: add callback to http-proxy.d.ts jsdoc ([#17646](https://togithub.com/vitejs/vite/issues/17646)) ([d8a5d70](https://togithub.com/vitejs/vite/commit/d8a5d70)), closes [#17646](https://togithub.com/vitejs/vite/issues/17646)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Hywax Assistant.