I am trying to select hlint
and use it as the default for haskell-mode
. I recall accidentally finding the option for this once, but haven't been able to find it again.
I am new to Emacs and do not know what to look for.
Asked
Active
Viewed 895 times
2

Paul
- 151
- 5
-
Have a search in this SE as well as on SO, for example: [this post](https://emacs.stackexchange.com/q/19454/17548) , You will need to configure haskell-mode requirements and hooks in your init file, so be prepared to learn how the init file works. – manandearth Nov 03 '18 at 07:31
2 Answers
1
I found the option under SPC e s flycheck-select-checker
haskell-hlint
.
I could not find how to set haskell-hlint directly, so I instead disabled ghc and stack ghc from flycheck in my init, which causes flycheck to use hlint.
(setq-default flycheck-disabled-checkers '(haskell-ghc haskell-stack-ghc))
I'd like to know if there is a better way to directly state hlint as my preferred default.

manandearth
- 2,068
- 1
- 11
- 23

Paul
- 151
- 5
-
Customizable variable `haskell-check-command` is set to hlint by default here by haskell-mode. – Andreas Röhler Nov 03 '18 at 17:52
1
I've just added support for hlint in Attrap.
https://github.com/jyp/attrap#configuration-of-the-hlint-checker

jyp
- 128
- 7