Elijah Potter
e1a2039225
test(core): add tests from LLM-fuzzing
2025-07-21 13:16:11 -06:00
Elijah Potter
2374d3989a
fix(core): precommit errors
2025-07-21 10:47:30 -06:00
Elijah Potter
bcc8338472
fix(core): exclude verbs
2025-07-21 09:51:44 -06:00
Elijah Potter
ec48c4410b
feat(core): create first draft of rule for missing articles
2025-07-21 09:46:21 -06:00
dependabot[bot]
6002903f89
build(deps): bump serde_json from 1.0.140 to 1.0.141 ( #1598 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.140...v1.0.141 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.141
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 15:23:51 +00:00
dependabot[bot]
c73bde6d17
build(deps): bump tree-sitter-nix from 0.0.2 to 0.3.0 ( #1599 )
...
Bumps [tree-sitter-nix](https://github.com/nix-community/tree-sitter-nix ) from 0.0.2 to 0.3.0.
- [Commits](https://github.com/nix-community/tree-sitter-nix/compare/v0.0.2...v0.3.0 )
---
updated-dependencies:
- dependency-name: tree-sitter-nix
dependency-version: 0.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 14:11:05 +00:00
dependabot[bot]
9d16e7d591
build(deps): bump strum from 0.27.1 to 0.27.2 ( #1601 )
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/compare/v0.27.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: strum
dependency-version: 0.27.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 14:10:44 +00:00
Steve Kurch
9bbe9b7051
perf(core): prefer FirstMatchOf when possible ( #1576 )
...
Build Chrome Plugin / package (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - Windows-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-ls - Windows-x86_64 (push) Has been cancelled
Build Web / build (push) Has been cancelled
Package VS Code Plugin / Package - darwin-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - darwin-x64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-x64 (push) Has been cancelled
Package VS Code Plugin / Package - win32-x64 (push) Has been cancelled
Package WordPress Plugin / package (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
* refactor(core): add `then_either` funcs
Add `.then_either()` and `.then_either_longest()` to `SequenceExpr`;
refactor code to use these where appropriate.
* refactor(core): standardize function signature
Make `FirstMatchOf` have the same function name and signature for its
add/push method as `LongestMatchOf`.
* perf(core): prefer `FirstMatchOf` and similar
Replace `LongestMatchOf` (and similar) with `FirstMatchOf` where it
appears a longest match is unnecessary.
* perf(core): use `FirstMatchOf` for `or()`
Use `FirstMatchOf` rather than `LongestMatchOf` for `or()`. Move
previous functionality to the new function `or_longest()`. Modify code
to reflect these changes where appropriate.
* perf(core): simplify iterator in `FirstMatchOf`
* docs(core): minor adjustment
* refactor(core): rename `then_either` funcs
Rename `then_either` to `then_any_of`, and `then_either_longest` to
`then_longest_of`.
Add extra documentation to `then_any_of`.
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
2025-07-18 19:46:04 +00:00
Kurt Kremitzki
9add20f1f1
Fix typo for +page.md ( #1577 )
2025-07-18 18:16:05 +00:00
Andrew Dunbar
45bc95c830
fix: remove ThereIsAny linter, sort others ( #1588 )
2025-07-18 18:13:52 +00:00
Andrew Dunbar
ca8ec6cc23
feat: detect "more faster", "most best" ( #1507 )
...
* feat: detect "more faster", "most best"
work in progress
* fix: `just format`
* refactor: complete basic featureset
Superlative annotation flag changed from `T` to `^` to match the comparative `>`. Mnemonic comment fields added..
* chore: mark comparatives and superlatives in dictionary
These are the ones whose last letter is doubled since the affix logic doesn't handle that.
Add comments to `affixes.json` linking the annotation flags for the base form comparative and superlative with the deirved term ones.
Add `get_degree` to `WordMetadata` and as a bonus also `get_person` for pronouns.
* Positive degree is not yet queryable as I suspect there could be false positives.
* fix: warning
2025-07-18 18:12:37 +00:00
Elijah Potter
f30d08478d
feat(obsidian): allow users to exclude files and paths ( #1569 )
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
2025-07-18 12:20:52 -06:00
Andrew Dunbar
a3b8f62f2d
feat: get worst→get worse; become worst→become worse ( #1571 )
Build Chrome Plugin / package (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - Windows-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-ls - Windows-x86_64 (push) Has been cancelled
Build Web / build (push) Has been cancelled
Package VS Code Plugin / Package - darwin-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - darwin-x64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-x64 (push) Has been cancelled
Package VS Code Plugin / Package - win32-x64 (push) Has been cancelled
Package WordPress Plugin / package (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
2025-07-16 19:15:30 +00:00
Elijah Potter
10fbbfabb7
feat(web): add margin to footer ( #1575 )
2025-07-16 13:16:25 -06:00
thuan1412
13cd2afd56
feat: add lint for on the floor phrase ( #1555 )
...
* feat: add lint for on the floor phrase
* chore: mistake in resolve conflict
* chore: fix lint
* chore: update description
* Trigger Build
* chore: add some exceptional cases
* chore: use insert_expr_rule
2025-07-16 17:56:51 +00:00
thuan1412
55a475efac
feat(lint): add LookingForwardTo rule ( #1567 )
...
* feat(lint): add `LookingForwardTo` rule
* chore: fix lint
* chore: fix lint on the description
* chore: use insert_expr_rule
2025-07-16 17:56:08 +00:00
Andrew Dunbar
286497b088
fix: add ofcourse→of course phrase correction ( #1570 )
...
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
Also add comments linking the 2 `of course` linters, the standalone one that handles "of curse" and "of corse" ⇔ this phrase corrections one that handles "off course", "o course", and now "ofcourse"
2025-07-16 17:17:34 +00:00
Andrew Dunbar
23054e6b2c
feat: chomp at the bit→champ at the bit ( #1563 )
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Build Web / build (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
2025-07-15 20:20:09 +00:00
Elijah Potter
59465d54be
Release 0.51.0
...
harper-brill@0.51.0
harper-comments@0.51.0
harper-core@0.51.0
harper-html@0.51.0
harper-literate-haskell@0.51.0
harper-ls@0.51.0
harper-pos-utils@0.51.0
harper-stats@0.51.0
harper-tree-sitter@0.51.0
harper-typst@0.51.0
Generated by cargo-workspaces
2025-07-15 14:27:29 -06:00
Elijah Potter
698e27ad94
doc(core): document lint_group macros ( #1568 )
2025-07-15 14:22:31 -06:00
Andrew Dunbar
d388206b76
feat: mass nouns after countable determiners/quantifiers ( #1498 )
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
* feat: mass nouns after a/an etc.
Work-in-progress
Looks for mass nouns being treated as singular or plural nouns.
- group and sort `sequence_expr` `gen_then_from_is` etc.
- Added a new `agreement` `TokenKind` and added it to two other linters.
- Adding singular/plural & countable/mass flags to dictionary.
Does not yet handle adjectives between the determiner/quantifier and the noun.
Does not yet handle the case where the mass noun is part of a compound noun and therefor not an error.
Does not yet offer specific synonym such as "a tip" for "an advice".
* refactor: should appease precommit
Will also make planned enhancements easier.
* refactor: enum tuple variants
* refactor: specific countable synonyms
* chore: don't flag compound nouns
Default unit "piece" doesn't fit with some mass nouns like "traffic".
Fix some weird dictionary entries. Comment others.
* chore: can now suggest compound nouns
* chore: merge snapshot tests
* chore: update snapshot after merge
* fix: get rid of `assert_top5_suggestion_result`
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
2025-07-15 15:28:01 +00:00
Andrew Dunbar
b6f66f5b93
feat: IIRC correctly→IIRC ( #1566 )
...
And if IIRC→IIRC
2025-07-15 14:38:01 +00:00
Andrew Dunbar
b310575754
feat: support quantifier as type of determiner ( #1564 )
...
* feat: support quantifier as type of determiner
* chore: make `is_quantifier` a preferred alias for `is_quantifier_determiner`
2025-07-15 14:29:56 +00:00
Elijah Potter
975e2b471e
feat(core): add rule for redundant modal verbs ( #1536 )
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Precommit / precommit (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
2025-07-14 14:39:02 -06:00
Elijah Potter
4d2175f6cf
feat(core): add rule for missing preposition ( #1530 )
2025-07-14 12:12:42 -06:00
Steve Kurch
ba995cd974
refactor(core): adjust to reduce ambiguity ( #1545 )
...
* refactor(core): adjust to reduce ambiguity
Rename member variable `exact` and adjust the documentation of the
`Word` struct to reduce ambiguity.
* style(core): add missing newline
2025-07-14 17:54:19 +00:00
Elijah Potter
663bcd6715
fix: update wording to be more declarative
2025-07-14 11:40:39 -06:00
Andrew Dunbar
82f20e9d83
feat: very unique→unique / very special ( #1561 )
2025-07-14 16:50:16 +00:00
Andrew Dunbar
c390089602
feat: .is_oov() method on TokenKind ( #1551 )
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
Tests for "out-of-vocabulary" words. Words not in the dictionary. Therefore of unknown POS etc.
Also replaced `is_swear` and `is_likely_homograph` with delegation to `WordMetadata`.
2025-07-14 16:07:37 +00:00
Andrew Dunbar
fa650a88bc
feat: ontop of→on top of ( #1550 )
2025-07-14 16:01:59 +00:00
Andrew Dunbar
5238f7c1a7
feat: extend→extent when used as noun ( #1552 )
2025-07-14 16:00:49 +00:00
Andrew Dunbar
ffc88736cf
feat: just printaffixes prints letters free for new flags ( #1540 )
...
* feat: `just printaffixes` prints letters free for new flags
I've also renamed it to `just annotations` but kept the old name as an alias.
Annotations that have comment fields will also be in the printout now.
* fix: remove comment
* feat: `suggestannotation`
Pass in a term you want to make a new annotation for and it will check if any of the letters are not already used, or are OK to reuse.
2025-07-14 15:59:52 +00:00
dependabot[bot]
f612cf1c33
build(deps): bump ammonia from 4.1.0 to 4.1.1 ( #1556 )
...
Bumps [ammonia](https://github.com/rust-ammonia/ammonia ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/rust-ammonia/ammonia/releases )
- [Changelog](https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-ammonia/ammonia/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ammonia
dependency-version: 4.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 15:47:37 +00:00
dependabot[bot]
a965aaa086
build(deps): bump clap from 4.5.40 to 4.5.41 ( #1557 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.40 to 4.5.41.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.40...clap_complete-v4.5.41 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.41
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 15:47:21 +00:00
dependabot[bot]
727d255f48
build(deps): bump tree-sitter from 0.25.6 to 0.25.8 ( #1558 )
...
Bumps [tree-sitter](https://github.com/tree-sitter/tree-sitter ) from 0.25.6 to 0.25.8.
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases )
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.25.6...v0.25.8 )
---
updated-dependencies:
- dependency-name: tree-sitter
dependency-version: 0.25.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-14 15:47:05 +00:00
Andrew Dunbar
175ed313a2
feat: implement #1559 semicolon typos ( #1560 )
...
Build Web / build (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
* feat: implement #1559 semicolon typos
* fix: `LintKind` to `Typo`
* fix: appease `Precommit`
2025-07-14 14:32:12 +00:00
Andrew Dunbar
ec93919ad4
chore: dictionary curation ( #1539 )
...
Build Web / build (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - Windows-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Has been cancelled
Build Chrome Plugin / package (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-aarch64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Has been cancelled
Build Binaries / Release harper-cli - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - macOS-x86_64 (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Has been cancelled
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Has been cancelled
Build Binaries / Release harper-ls - Windows-x86_64 (push) Has been cancelled
Package VS Code Plugin / Package - darwin-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - darwin-x64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-arm64 (push) Has been cancelled
Package VS Code Plugin / Package - linux-x64 (push) Has been cancelled
Package VS Code Plugin / Package - win32-x64 (push) Has been cancelled
Package WordPress Plugin / package (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
* chore: add opt-in, opt-out; noun plurality and countability
* chore: plurality & countability
* chore: +"untagged"
#1542
* chore: merge with upstream
2025-07-11 17:39:51 +00:00
Andrew Dunbar
274721ee2b
feat: phrase set corrections to group phrase corrections ( #1529 )
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
* feat: phrase set corrections to group phrase corrections
* fix: appease Precommit
* chore: move all 1:1 lints to `phrase_set_corrections`
By which I mean that ones that only detect one variant of the bad phrase, and only offer one suggestion.
* feat: support many to many mappings
* chore: finish moving sets of phrase corrections
* docs: Updated documentation per Elija's request
I changed the first `phrase_corrections` example from "mute point" since it's now been moved to `phrase_set_corrections`. I picked "all of the sudden" as a common and straightforward one.
The "mute point" example actually had an error where the `[]` surrounding the offending phrase were missing.
I added examples for `phrase_corrections` showing how to handle multiple offending phrases and multiple correct phrases.
Also:
- Removed "chock full" as it has its own broader linter now.
- Expanded and renamed `InAndOfItself` to suggest both "in itself" and "in and of itself".
- Added a new set for "rise the question" that only seems to be common in two forms.
- Some of the tests were not in alphabetical order.
2025-07-11 13:11:39 +00:00
Elijah Potter
26daaa516a
Release 0.50.0
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Build Web / build (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
harper-brill@0.50.0
harper-comments@0.50.0
harper-core@0.50.0
harper-html@0.50.0
harper-literate-haskell@0.50.0
harper-ls@0.50.0
harper-pos-utils@0.50.0
harper-stats@0.50.0
harper-tree-sitter@0.50.0
harper-typst@0.50.0
Generated by cargo-workspaces
2025-07-10 15:25:49 -06:00
Elijah Potter
705331f878
chore(core): rename + document items ( #1523 )
2025-07-10 15:01:30 -06:00
Steve Kurch
b325d5dbe2
feat(cli): add annotate-tokens subcommand ( #1533 )
...
* feat(cli): add `annotate-tokens` subcommand
* feat(POS): impl `Display` for `UPOS`
* feat(cli): use UPOS' `Display` impl
Use UPOS' `Display` impl to provide text for UPOS annotations.
* docs(cli): documentation adjustments
* refactor(cli): reorder function by visibility
* fix(cli): take `annotation_type` as a named arg
(...rather than a positional argument coming after `input`.)
* style(cli): add missing newline
2025-07-10 19:11:38 +00:00
Elijah Potter
710a1ff6cf
fix(chrome-ext): properly place highlights relative to Draft.js root ( #1535 )
2025-07-10 13:17:56 -06:00
Elijah Potter
73cd8c3830
fix(chrome-ext): don't interfere with the Gutenberg rendering process ( #1534 )
2025-07-10 12:57:15 -06:00
Elijah Potter
29971de8c5
Release 0.49.0
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Build Web / build (push) Has been cancelled
Precommit / precommit (push) Has been cancelled
harper-brill@0.49.0
harper-comments@0.49.0
harper-core@0.49.0
harper-html@0.49.0
harper-literate-haskell@0.49.0
harper-ls@0.49.0
harper-pos-utils@0.49.0
harper-stats@0.49.0
harper-tree-sitter@0.49.0
harper-typst@0.49.0
Generated by cargo-workspaces
2025-07-09 14:19:27 -06:00
Andrew Dunbar
5c9d8df2fb
feat: dict curation & concise snapshot dialects ( #1521 )
...
* feat: dict curation & concise snapshot dialects
- marking more abstract nouns for plurality and countability
- updated the dialect annotation in the snapshots to use `NoAm` and `Comm` for groupsing of US+Canadian English and UK+Canadian+Australian English
* chore: mostly annotations for noun number+countability
* fix: snapshots
* chore: mostly noun properties
* chore: noun annotations and snapshot update
* fix: bug in mass/countable noun query
Annotate mass nouns in the snapshots with `ᴹ` or `🅪` depending on whether they're also countable or not. This takes minimal extra space and Penn Treebank doesn't track this noun property.
`WordMetadata`'s `is_countable_noun()` method was checking the singular and plural properties instead of the countable and mass properties.
Add a `phrase_correction` from the uncommon synonym `unsensitive` to its more standard counterpart `insensitive`.
Added mostly noun plurality and countability annotations.
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
2025-07-09 15:19:45 +00:00
Elijah Potter
e97f5975ad
fix(chrome-ext): don't run on disabled inputs ( #1525 )
2025-07-09 08:19:35 -06:00
Jeriel Baptista Verissimo
814ba9c187
feat: add clojure support ( #1520 )
...
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
* feat: add `clojure` support
* test: add clojure example file
* feat: add support for more clojure dialect filetypes
* fix(comments): give test more descriptive name
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
2025-07-08 19:52:07 +00:00
Andrew Dunbar
21888aab55
feat: flag redundant series of "also", "as well", "too" ( #1514 )
...
Build Binaries / Release harper-cli - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-cli - Windows-x86_64 (push) Waiting to run
Build Chrome Plugin / package (push) Waiting to run
Build Binaries / Release harper-cli - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-GNU (push) Waiting to run
Build Binaries / Release harper-cli - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-cli - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-cli - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - macOS-aarch64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-musl (push) Waiting to run
Build Binaries / Release harper-ls - macOS-x86_64 (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-GNU (push) Waiting to run
Build Binaries / Release harper-ls - Linux-x86_64-musl (push) Waiting to run
Build Binaries / Release harper-ls - Windows-x86_64 (push) Waiting to run
Build Web / build (push) Waiting to run
Package VS Code Plugin / Package - darwin-arm64 (push) Waiting to run
Package VS Code Plugin / Package - darwin-x64 (push) Waiting to run
Package VS Code Plugin / Package - linux-arm64 (push) Waiting to run
Package VS Code Plugin / Package - linux-x64 (push) Waiting to run
Package VS Code Plugin / Package - win32-x64 (push) Waiting to run
Package WordPress Plugin / package (push) Waiting to run
Precommit / precommit (push) Waiting to run
Build Binaries / Release harper-ls - Linux-aarch64-GNU (push) Waiting to run
This uncovered a bug in `SequenceExpr` when using `.then_optional()` which is hopefully now fixed.
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
2025-07-07 21:50:27 +00:00
Andrew Dunbar
d350addfdb
fix: fixes a bug in SequenceExpr found when using the Optional Expr in a linter ( #1519 )
...
* fix: fixes a bug in `SequenceExpr` found when using the `Optional` `Expr` in a linter
* `just format`
2025-07-07 21:08:00 +00:00
Andrew Dunbar
1a15050c4d
feat: statue of limitations→statute ( #1510 )
...
* feat: statue of limitations→statute
* fix: remove blank line
2025-07-07 21:05:10 +00:00