@marcalexiei/biome-config
v3.0.0
Published
Custom BiomeJS config
Maintainers
Readme
@marcalexiei/biome-config
Getting started
Install required dependencies
npm install --save-dev @biomejs/biome @marcalexiei/biome-configCreate a
biome.jsonconfiguration file{ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "extends": ["@marcalexiei/biome-config/base"] }
[!NOTE] It turns out that when you “extend” a base config that only supplies linter.rules, you end up dropping the default
linter.domains: { project: "all" }, so youruseImportExtensionsnever actually runs on your files.Be sure to override them on your end
{ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "extends": ["@marcalexiei/biome-config/base"], "linter": { "domains": { "project": "all" } } }
Note about biome version
The configuration depends on the nursery rule group, which is experimental and may change between minor releases.
For this reason, the @biomejs/biome peerDependencies entry in package.json uses the Major.Minor.x version pattern.
Additional configs
There are additional configs that can be used:
reactcss
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": [
"@marcalexiei/biome-config/base",
"@marcalexiei/biome-config/react",
"@marcalexiei/biome-config/css",
]
}