This document tracks the warning-ratchet rollout to reach strict lint mode (--max-warnings=0) across the monorepo without disrupting delivery.
apps/node-agentlint command already enforces strict mode:eslint src --max-warnings=0.apps/cnclint command already enforces strict mode:eslint src --max-warnings=0.packages/protocollint command now enforces strict mode:eslint src --max-warnings=0.- Root lint orchestration (
npm run lint) currently depends on workspace lint scripts. - Current out-of-scope area for this ratchet:
- Root scripts/config files are not yet in an explicit strict lint gate.
- They remain tracked as follow-up technical-debt work, separate from workspace source strictness.
This ratchet applies to workspace source scopes that participate in Turbo lint:
apps/node-agent/srcapps/cnc/srcpackages/protocol/src
- No net-new ESLint warnings in any workspace with an active lint target.
- Any new lint scope (for example
packages/protocolor root scripts) must start with a warning baseline and move toward strict mode. - Once a scope reaches zero warnings, enforce
--max-warnings=0for that scope and do not relax it.
- Done: add ESLint target for
packages/protocoland enforce strict mode. - In progress (separate follow-up): add lint coverage for root scripts/config files where practical.
- Done: remove warning debt in currently targeted workspace source scopes.
- Done: enforce
--max-warnings=0for all targeted workspace source scopes. - Done (for targeted scopes): keep strict mode as permanent default across all targeted workspace lint scopes.
- Platform maintainers own ratchet progress and enforcement updates.
- PRs that modify lint settings must include rationale and impact summary in validation notes.