Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): add on to the list of special cases #592

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elijah-potter
Copy link
Collaborator

I was writing an article for my blog when I noticed that Harper wouldn't detect repetitions of the word on. This PR fixes that.

@elijah-potter elijah-potter added bug Something isn't working harper-core linting labels Feb 5, 2025
@ccoVeille
Copy link
Contributor

ccoVeille commented Feb 5, 2025

I'm using the following linter for code

https://github.com/Abirdcfly/dupword

It's logic is based on repetition.

I do think it could a better approach than adding them one by one

The detection needs to be a bit clever because there are counter examples

# Harper

Harper is a great tool.

Here Harper is not a repetition. I think languagetool wrongly reports it right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working harper-core linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants