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
31 changes: 1 addition & 30 deletions .loc.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@
{
"exceptions": {
"apps/playground/src/App.tsx": {
"max": 3413,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"apps/playground/src/mining-pages.tsx": {
"max": 720,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"packages/ui/src/blocks/campaign-schedule-matrix.tsx": {
"max": 994,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"packages/ui/src/blocks/creator-transfer.tsx": {
"max": 626,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"packages/ui/src/blocks/navigation-panel.tsx": {
"max": 1349,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"packages/ui/src/components/line-item-graph.tsx": {
"max": 896,
"reason": "Existing component and demo responsibilities; extract cohesive modules in the follow-up refactor. No growth."
},
"tests/e2e/qualification.spec.ts": {
"max": 1540,
"reason": "Existing browser qualification scenarios; split by tested feature in the follow-up refactor. No growth."
}
},
"exceptions": {},
"excluded": {}
}
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ This repo is the shared `@nextide/ui` package. The playground exists only as a l
- Do not assume backwards compatibility. If compatibility expectations are unclear, ask before locking the direction.
- Never write product decisions, implementation details, API routing, fallback mechanics, or other internal plumbing into user-facing or agent-facing text. UI copy, notices, docs, prompts, labels, and tool messages should describe the user goal, required action, or visible state, not how the system is internally wired.

Use `just setup` and `just check` for the shared development baseline; see README.md for focused tests and browser prerequisites. Keep named LOC budgets and function debt exceptions from growing.
Use `just setup` and `just check` for the shared development baseline; see README.md for focused tests and browser prerequisites. Keep source files within 600 lines, tests within 900 lines, functions within 100 lines, and complexity within 12; do not add legacy debt exceptions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ Windows' `bin` directory to PATH so `just` can find `sh`.
Port 4173 must be free. Focus with `just test-integration -g "campaign schedule"`.

The [shared baseline](https://github.com/nextidemedia/meta/blob/main/docs/development-baseline.md)
sets complexity 12, function length 100, and source/test LOC limits. `.loc.json`
records exact legacy file budgets; reduce them after extraction and never grow
or regenerate them to accept new code. Narrow function comments record each
existing metric and the extraction debt; they are not permission to grow those
functions. Accessibility exceptions explain specific SVG, forwarded-prop, or
scroll-region semantics. Existing ESLint/React Hooks rules remain until parity
sets complexity 12, function length 100, and source/test LOC limits. All source
files meet the 600-line limit and browser suites meet the 900-line test limit;
`.loc.json` has no exceptions. Accessibility exceptions explain specific SVG,
forwarded-prop, or scroll-region semantics. Existing ESLint/React Hooks rules remain until parity
with Oxlint is verified. Oxlint 1.80.0 was the newest stable npm release at least
seven days old on 2026-09-08; the existing formatter and TypeScript remain pinned.

Expand Down
Loading
Loading