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

feat: Detect repetition of common words #2

Closed
elijah-potter opened this issue Jan 18, 2024 · 1 comment
Closed

feat: Detect repetition of common words #2

elijah-potter opened this issue Jan 18, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@elijah-potter
Copy link
Owner

elijah-potter commented Jan 18, 2024

Harper should include a linting rule that detects and repairs incorrect repetition of common words.

Examples that should throw a lint:

She lifted the the rock.
I will will do it later.

Examples that should not throw a lint:

This is very very difficult.

While the above example could be grammatically improved by removing the repetition, it is not a grammatical error. This improvement should be a separate lint.

@elijah-potter elijah-potter added the enhancement New feature or request label Jan 18, 2024
@elijah-potter elijah-potter self-assigned this Jan 18, 2024
@elijah-potter
Copy link
Owner Author

This has been implemented in the repeated_words linter. If a common enough word should be analyzed for repetition, reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant