2.2.7
Patch Changes
-
#7715
b622425
Thanks @Netail! - Added the nursery rulenoEmptySource
, disallowing meaningless js, css, json & graphql files to prevent codebase clutter. -
#7714
c7e5a14
Thanks @MeGaNeKoS! - Increased the maximum line limit for noExcessiveLinesPerFunction from 255 to 65,535 to better support large JSX/front-end components. -
#5868
2db73ae
Thanks @bushuai! - Fixed #5856,noRedundantUseStrict
now keeps leading trivia -
#7756
d665c97
Thanks @ematipico! - Improved the diagnostic message of the rulenoDuplicateTestHooks
.
What's Changed
- fix(deps): update dependency happy-dom to v20 [security] by @renovate[bot] in #7729
- chore(deps): update docker/dockerfile:1 docker digest to b6afd42 by @renovate[bot] in #7735
- perf: use the PathsMut API to watch/unwatch folders by @siketyan in #7750
- feat(lint): implement
noEmptySource
by @Netail in #7715 - docs: slight
useEmptySource
improvement by @Netail in #7757 - fix(noRedundantUseStrict): keeps leading trivia by @bushuai in #5868
- chore: add some Web Platform Tests testcases by @drwpow in #7135
- chore: accept snapshots that were failing CI by @dyc3 in #7767
- fix: detect inifinite loops caused by conflicting rule fixes by @dyc3 in #7732
- chore(deps): update dependency happy-dom to v20.0.2 [security] by @renovate[bot] in #7768
- fix(noDuplicateTestHooks): diagnostic message by @ematipico in #7756
- fix(no_excessive_lines_per_function): expand max_lines Range in NoExcessiveLinesPerFunctionOptions by @MeGaNeKoS in #7714
- ci: add CI workflow for trusted publishers for crates by @ematipico in #7769
- chore: improve rule templates by @Netail in #7781
- fix(workspace): unload plugin cache when project closes by @dyc3 in #7790
- chore(deps): update rust crate cfg-if to 1.0.4 by @renovate[bot] in #7793
- chore(deps): update rust crate globset to 0.4.17 by @renovate[bot] in #7794
- ci: use classic tokens for crate publishing by @ematipico in #7801
- chore(deps): update github-actions by @renovate[bot] in #7791
- chore(deps): update dependency vite to v7.1.11 [security] by @renovate[bot] in #7807
- Revert "fix(lint/useExhaustiveDependencies): correct fix for method calls" by @siketyan in #7810
- chore(deps): update pnpm to v10.19.0 by @renovate[bot] in #7739
- chore(deps): update dependency @types/node to v22.18.12 by @renovate[bot] in #7792
- ci: release by @github-actions[bot] in #7755
- chore: fix formatting and code of script by @ematipico in #7821
- test: ignore tests on macos by @ematipico in #7820
New Contributors
- @MeGaNeKoS made their first contribution in #7714
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.2.6...@biomejs/biome@2.2.7