Make HLint refactor fixing uniform with other tools
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 1.6k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
See https://www.reddit.com/r/haskell/comments/7oi55x/how_do_i_use_hlint_to_automatically_refactor/dsajufd/ where @donkeybonks suggested:
Most of the other lint tools in the js/ts/node/java sort of ecosystem have a "standard interface" so before doing anything I tried hlint --fix. Just an idea perhaps --fix could be a macro for the switches in the post above, which take quite a lot of doc crawling to find (which would make hlint uniform with other lint tools).
Sounds like a good idea.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files or tests. Start by locating HLint's CLI handling for refactoring switches and compare it with the documented options referenced in the discussion. Done means a --fix interface consistently invokes the intended refactoring behavior, with coverage for the new command-line behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100