This linter plugin for SublimeLinter provides an interface to hlint. It will be used with files that have the "Haskell" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that hlint
is installed on your system.
To install hlint
, do the following:
-
Ensure cabal is installed. The easiest way is to install the haskell platform, as this gives you cabal also.
-
Update cabal:
cabal update
-
Install
hlint
with cabal:cabal install hlint
Please make sure that the path to hlint
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html