Feature Request: Add auto-fix for hlint
Auto fix for ghc suggestions is very nice. The auto fix behavior could get even beefier by supporting hlint fixes.
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
Keeping open so I can easily see all the 'wontfix'
I've made a new package which supports fixers for any flyckeck checker. Check it out here: https://github.com/jyp/attrap
What is the status on this? Is there any way for to get Attrap to work with hlint?
I'll merge a pull request. But since I do not use hlint, I don't think I should attempt to to this.
I've implemented this.