Commit d5cd0bc
committed
chore(dashboard): add Biome config for lint + format
Nested config ("root": false) so it coexists with packages/plugin/biome.json
in this Bun workspace monorepo. Dashboard uses 2-space indent matching its
existing code style (plugin uses 4-space).
Rules match the plugin where sensible:
- recommended rule set
- useConst: error, noForEach: off, noAssignInExpressions: off, noConsole: off
- noNonNullAssertion/noExplicitAny: warn
- noUnusedImports/noUnusedVariables: warn
Scope: packages/dashboard/src/**/*.{ts,tsx,js,jsx,css,json},
excluding .d.ts, dist/, src-tauri/target/.
Run locally:
./node_modules/.bun/@biomejs+cli-darwin-arm64@2.4.7/node_modules/\
@biomejs/cli-darwin-arm64/biome check packages/dashboard/src1 parent 49d4982 commit d5cd0bc
1 file changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments