https://github.com/sublimelinter/sublimelinter-hlint
SublimeLinter plugin for hlint.
https://github.com/sublimelinter/sublimelinter-hlint
Last synced: 10 months ago
JSON representation
SublimeLinter plugin for hlint.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-hlint
- Owner: SublimeLinter
- License: mit
- Created: 2013-12-25T04:19:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T10:16:55.000Z (10 months ago)
- Last Synced: 2025-04-24T11:27:18.511Z (10 months ago)
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 8
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-hlint
=========================
[](https://github.com/SublimeLinter/SublimeLinter-hlint/actions/workflows/flake8.yml)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [hlint](http://community.haskell.org/~ndm/hlint/).
It will be used with files that have the "Haskell" syntax.
## Installation
SublimeLinter must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) to install the linter plugin.
Before using this plugin, ensure that `hlint` is installed on your system.
To install `hlint`, do the following:
1. Ensure [cabal](http://www.haskell.org/cabal/) is installed. The easiest way is to install the [haskell platform](http://www.haskell.org/haskellwiki/Haskell), as this gives you cabal also.
2. Update cabal:
```
cabal update
```
3. 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](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).
## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html