Update dependency @vitest/eslint-plugin to v1.5.2
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @vitest/eslint-plugin | >=1.3.0 -> >=1.5.2 |
||
| @vitest/eslint-plugin | ^1.3.24 -> ^1.5.2 |
Release Notes
vitest-dev/eslint-plugin-vitest (@vitest/eslint-plugin)
v1.5.2
🐞 Bug Fixes
- Regression for valid-title and prefer-hooks-on-top when using test.scoped - by @y-hsgw in #836 (bdf8e)
View changes on GitHub
v1.5.1
🐞 Bug Fixes
- no-alias-methods: Align no-alias-methods rule with Vitest by aliasing toThrow to toThrowError - by @y-hsgw in #832 (4ea56)
View changes on GitHub
v1.5.0
🚀 Features
🐞 Bug Fixes
- consistent-test-it: Handle aliased Vitest imports when enforcing consistent test names - by @y-hsgw in #828 (54be6)
View changes on GitHub
What's Changed
- fix(consistent-test-it): Handle aliased Vitest imports when enforcing consistent test names by @y-hsgw in #828
- feat: Add rule to recommended Vitest ESLint config by @y-hsgw in #827
Full Changelog: https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.4.4...v1.5.0
v1.4.4
🚀 Features
- Adding
require-import-vi-mockrule - by @axel7083 in #820 (abdea) - Add rule consistent-each-for - by @figueiredoluiz in #826 (db570)
🐞 Bug Fixes
- expect-expect: Potential false positives for expect-expect and valid-title when using it.scoped - by @y-hsgw in #822 (765ee)
-
no-identical-title: FP when using
test.for- by @y-hsgw in #825 (962de)
View changes on GitHub
What's Changed
- fix(expect-expect): Potential false positives for expect-expect and valid-title when using it.scoped by @y-hsgw in #822
- feat: adding
require-import-vi-mockrule by @axel7083 in #820 - docs(prefer-equality-matcher): correct (e)quality typo in description by @JoshuaKGoldberg in #824
- fix(no-identical-title): FP when using
test.forby @y-hsgw in #825 - feat: add rule consistent-each-for by @figueiredoluiz in #826
New Contributors
- @axel7083 made their first contribution in #820
- @figueiredoluiz made their first contribution in #826
Full Changelog: https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.4.3...v1.4.4
v1.4.3
🐞 Bug Fixes
- prefer-called-exactly-once-with: Preserve TypeScript generic parameters - by @G-Rath in #818 (2e3e9)
View changes on GitHub
v1.4.2
🚀 Features
- Add rule
require-awaited-expect-poll- by @StyleShit in #817 (ebf57)
View changes on GitHub
What's Changed
- refactor: Enforce no-unsafe-optional-chaining as an Error by @y-hsgw in #816
- feat: add rule
require-awaited-expect-pollby @StyleShit in #817
New Contributors
- @StyleShit made their first contribution in #817
Full Changelog: https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.4.1...v1.4.2
v1.4.1
No significant changes
View changes on GitHub
v1.4.0
🐞 Bug Fixes
- Add
describe.forchains - by @paescuj in #808 (97702) - Workaround for plugin type - by @paescuj in #811 (30053)
- Make
.extendexclusive, add.scoped- by @paescuj in #809 (70708) - no-done-callback: Remove rule from 'all' list - by @paescuj in #807 (20e53)
View changes on GitHub
v1.3.26
🐞 Bug Fixes
- Dynamically require typescript - by @paescuj in #803 (2ff2d)
-
no-done-callback: False positive when using
.for- by @paescuj in #804 (a3ab8)
View changes on GitHub
v1.3.25
🐞 Bug Fixes
View changes on GitHub
v1.3.24
🐞 Bug Fixes
View changes on GitHub
v1.3.23
No significant changes
View changes on GitHub
v1.3.22
No significant changes
View changes on GitHub
v1.3.20
🐞 Bug Fixes
- Correct and align retrievement of rule options - by @paescuj in veritem#785 (9648b)
View changes on GitHub
v1.3.19
🐞 Bug Fixes
-
prefer-called-exactly-once-with: Check for
toHaveBeenCalledOnce- by @paescuj in veritem#784 (44646)
View changes on GitHub
v1.3.18
🐞 Bug Fixes
- prefer-called-exactly-once-with: Detect mock resets between assertions - by @y-hsgw in veritem#780 (0ccaf)
View changes on GitHub
v1.3.17
🐞 Bug Fixes
- prefer-called-exactly-once-with: Incorrect auto-fix behavior - by @y-hsgw in veritem#778 (6229b)
View changes on GitHub
v1.3.16
🐞 Bug Fixes
- Correct fixer for prefer-called-exactly-once-with - by @WikiRik in veritem#774 (64ef8)
View changes on GitHub
v1.3.15
No significant changes
View changes on GitHub
v1.3.14
🚀 Features
- Reintroduce rule for prefer-called-exactly-once-with in alignment with Vitest 3.0.0 - by @y-hsgw in veritem#772 (4e7df)
View changes on GitHub
v1.3.13
🐞 Bug Fixes
- Correct typo in ForExample by adding space - by @lonewolfyx in veritem#764 (a92bf)
-
docs:
- Fix syntax errors padding-around-describe-blocks.md - by @NoiseFan in veritem#760 (21cef)
- Fix syntax errors padding-around-test-blocks.md - by @lonewolfyx in veritem#762 (76063)
- Add missing parentheses in test case - by @snowbitx in veritem#763 (29cd6)
- Fixed function signature in rule example - by @NoiseFan in veritem#765 (ef5d5)
View changes on GitHub
v1.3.12
🐞 Bug Fixes
- Type definitions - by @aryaemami59 in veritem#736 (92195)
View changes on GitHub
v1.3.10
🐞 Bug Fixes
- valid-title: Detect accidental whitespace in titles with type-checking enabled - by @y-hsgw in veritem#758 (a7e97)
View changes on GitHub
v1.3.9
🐞 Bug Fixes
- Hoisted-apis-on-top false positives - by @Q16solver in veritem#753 (ecd42)
View changes on GitHub
v1.3.8
No significant changes
View changes on GitHub
v1.3.7
🚀 Features
- Add rule hoisted-api-on-top - by @kirkwaiblinger in veritem#750 (4defb)
View changes on GitHub
v1.3.6
🚀 Features
- Prefer expectTypeOf - by @hbc1729 in veritem#749 (7e695)
View changes on GitHub
v1.3.5
Bug Fixes
Features
What's Changed
- fix(docs): fix incorrect rule name in vitest/require-mock-type-parameters example by @sceee in #740
- feat(prefer-describe-function-title): Check for unnecessary .name by @y-hsgw in #744
- fix(build): add missing @typescript-eslint/scope-manager dependency by @y-hsgw in #747
- chore(eslint): migrate to typescript-eslint and apply recommended config by @y-hsgw in #746
New Contributors
Full Changelog: https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.3.4...v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.