mirror of
https://github.com/Automattic/harper.git
synced 2025-12-05 19:26:55 -06:00
* feat(core): introduce `Heading` `TokenKind` * feat(core): create `iter_headings` extension * refactor(core): remove unhelpful tests * chore(core): update snapshots * refactor(core): avoid allocation where possible * feat(core): create rule that enforces title case for headings * fix(core): NP members should be capitalized * fix(core): appease clippy * feat(harper.js): allow `harper.js` to force headings * fix(harper.js): make `organized_lints` similar: allow forced headings * fix(harper.js): appease Biome * feat(chrome-ext): expose title casing in Chrome extension * fix(chrome-ext): content script console bloat * test(core): title_case module more extensively; fix things * refactor(core): remove useless branch * refactor(core): use tokens over characters * refactor(core): use token indices instead of spans