harper
harper copied to clipboard
feat: add a new `LintKind::Preposition`
Issues
N/A
Description
I kept making more and more linters to fix wrong prepositions so I finally decided they should be their own LintKind.
I was going to call it WrongPreposition but there are a couple of other preposition-related lints so I ended up choosing Preposition over Prepositions... but maybe you disagree? Let me know!
I changed the LintKind of all the Rust and Weir rules that seemed applicable.
How Has This Been Tested?
cargo test
AI Disclosure
- [ ] I am a human and didn't use any AI.
- [x] I used LLM features of my editor, but not an agent.
- [ ] I used an AI agent interactively.
- [ ] I am an agent or I got an agent to do the work autonomously.
Checklist
- [x] I have performed a self-review of my own code
- [ ] I have added tests to cover my changes
- [x] I have considered splitting this into smaller pull requests.