Repository navigation
fix(rules): exclude verbatim-repeated card microcopy from keyword-stuffing #2444 - #2449
longshore-nc9[bot] wants to merge 5 commits into
Conversation
…ffing density #2444 Signed-off-by: nc9 <[email protected]>
Signed-off-by: nc9 <[email protected]>
6aaf8e3 to
ca3682c
Compare
Signed-off-by: nc9 <[email protected]>
…ng density #2444 Signed-off-by: nc9 <[email protected]>
Automated reviewReviewed at 1ae5f35 against #2444 and the maintainer decision on the menu case (fix it). Ran on Bun 1.4.4: all 8 keyword-stuffing-adjacent test files (158 tests, 0 fail); oxfmt Findings, ranked
Acceptance criteria (#2444)All five are met. Criteria 1, 2 and 4 each pass on the head. Criterion 3 is met for card grids. The maintainer decision was recorded (fix it) and the test matches it. Both fixtures have regression tests in Post-merge checksNone. VERDICT: changes-requested |
…o navigation-shaped blocks #2444 Signed-off-by: nc9 <[email protected]>
Automated reviewDelta review at 5a95a0f (previous review at 1ae5f35, changes-requested). Bun 1.4.4. Read-only: scratch probes lived in /tmp and the tree is clean. Ran: Previous findings
New findings
Acceptance criteria (#2444)All five are met: the card fixture (flat and wrapped) does not warn; the Post-merge checksNone. VERDICT: approve |
Fixes #2444.
content/keyword-stuffingnow leaves text repeated verbatim across items, and navigation and menu link text, out of the density basis.'bademode '.repeat(100)control still warns.<main>or<article>.<nav>,role=navigation, header and footer chrome were already excluded. The 24-linkBademode Style collection category selection inspiration Nmenu plus one sentence does not warn. Stuffing in body copy next to a menu still warns, and so does a block repeating one anchor or with fewer than 4 labels. Menu words no longer count toward the 100-word minimum. Accepted cost: a doorway page of over 85% keyword links is not measured by this rule.keyword-stuffing-pins-1441,keyword-stuffing,keyword-stuffing-regions-3544) were rewritten to the new behaviour. The new menu tests fail without the source change.Commands:
bun teston allkeyword-stuffing*tests,item-finding-identity,inconclusive-info-1031,content-no-dom-mutation,page-type-skip-841,reading-level-code-blocks-1639, streaming-rules golden, golden-finding-messages, docs-rule-pages, docs-category-table, verdict-scope and template-verdict tests,bun run docs:check,tsgotypecheck inpackages/rules, oxfmt--checkand oxlint on the changed files (one existingprefer-dom-node-datasetlint error inkeyword-stuffing-regions-3544.test.ts:23predates this change).Docs: docs/rules/content/keyword-stuffing.mdx. Skill: none.