attrap icon indicating copy to clipboard operation
attrap copied to clipboard

Feature Request: Add auto-fix for hlint

Open Fresheyeball opened this issue 8 years ago • 4 comments

Auto fix for ghc suggestions is very nice. The auto fix behavior could get even beefier by supporting hlint fixes.

Fresheyeball avatar Aug 04 '17 17:08 Fresheyeball

hlint checking/fixing is out of scope for dante. The way to go is to:

  • Add a generic autofix in flycheck https://github.com/flycheck/flycheck/issues/530
  • Then add autofix to the hlint checker

jyp avatar Aug 20 '17 18:08 jyp

Keeping open so I can easily see all the 'wontfix'

jyp avatar Oct 01 '17 20:10 jyp

I've made a new package which supports fixers for any flyckeck checker. Check it out here: https://github.com/jyp/attrap

jyp avatar Feb 20 '18 08:02 jyp

What is the status on this? Is there any way for to get Attrap to work with hlint?

IQubic avatar Dec 31 '19 05:12 IQubic

I'll merge a pull request. But since I do not use hlint, I don't think I should attempt to to this.

jyp avatar Oct 16 '22 12:10 jyp

I've implemented this.

jyp avatar Oct 17 '22 08:10 jyp