Single package of shared Yearn tooling configs. Install once; pull Biome / TypeScript presets via package exports.
bun add -d yearn-configs@github:yearn/yearn-configs#v0.2.0 @biomejs/biome@2.5.4Or pin a commit:
bun add -d yearn-configs@git+https://github.com/yearn/yearn-configs.git#<sha> @biomejs/biome@2.5.4biome.json:
{
"$schema": "https://biomejs.dev/schemas/2.5.4/schema.json",
"extends": ["yearn-configs/biome.json"]
}{
"$schema": "https://biomejs.dev/schemas/2.5.4/schema.json",
"extends": ["yearn-configs/react.json"]
}Aliases: yearn-configs/biome, yearn-configs/biome/react, yearn-configs/react.
Pin @biomejs/biome to 2.5.4 (matches schema).
{
"scripts": {
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
}
}tsconfig.json:
{
"extends": "yearn-configs/tsconfig.json",
"include": ["src"]
}Alias: yearn-configs/tsconfig.
Override any compilerOptions after extends as needed.
| Export | File |
|---|---|
yearn-configs/biome / yearn-configs/biome.json |
biome.json |
yearn-configs/react / yearn-configs/biome/react / yearn-configs/react.json |
react.json |
yearn-configs/tsconfig / yearn-configs/tsconfig.json |
tsconfig.json |
On push to main, CI creates GitHub Release v{version} from root package.json if missing.
Bump version → merge to main → tag lands.