Commit 15ca045
authored
feat(toolchain): adopt Biome, oxlint, attw; keep eslint-config-next + knip (#98)
Five-tool toolchain adoption ported from libredb-database and adapted to Studio:
Biome (formatter-only, lineWidth 120, CSS/JSON excluded), oxlint (fast syntactic linter in front of ESLint),
a narrow type-aware ESLint layer over eslint-config-next (Strategy A) scoped to api+db, knip (verified), and
@arethetypeswrong/cli (--profile node16). Fixes 5 floating-promise bugs plus a dead-fallback, a dropped
error cause, and a useless regex escape surfaced by the new linters. CI lint-and-build now also runs Biome
format, build:lib, and attw. Follow-ups (accessibility pass, pre-existing CodeQL/Sonar findings) tracked in #100.
Rationale: docs/TOOLCHAIN.md.1 parent 6f2bc63 commit 15ca045
470 files changed
Lines changed: 33449 additions & 31513 deletions
File tree
- .github/workflows
- docs
- e2e
- scripts
- src
- app
- admin
- api
- admin
- audit
- fleet-health
- ai
- autopilot
- chat
- describe-schema
- explain
- impact
- index-advisor
- nl2sql
- query-safety
- auth
- login
- logout
- me
- oidc
- callback
- login
- connections/managed
- db
- cancel
- disconnect
- health
- maintenance
- monitoring
- multi-query
- pool-stats
- profile
- provider-meta
- query
- schema-snapshot
- schema
- list
- relations
- test-connection
- transaction
- storage
- [collection]
- config
- migrate
- login
- monitoring
- components
- admin
- tabs
- icons
- monitoring
- tabs
- results-grid
- schema-explorer
- sidebar
- studio
- ui
- exports
- hooks
- lib
- api
- db
- providers
- document
- embedded
- keyvalue
- sql
- utils
- editor
- llm
- providers
- utils
- schema-diff
- seed
- sql
- ssh
- storage
- providers
- types
- workspace
- hooks
- tests
- api
- admin
- ai
- auth
- db
- seed
- storage
- components
- admin
- monitoring
- results-grid
- schema-explorer
- sidebar
- studio
- fixtures
- helpers
- hooks
- integration
- db
- seed
- storage
- isolated
- unit
- components
- db
- lib
- api
- storage
- providers
- llm
- schema-diff
- seed
- sql
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
| 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 | + | |
0 commit comments