To build the codeclimate/codeclimate-hlint engine from source:
./cc/buildThe built image will now be used by the codeclimate CLI.
Add the following to .codeclimate.yml:
engines:
hlint:
enabled: trueTo pass additional flags to hlint:
engines:
hlint:
enabled: true
config:
flags:
- --hint
- my-hints.ymlSee 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.hsSee https://docs.codeclimate.com/docs/excluding-files-and-folders.