Files
harper/harper-core
Elijah Potter bfaa324c07 feat(core): create rule to title-case headings (#2297)
* 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
2025-12-05 20:35:00 +00:00
..
2025-12-03 12:31:42 -07:00

harper-core

harper-core is the fundamental engine behind Harper, the grammar checker for developers.

harper-core is available on crates.io. However, improving the API is not currently a high priority. Feel free to use harper-core in your projects. If you run into issues, create a pull request.

Features

concurrent: Whether to use thread-safe primitives (Arc vs Rc). Disabled by default. It is not recommended unless you need thread-safely (i.e. you want to use something like tokio).