Skip to content
SPECIFICTION
Get listed

ESLint vs Hadolint

ESLint

eslint.org

Hadolint

github.com

Side by side

FigureESLintHadolint
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
Windows—Yes
macOS—Yes
Linux—Yes
APIYes—
Self-hostedYes—
Plans published11
Spec score · Linters8.0 (#10)7.9 (#13)
Editor integrationsOfficial documentation lists integrations for Visual Studio Code, JetBrains IDEs, Vim, Neovim, Emacs, Sublime Text, and other editors.Documented editor integrations include VS Code, Atom, Emacs, Geany, Sublime Text, Vim, and NeoVim.
PurposeESLint statically analyzes JavaScript code to find and fix problems.Hadolint is a Dockerfile linter that checks Dockerfiles for errors and best practices.

Plans

ESLint

  • Open source ESLintFree

ESLint pricing →

Hadolint

  • HadolintFree

Hadolint pricing →

In their own words

ESLint

ESLint has no write-up on Specifiction yet; its figures are above.

Visit eslint.org

Hadolint

Hadolint is a free Dockerfile linter that parses files into an abstract syntax tree and checks that structure for errors and stated best practices. It uses ShellCheck to inspect Bash code inside Dockerfile RUN instructions. Rules carry either the DL prefix for Hadolint checks or SC for ShellCheck checks. Users can ignore rules, override severity, set failure thresholds, choose report formats, and configure label schemas and trusted registries. Output formats include tty, JSON, Checkstyle, Code Climate, GitLab Code Climate, GNU, Codacy, SonarQube, SARIF, and JUnit. Hadolint runs in Docker or Podman containers and is available as a pre-commit hook. Prebuilt binaries support Linux, macOS, and Windows; installation options include Homebrew, Scoop, Nix, containers, and source builds. Documented integrations cover major CI systems and editors. An online version is hosted at hadolint.github.io/hadolint. The latest listed release is v2.15.1, under GPL-3.0.

Visit github.com