@rio-cloud/biome-config-claid
v1.0.0
Published
Shared Biome config for Team CLAID
Keywords
Readme
biome-config-claid
Shared Biome config for Team CLAID projects
Usage
Installation
npm install -D @biomejs/biome @rio-cloud/biome-config-claidAdd 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": "npm run lint -- --write",
"lint:fix:unsafe": "npm run lint:fix -- --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"))')