@rio-cloud/biome-config-claid
v0.0.4
Published
Shared Biome config for Team CLAID
Downloads
733
Keywords
Readme
biome-config-claid
Shared Biome config for Team CLAID projects
Usage
Installation
npm install -D @biomejs/biome @rio-cloud/biome-config-claid
Add the extends
array to your project's biome.json
file:
// <project-root>/biome.json
{
// ...
"extends": ["@rio-cloud/biome-config-claid"],
// ...
}
Add scripts to your package.json
if you haven't already:
// <project-root>/package.json
{
//...
"scripts": {
"format": "biome format . --write",
"lint": "biome lint .",
"lint:fix": "biome lint . --write",
"lint:fix:unsafe": "biome lint . --write --unsafe"
}
// ...
}
remove eslint and prettier
As biome should be used for linting and formatting, you can remove eslint and prettier from your project
npm uninstall $(npm list --depth=0 --json | jq -r '.dependencies | keys[] | select(contains("eslint"))')