[hlint]
apt = hlint
files = *.hs
command = hlint .
flags = fixme fixme-silent

[cabal]
apt = cabal-install
files = *.cabal
command = cabal check

[stylish-haskell]
flags = modify fixme style
apt = stylish-haskell
files = *.hs
command = stylish-haskell --inplace {files}
comment =
 A dry-run option is needed to not modify files:
 https://github.com/jaspervdj/stylish-haskell/issues/107

# TODO: shell metacharacter injection: createProcess shell system runCommand runInteractiveCommand from System.Process/System.Cmd

# vim:ft=dosini
