The image is for running haskell-hlint. The image is based on alpine:3.15.
A configfile called .hlint.yaml
is required, and a default can ben generated with:
docker run --rm -ti pipelinecomponents/haskell-hlint:latest hlint -d > .hlint.yaml
haskell-hlint:
stage: linting
image: registry.gitlab.com/pipeline-components/haskell-hlint:latest
script:
- hlint .
To use parallel processing
haskell-hlint:
stage: linting
image: registry.gitlab.com/pipeline-components/haskell-hlint:latest
script:
- hlint -j .
For more information about hlint commandline see Hlint documentation