October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

Set Up Biome for Strict TypeScript Linting and Formatting

Set up Biome as a pinned TypeScript development dependency, configure its formatter and linter, run checks locally and in CI, and avoid conflicts with existing editor tools.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To set up Biome for TypeScript, install it as a pinned development dependency, create a project configuration, and use biome check locally and in CI. Biome groups TypeScript with JavaScript under the javascript configuration key. It can provide a unified linting and formatting workflow, but it does not reproduce every ESLint rule or configuration, so treat a switch from ESLint and Prettier as a reviewed migration rather than a drop-in replacement.

Install Biome in the TypeScript project

Run the command for your package manager from the project root. The official quick start uses exact-version pinning so contributors and CI install the same release:

As an Amazon Associate I earn from qualifying purchases.

  • npm i -D -E @biomejs/biome
  • pnpm add -D -E @biomejs/biome
  • bun add -D -E @biomejs/biome
  • yarn add -D -E @biomejs/biome
  • For Deno: deno add -D npm:@biomejs/biome

Keep the resulting lockfile in version control. The installation options and pinning guidance are in the Biome quick start.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create and review the project configuration

Initialize Biome in the repository root with your package manager’s equivalent of biome init. The generated biome.json configuration enables Biome’s formatter, linter, and assist actions. Biome can run without a configuration file, but a project-level config gives CLI runs and editor integrations a shared source of settings.

#1 Best Overall
Dell Optiplex 3060 Desktop Computer | Intel i5-8500 (3.2) | 32GB DDR4 RAM | 1TB SSD Solid State | Built in WiFi | Bluetooth | Windows 11 Professional | Home or Office PC (Renewed)
  • [INTEL POWERED CONTENT] - Built with a 8th Generation Hexa-Core Intel i5 and 32GB of DDR4 RAM; Modern, Windows 11 ready, with 4K support, Executive multitasking, media streaming and smooth, multi-tab web browsing; Perfect as an all-purpose multimedia computer; built for content creators; Plenty of RAM and Mass storage for photo and video editing powered by Intel HD 630
  • [LATEST WIRELESS TECH] - This Dell Desktop Computer easily connects to the internet through the Built In WiFi / Bluetooth
  • [SOLID STATE STORAGE] - This Dell Computer setup comes with an ultra-fast 1TB Solid State Drive (SSD); Setup as the primary boot device; Boot and load programs with lightning speed ; Additional expansion available
  • [BUY & OWN WITH CONFIDENCE] - From the world's largest Microsoft Authorized Refurbisher; Quality Guarantee and Free Tech Support; Award-winning Customer Service; | Support Sustainable Business
  • [MODERN HI-SPEED PORTS] - USB 3.0 (x4) | USB 2.0 (x4) | DisplayPort (x1) | HDMI Port (x1) | Audio Combo Jack (x1) | Audio Out (x1) | RJ-45 Ethernet (x1) | Internal SATA (x3)

TypeScript is configured under javascript, because Biome uses that namespace for JavaScript variants including TypeScript, JSX, and TSX. Configuration can be stored in biome.json or biome.jsonc. Review the generated settings against the installed release and your team’s conventions instead of assuming they match an existing style automatically. The configuration guide explains project configuration and file selection; the configuration reference documents available options.

Use files.includes to scope files across formatter, linter, and assist. Individual tools can further narrow their own processing. For rule configuration, the current reference uses linter.rules.preset; the older linter.rules.recommended boolean is deprecated for removal in a future major version. When possible, point editor schema completion at the schema shipped with the locally installed package so suggestions correspond to that version.

Check files and apply fixes deliberately

Use the non-writing command first to see what Biome reports:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Dell Pro Tower Desktop Computers, Intel 20-Core i7-14700, 16GB RAM, 1TB SSD
  • POWERHOUSE FOR MULTITASKING - Intel Core i7-14700 processor with 20-cores and 28-threads delivers exceptional multitasking for running multiple IDEs, virtual machines, Docker containers, and compiling large codebases simultaneously. Whether you're running complex data analytics, managing virtual machines, or handling heavy multitasking, the 33MB cache and hybrid core design ensure seamless workflow efficiency and responsive performance right out of the box.
  • BUILT FOR BUSINESS PROFESSIONALS - Windows 11 Pro provides enterprise-grade security features, BitLocker encryption, and remote desktop capabilities essential for corporate environments. Dual 4K monitor support enables efficient workflow management with multiple applications, spreadsheets, presentations, and communication tools visible simultaneously.
  • OPTIMIZED FOR REMOTE WORK SUCCESS - USB-C connectivity and comprehensive port selection ensure seamless integration with modern peripherals, webcams, and docking stations. The reliable tower design ensures stable performance during video conferences, collaborative sessions, and deadline-driven projects. Please note: This system does not include built-in Wi-Fi
  • PROFESSIONAL-GRADE PERFORMANCE - 16GB DDR5 RAM ensures smooth performance when working with memory-intensive development tools and databases. 1TB PCIe SSD delivers lightning-fast data access for quick application launches, rapid file transfers, and efficient project management. Perfect for running resource-intensive business applications, data analysis tools, financial modeling software, and creative suites without performance bottlenecks.
  • ENTERPRISE RELIABILITY - Dell Pro quality construction ensures long-term dependability for mission-critical business operations.
