1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
[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
|