HLint
HLint: A focused Haskell linter for style guidance, custom hints, and refactoring support. Ranked #25 of 33 in Linters by our editors (6.7/10); pricing: Free plan; best for haskell developers wanting refactoring suggestions.
At a glance
- Editor score6.7 / 10
- PricingFree plan
- Best forHaskell developers wanting refactoring suggestions
- Free planYes
- Paid fromFree
- CI supportYes
- Facts checked21 Sep 2026

Where it wins
- Suggests simpler expressions and alternative Haskell functions
- Applies supported suggestions with --refactor
- Supports custom hints, HTML reports, CI, and IDE integrations
Where it doesn't
- Supports only Haskell
- Does not provide security rules
- Automatic refactoring is unavailable for some hints
Our verdict on HLint
HLint is an open-source command-line linter for Haskell code, available on Windows, macOS, and Linux. It analyzes source files for redundant code patterns, style issues, function combinations, and expressions that can be simplified. Its audience is Haskell developers who want actionable refactoring suggestions alongside conventional lint feedback, particularly teams working with Haskell language extensions or C preprocessor input.
Its standout capability is the combination of suggestions, custom rules, and supported automatic refactoring. Developers can configure built-in hints, add project-specific hints, and apply supported suggestions with the --refactor option. HLint also generates interactive HTML reports, giving teams a separate way to review findings. The refactoring scope is selective rather than universal: not every hint supports automatic application, so developers should treat the feature as targeted assistance rather than a complete code transformation system.
HLint fits established Haskell workflows through Haskell Language Server, a GHC plugin, Code Climate, Danger, Restyled, CircleCI, GitHub Actions, Vim, Emacs, and Atom. It supports CI workflows and editor or Haskell IDE integrations, which makes it suitable for individual development as well as automated project checks. Its one-language focus is a strength for Haskell teams but limits its usefulness in mixed-language environments. HLint is a good choice for Haskell-focused style and refactoring guidance; choose another linter when security rules or broader language coverage are required.
Your product? Our editors can test HLint in depth and publish a review, labelled as paid · from $149/mo →
HLint pricing
HLint fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Languages supported | 1 |
| Autofix | Yes |
| Custom rules | Yes |
| Security rules | Not verified |
| IDE support | Ide |
| CI support | Yes |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 8 integrations: Haskell Language Server, ghc-mod, Intero, Code Climate, Danger, Restyled … |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 21 Sep 2026 |
HLint integrations
HLint lists 8 integrations on its own site.
- Haskell Language Server
- ghc-mod
- Intero
- Code Climate
- Danger
- Restyled
- CircleCI
- GitHub Actions
Alternatives to HLint
- ESLintA free, extensible JavaScript linter with autofix, plugins, and broad developer-tool integrations.9.4
- RuffFree Python linting and formatting with more than 900 built-in rules.9.2
- ShellCheckA free, open-source linter for shell syntax, portability, robustness and security checks.9.0
Used HLint? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used HLint for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
HLint is listed in our Linters directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/hlint/"><img src="https://www.itechguides.com/best/badge/hlint.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


