# Biome @biomejs/biome@2.2.7 — Release & Upgrade Intelligence
- **Product:** Biome (https://biomejs.dev)
- **Version:** @biomejs/biome@2.2.7
- **Released:** Oct 22, 2025
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/biome/updates/biomejs-biome-2.2.7/

## Executive Summary (TL;DR)
Biome @biomejs/biome@2.2.7. Source highlight: Added the nursery rule `noEmptySource`, disallowing meaningless js, css, json & graphql files to prevent codebase clutter.

## New Features
- feat(lint): implement `noEmptySource`
- chore: add some Web Platform Tests testcases
- ci: add CI workflow for trusted publishers for crates

## Improvements
- perf: use the PathsMut API to watch/unwatch folders
- docs: slight `useEmptySource` improvement
- chore: improve rule templates

## Bug Fixes
- Added the nursery rule `noEmptySource`, disallowing meaningless js, css, json & graphql files to prevent codebase clutter.
- Increased the maximum line limit for noExcessiveLinesPerFunction from 255 to 65,535 to better support large JSX/front-end components.
- Fixed #5856, `noRedundantUseStrict` now keeps leading trivia
- Improved the diagnostic message of the rule `noDuplicateTestHooks`.
- fix(deps): update dependency happy-dom to v20 [security] by @renovate[bot] in https://github.com/biomejs/biome/pull/7729
- fix(noRedundantUseStrict): keeps leading trivia

## Upgrade Command
```bash
npm install --save-dev --save-exact @biomejs/biome@2.2.7
```
