Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.14 KB

hadolint.md

File metadata and controls

44 lines (32 loc) · 1.14 KB
title description layout
Trunk | How to run hadolint
hadolint is a linter for Docker
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

hadolint

hadolint is a linter for Docker.

You can enable the hadolint linter with:

trunk check enable hadolint

Auto Enabling

hadolint will be auto-enabled if any Docker files are present.

Settings

hadolint supports the following config files:

  • .hadolint.yaml
  • .hadolint.yml

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info. Trunk Code Quality provides a default .hadolint.yaml if your project does not already have one.

Links