Haskell related hooks for use with the http://pre-commit.com/ framework.
Most hooks can be installed with stack
.
If not already available,
install stack.
Then install the needed program
e.g., to install hlint
run:
stack --resolver=nightly --install-ghc install hlint
HLint gives suggestions on how to improve your source code.
Install with stack.
stylish-haskell is a code prettifier.
Install with stack.