Skip to content

Tim-W-James/biome-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biome Config

Opinionated Biome config that enables additional rules over the recommended config. Emphasis on rules that encourage consistency, safety and readability across your code base.

Install

npm

npm install -D @tim-w-james/biome-config

yarn

yarn add -D @tim-w-james/biome-config

pnpm

pnpm add -D @tim-w-james/biome-config 

install-peerdeps

npx install-peerdeps --dev @tim-w-james/biome-config

Usage

Add to your biome.json config:

{
  "$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
+ "extends": ["@tim-w-james/biome-config/biome"]
}

Ecosystem

Biome is intended to be all-encompassing, but I've refined this config for use with:

  • TypeScript
  • React
  • Next
  • Jest/Vitest
  • Playwright
  • JSDoc

Note that in some cases, experimental "nursery" rules have been enabled. These may be unstable, and it is recommended to stick with the Biome version specified in the peerDependencies.

Contributors