To build the codeclimate/codeclimate-hlint
engine from source:
./cc/build
The built image will now be used by the codeclimate
CLI.
Add the following to .codeclimate.yml
:
engines:
hlint:
enabled: true
To pass additional flags to hlint
:
engines:
hlint:
enabled: true
config:
flags:
- --hint
- my-hints.yml
See hlint lint --help
.
To exclude files from analysis, use the exclude_paths
options
# Exclude from all engines
engines:
# ...
exclude_paths:
- problematic-file.hs
# Exclude from just hlint
engines:
hlint:
# ...
exclude_paths:
- problematic-file.hs
See https://docs.codeclimate.com/docs/excluding-files-and-folders.