NEC-118: The directory forbids disabling its rules — take the suppressions back out #178
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!178
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-118-take-the-forbidden-lint-suppressions-bac"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: NEC-118 — https://projectron.nerchure.com/tasks/118
The branch preview scan of
cebe7cdcame back Failed, with three errors thatwere not there before:
The directory refuses the suppression of its own rules. So the
eslint-disablecomments NEC-117 added — to keep the local report quiet onfindings we refuse — turned three tolerated warnings into three hard errors, and
a one-error rejection into a three-error one. The refusals are unchanged and
still right; writing them as suppressions was the mistake.
Every directive is gone, every argument stays.
eslintnow reports eightwarnings on the published packages and exits 0 — warnings do not fail it —
and the directory reports the same eight.
The stylelint disables go too, even though stylelint disables are not
forbidden: they made our CSS report clean while the directory reported three
warnings, and the property worth protecting over a quiet report is that our gate
reproduces their scorecard. Both now say the same three.
What the same scan confirms NEC-117 got right, which is why this is a
correction and not a revert:
no-static-styles-assignmentandprefer-create-elare gone from the report, and dependencies pass. The originalblocker is fixed.
Also restores an
eslint-disablefor@typescript-eslint/no-this-aliasthat hadnothing to do with any of this. The removal matched every
eslint-disable-next-linein the files it touched rather than the three rules itmeant to. Caught by arithmetic — twelve directives removed against eleven added,
and eslint then reporting one error where the count said none.
The gap this exposes, recorded in
docs/releasing.md: suppression wasstanding in for a baseline of accepted findings and cannot do that job here,
because the mechanism itself is refused. A real baseline has to compare against a
committed register without changing the bytes the directory scans. Follow-up, not
this card.
Next: re-sync the mirror and re-run the branch scan, before any tag exists.
Changelog
NONE