hlint
Haskell source code suggestions (by ndmitchell)
hadolint
Dockerfile linter, validate inline bash, written in Haskell (by hadolint)
| hlint | hadolint | |
|---|---|---|
| 3 | 33 | |
| 1,594 | 12,187 | |
| 0.1% | 0.9% | |
| 5.2 | 8.1 | |
| 3 months ago | 9 days ago | |
| Haskell | Haskell | |
| BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hlint
Posts with mentions or reviews of hlint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-06.
-
Was simplified subsumption worth it for industry Haskell programmers?
There is an open issue on hlint for it and the situation doesn't seem encouraging for anyone using apply-refact on save for Haskell files.
- create a manage hook on only one workspace
-
Write Rust lints without forking Clippy
may want to look at something like https://github.com/ndmitchell/hlint for inspiration. it can be a little finicky but you can express mildly complicated linting rules
hadolint
Posts with mentions or reviews of hadolint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-05-22.
-
9 in 10 Docker Compose files skip the basic security flags
What bugged me was the asymmetry. Kubernetes and Terraform have a deep bench of scanners: Checkov, Trivy, kube-bench, Kubescape. Compose is an afterthought in most of them. The Compose-specific tools I found solved adjacent problems instead. Hadolint lints Dockerfiles, not Compose files. dclint checks Compose structure and style, not security.
-
DevSecOps: Integrating Security into Your CI/CD Pipeline
# .pre-commit-config.yaml repos: - repo: https://github.com/Yelp/detect-secrets rev: v1.4.0 hooks: - id: detect-secrets args: ['--baseline', '.secrets.baseline'] exclude: 'tests/.*|\.lock$' - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: check-added-large-files args: ['--maxkb=500'] - id: check-merge-conflict - id: detect-private-key - id: no-commit-to-branch args: ['--branch', 'main'] - repo: https://github.com/hadolint/hadolint rev: v2.12.0 hooks: - id: hadolint-docker name: Lint Dockerfiles
-
Developer Tooling #007
hadolint Description: Dockerfile linter, validate inline bash, written in Haskell. What we like: Well-maintained over the long term, active development, works very well. A true 12-factor application - can even be configured via environment vars! What we don't like: No JSON output. Extras: Lint Dockerfiles online
-
Stop shipping insecure Dockerfiles: real devs don’t run as root
Hadolint Dockerfile Linter
-
Still Shipping 1GB Docker Images? Here’s How to Crush Them in Half an Hour
Hadolint — Linter for your Dockerfile
-
Dockerfile Best Practices: The Ultimate Guide to Optimizing Your Container Builds
[Source: Hadolint on GitHub]
-
10 Docker Security Best Practices
One such linter is hadolint. It parses a Dockerfile and shows a warning for any errors that do not match its best practice rules.
-
Top FP technologies
Like hadolint: Dockerfile linter, validate inline bash, written in Haskell; Purescript, Unison, Idris languages implemented in Haskell. I recommend to check ideas behinds those projects. Especially Unison's mind-blowing something naive idea about infinite computational resources.
-
Cloud Security and Resilience: DevSecOps Tools and Practices
3. Hadolint: https://github.com/hadolint/hadolint Hadolint is a Dockerfile linter that helps you build best practice Docker images, reducing vulnerabilities in your container configurations.
- Dockerfile Linter
What are some alternatives?
When comparing hlint and hadolint you can also consider the following projects:
ormolu - A formatter for Haskell source code
dockle - Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start
ghcid - Very low feature GHCi based IDE
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
flamingra - FlameGraphs of GHC profiling
uhc-util - Utilities required by UHC (Utrecht Haskell Compiler)