@derived-modular/biome-plugin
v1.2.2
Published
Biome GritQL plugins for Derived Modular Architecture
Maintainers
Readme
@derived-modular/biome-plugin
Best-effort DMA rules for Biome (GritQL). Not a substitute for @derived-modular/cli (dma check).
Same four concerns as ESLint, but pattern-based — no import resolution, no @derived-modular/boundaries. Prefer @derived-modular/eslint-plugin when you can.
Architecture: DMA spec.
Install
npm install -D @derived-modular/biome-pluginUsage
{
"extends": ["@derived-modular/biome-plugin"]
}Limitations
- Plugin paths resolve from the project root (
./node_modules/@derived-modular/biome-plugin/...) — works with flatnode_modules(npm/bun); fragile in some monorepo / PnP layouts until Biome improves shared-config plugin resolution. - Heuristics only:
@/and relative path patterns, no full tsconfig alias support. - No graph rules (
no-cycle, inbound predicates).
Coverage
| Concern | Biome | ESLint | dma check |
| --- | --- | --- | --- |
| layer-direction | heuristic | yes | yes |
| feature-to-feature | heuristic | yes | yes |
| public-api | heuristic | yes | yes |
| no-barrel | heuristic | yes | yes |
| no-cycle / inbound | no | no | yes |
Local development
cd packages/biome-plugin
bun testLicense
MIT
