Why
Several package lints are (or were) red at baseline on main — pre-existing errors that were never blocking, so the per-package lint gate silently could not catch new violations of the same class (e.g. a fresh react-hooks/rules-of-hooks bug would land green). #2709 restored @object-ui/fields and @object-ui/core to 0 errors; this issue extends that sweep to the rest of the workspace so every package's lint gate actually protects it again.
Concretely, @object-ui/core had been red long enough that a genuine hooks-order bug in ImageField (a useCallback after an early return) shipped unnoticed — exactly the kind of thing the gate exists to stop.
Scope
Non-goals
- Warnings (
no-explicit-any, react-refresh/only-export-components, etc.) — out of scope; errors only.
- Behavior changes — these are mechanical/lint-only fixes.
Acceptance
Refs
Why
Several package lints are (or were) red at baseline on
main— pre-existing errors that were never blocking, so the per-packagelintgate silently could not catch new violations of the same class (e.g. a freshreact-hooks/rules-of-hooksbug would land green). #2709 restored@object-ui/fieldsand@object-ui/coreto 0 errors; this issue extends that sweep to the rest of the workspace so every package's lint gate actually protects it again.Concretely,
@object-ui/corehad been red long enough that a genuine hooks-order bug inImageField(auseCallbackafter an early return) shipped unnoticed — exactly the kind of thing the gate exists to stop.Scope
pnpm --filter <pkg> lint(orpnpm -r lint) and record the error count + rule breakdown per package. Attach the list here as the work-plan.// eslint-disable-next-line <rule>with a justifying comment only where the code is deliberately correct (as done in feat(fields): select+multiple → multi-value chip picker; restore fields/core lint gates #2709 for the intentionalno-control-regexfilename range and the ES2020-libpreserve-caught-error).Non-goals
no-explicit-any,react-refresh/only-export-components, etc.) — out of scope; errors only.Acceptance
pnpm -r lintis clean (0 errors) across the workspace, or each remaining red package has a tracked reason.Refs
autonumber(ADR-0059 follow-ups) #2707 / [P3] SDUI: render ActionParamDialog params through the shared form field-widget renderer (retire bespoke per-type branches) #2700 / ADR-0059 (context)