0.0
No release in over 3 years
Low commit activity in last 3 years
Pronto runner for Hlint, pluggable linting utility for Haskell
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 9
>= 11.0, < 13
~> 3.4

Runtime

~> 0.10.0
 Project Readme

Pronto runner for Hlint

Build Status Gem Version

Pronto runner for Hlint, pluggable linting utility for Haskell. What is Pronto?

Prerequisites

You'll need to install hlint by yourself with cabal or stack. If hlint is in your PATH, everything will simply work, otherwise you have to provide pronto-hlint your custom executable path (see below).

Configuration of Hlint

Configuring Hlint via .hlint.yaml will work just fine with pronto-hlint.

Configuration of Pronto-Hlint

pronto-hlint can be configured by placing a .pronto_hlint.yml inside the directory where pronto will run.

Following options are available:

Option Meaning Default
hlint_executable Hlint executable to call. hlint (calls hlint in PATH)
files_to_lint What files to lint. Absolute path of offending file will be matched against this Regexp. (\.hs)$
cmd_line_opts Command line options to pass to hlint when running ``

Example configuration to call custom hlint executable and only lint files ending with .my_custom_extension:

# .pronto_hlint.yml
hlint_executable: '/my/custom/path/.bin/hlint'
files_to_lint: '\.my_custom_extension$'
cmd_line_opts: '-j $(nproc) --typecheck'