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

## Executive Summary (TL;DR)
Biome @biomejs/biome@2.4.2. Source highlight: Fixed #9098: `useImportType` no longer incorrectly flags imports used in Svelte control flow blocks (`{#if}`, `{#each}`, `{#await}`, `{#key}`) as type-only imports.

## New Features
- feat(migrate): more metadata for rules from `html-eslint`
- feat(lint): add Playwright ESLint rules

## Bug Fixes
- Fixed #9098: `useImportType` no longer incorrectly flags imports used in Svelte control flow blocks (`{#if}`, `{#each}`, `{#await}`, `{#key}`) as type-only imports.
- Updated rule source metadata for rules from `html-eslint`.
- Added the nursery rule `noConditionalExpect`. This rule disallows conditional `expect()` calls inside tests, which can lead to tests that silently pass when assertions never run.
- Added the nursery rule `noPlaywrightElementHandle`. Prefers locators to element handles.
- Added the nursery rule `noPlaywrightEval`. Disallows `page.$eval()` and `page.$$eval()` methods.
- Added the nursery rule `noPlaywrightForceOption`. Disallows the `force` option on user interactions.

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