Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/biome-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Significa's shared [Biome](https://biomejs.dev) configuration.
- Space indent, line width 100.
- `organizeImports` on (alphabetical, named-imports sorted, preserves blank-line groups).
- `console.*` warns (not error — so it doesn't fail CI; bump per-project if you want).
- `noFloatingPromises` errors — catches unhandled async calls (a common AI-generated bug).
- `noExcessiveCognitiveComplexity` warns at threshold 25 — catches god-functions without being pedantic.
- Build/cache directories ignored: `.astro`, `.output`, `.vite`, `.next`, `dist`, `build`, `coverage`, `node_modules`.

## Install
Expand Down
9 changes: 9 additions & 0 deletions packages/biome-config/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@
"recommended": true,
"suspicious": {
"noConsole": "warn"
},
"nursery": {
"noFloatingPromises": "error"
},
"complexity": {
"noExcessiveCognitiveComplexity": {
"level": "warn",
"options": { "maxAllowedComplexity": 25 }
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/biome-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@significa/biome-config",
"version": "0.1.0",
"version": "0.2.0",
"description": "Significa's shared Biome configuration.",
"license": "MIT",
"repository": {
Expand Down
Loading