npx biome check .

To apply formatting, safe lint fixes, and assist actions, run:

npx biome check --write .

Replace npx with the equivalent invocation for your package manager if needed. A write run does not resolve every diagnostic: issues without a safe automatic fix still need developer attention. Review the resulting diff before committing, especially when adopting Biome in a codebase with established formatting conventions.

Run Biome in CI

Add a CI job that installs dependencies from the lockfile, then run Biome’s CI-oriented check command:

Rank #3
HP EliteBook 6 G1i Business Laptop Computer, Intel Ultra 7 255U, 16" FHD+
  • AI-Powered Performance – Intel Core Ultra 7 255U processor (up to 5.2 GHz, 12 cores, 14 threads) with 11 TOPS NPU delivers responsive multitasking and handles demanding AI workloads with ease.
  • Stunning 16" Display – WUXGA (1920x1200) anti-glare IPS screen with 400 nits brightness and Low Blue Light technology provides comfortable viewing for extended work sessions.
  • Professional Collaboration Tools – 5MP IR camera with Windows Hello, Poly Studio-tuned speakers with AI Noise Reduction, and dual-array microphones ensure crystal-clear video calls and meetings.
  • Storage & Memory – 16GB DDR5 RAM and 256GB PCIe NVMe SSD provide fast performance and plenty of space for files, applications, and multitasking.This bundle comes with a 500GB portable hard drive set, providing you with additional storage space anytime and anywhere. Just plug it in and you can start saving photos, videos, music, and documents. It's compact and lightweight, making it easy to carry.
  • Business-Ready – Windows 11 Pro with Microsoft Copilot, backlit spill-resistant keyboard with numeric keypad, fingerprint reader, Thunderbolt 4 ports, Wi-Fi 6E, and lightweight 3.86 lb design for portability, long battery life and fast charging.
npx biome ci .

This makes CI enforce checks without relying on a developer’s editor save action to format files. Use the same pinned dependency as local development so the CI result follows the repository’s installed Biome release. The quick start documents the install, initialization, and check workflow.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Make Biome the editor formatter

Biome’s language server can provide diagnostics, formatting, and assist actions in the editor. The official editor guide lists maintained integrations for VS Code, Zed, and IntelliJ; Helix can connect directly, while integrations for other editors are community maintained. See Biome’s editor setup guide for the integration instructions.

VS Code

  1. Install the Biome extension and open the project containing the Biome configuration.
  2. In VS Code settings, select Biome as the default formatter for the supported files you want it to handle.
  3. Enable format on save if that matches your workflow.
  4. If you are moving from ESLint and Prettier, disable or uninstall their editor extensions, or otherwise prevent them from formatting the same files on save.

Two formatters acting on save can produce conflicting changes or repeated rewrites. Make Biome the single formatter for the files it owns, while retaining other tooling only where it is still needed.

Rank #4
Dell Optiplex 3050 SFF Desktop Computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD, WiFi, 4K Support, DP, HDMI, Windows 11 Pro 64 Bit (Renewed)
  • This Certified Refurbished product is tested and certified to look and work like new. The refurbishing process includes functionality testing, basic cleaning, inspection, and repackaging. The product ships with all relevant accessories, a minimum 90-day warranty, and may arrive in a generic box. Only select sellers who maintain a high-performance bar may offer Certified Refurbished products on Amazon.com.
  • Dell Optiplex 3050 SFF Desktop computer PC, Intel Quad Core i5-6500 up to 3.6GHz, 16GB DDR4, 256GB SSD
  • Includes: USB Keyboard & Mouse, USB WiFi adapter, Microsoft office 30 days free trail.
  • Port: Front: USB 3.0(2), USB 2.0(2); Rear: DP, HDMI, USB 3.0(2), USB 2.0(2), RJ-45.
  • Support 4K (3840x2160) Dual display, makes it easy to connect two monitors at the same time, and you can expand working Windows, mirror content, or expand a single window across multiple monitors.

Migrate from ESLint and Prettier without assuming parity

Biome offers migration guidance, but its behavior is not identical to every ESLint and Prettier setup. Some ESLint rule options are not implemented or differ from ESLint, and some shared configurations can fail if they expose cyclic references. The migration guide also notes that the Prettier migration command requires Node.js to load JavaScript configuration and does not support configuration written in JSON5, TOML, or YAML. It recommends enabling VCS integration because ESLint and Prettier use VCS ignore files. See Biome’s ESLint and Prettier migration guide.

A practical transition is to make the change on a branch, inspect the generated configuration and diagnostics, and run checks across the files the project intends to include. Decide whether any existing ESLint plugins or rules still provide behavior Biome does not cover, and retain those tools if necessary. Compare the options on rule and plugin coverage, formatter compatibility, migration effort, and editor and CI integration; the cited guidance does not establish a universal winner or quantified performance advantage.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.