biome is a fast TypeScript linter and formatter.
Use this shared config, based off
@thesis-co/eslint-config, to
keep our TypeScript tidy across Thesis projects!
Install the shared config....
pnpm add -D -E github:thesis/biome-config... and create your own biome.json.
{ "extends": ["@thesis-co/biome-config/biome"] }By default, *.ts and *.tsx files in src/ are linted and formatted. If
your project is laid out differently, you can add the files you need covered in
config. Thankfully, the files list is merged with the list provided by the
extended config.
{
"extends": ["@thesis-co/biome-config/biome"],
"files": { "includes": ["__test__/**/*.ts"] }
}