refactor: prune narration and history comments #19559
Mergedmaria-rcksmerged 11 commits into
main fromrefs/pull/19559/headmerged by maria-rcks View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
github-actions[bot](GitHub profile, opens in a new tab) added labels📱 Native Change
juliusmarminge added labelsmacroscope-review
- @@ -0,0 +1,11 @@1+import { defineRule, type ESTree } from "@oxlint/plugins";2+3+const TS_FILE_PATTERN = /\.[cm]?tsx?$/u;4+const DIRECTIVE_PATTERN =5+ /^\s*(?:(?:oxlint|eslint)-|@ts-|@effect-diagnostics|prettier-ignore|biome-ignore|c8 |istanbul |#(?:end)?region)/u;6+const DIVIDER_LINE_PATTERN = /^(?:[-=*#~_/+]{3,}.*|.*[-=*#~_]{3,})$/u;7+const TEST_STEP_PATTERN = /^(?:arrange|act|assert|given|when|then)\s*[:.]?$/iu;8+const TASK_MARKER_PATTERN = /\b(?:TODO|FIXME|XXX|HACK)\b/u;9+const TASK_LINK_PATTERN = /#\d+|https?:\/\//u;10+const JSDOC_TYPE_PATTERN = /^@(?:param|returns?|type|typedef)\s+\{/u;11+const EMPTY_JSDOC_TAG_PATTERN = /^@(?:param|returns?)(?:\s+\[?[\w$.]+\]?)?$/u;
maria-rcks merged this86534db
maria-rcks closed this
Sign in to join this conversation.



Approvability#
Verdict: Needs Human Approval
Macroscope's review found this PR requires human approval — The PR is largely a mechanical comment cleanup with a development-only lint rule and no apparent product behavior changes. Its mobile fingerprint inputs nevertheless trigger the repository's native-change flow, which can block production OTA delivery until a new store build ships.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).