| 1 |
[hlint] |
| 2 |
apt = hlint |
| 3 |
files = *.hs |
| 4 |
command = hlint . |
| 5 |
flags = fixme fixme-silent |
| 6 |
|
| 7 |
[cabal] |
| 8 |
apt = cabal-install |
| 9 |
files = *.cabal |
| 10 |
command = cabal check |
| 11 |
|
| 12 |
[stylish-haskell] |
| 13 |
flags = modify fixme style |
| 14 |
apt = stylish-haskell |
| 15 |
files = *.hs |
| 16 |
command = stylish-haskell --inplace {files} |
| 17 |
comment = |
| 18 |
A dry-run option is needed to not modify files: |
| 19 |
https://github.com/jaspervdj/stylish-haskell/issues/107 |
| 20 |
|
| 21 |
# TODO: shell metacharacter injection: createProcess shell system runCommand runInteractiveCommand from System.Process/System.Cmd |
| 22 |
|
| 23 |
# vim:ft=dosini |