File: haskell

package info (click to toggle)
check-all-the-things 2025.02.06
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 468 kB
  • sloc: python: 1,039; makefile: 17
file content (23 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
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