ndmitchell / ndmitchell/hlint

Make HLint refactor fixing uniform with other tools

Open
#422 0 comments 6 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.