@krakentech/biome-config
2.0.0
Major Changes
- 86420c0:
@biomejs/biomeis now listed as a peer-dependency of the package. The version is strictly set to "2.2.2" to prevent errors caused by mismatches JSON schema versions.
1.2.0
Minor Changes
-
8431e98: Biome now scans all supported files by default. It automatically ignores unknown file types, anything inside
publicfolders, and everything listed in.gitignore.Assist actions are disabled for all
package.jsonfiles to avoid unwanted key reordering. Other lint rules will still apply.
1.1.0
Minor Changes
- 0b0b3eb: Add
vcsproperties to exclude files and folders specified by.gitignore.
1.0.0
Major Changes
-
730b3d7: # @krakentech/biome-config
This package provides a shared Biome configuration for Kraken projects.
Usage
To use
@krakentech/biome-config, you need to install it in your project:pnpm i -D @biomejs/biome @krakentech/biome-configThen, create a
biome.jsonfile in the root of your project and extend the shared configuration:{
"extends": "@krakentech/biome-config",
"files": {
"includes": [
"**/*.{js,mjs,jsx,ts,tsx,mts,json,css,scss}",
"!package.json",
"!**/*.d.ts",
"!**/node_modules/**",
"!**/.next/**"
]
}
}Finally, update your
package.jsonscripts to include Biome commands:{
"scripts": {
"lint": "biome check . --diagnostic-level=error",
"lint:complete": "biome check . --max-diagnostics=none",
"lint:fix": "biome check . --write --diagnostic-level=error",
"lint:report": "biome check . --max-diagnostics=0 --reporter=summary"
}
}