title | description | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Trunk | How to run hadolint |
hadolint is a linter for Docker |
|
hadolint is a linter for Docker.
You can enable the hadolint linter with:
trunk check enable hadolint
hadolint will be auto-enabled if any Docker files are present.
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.
- hadolint site
- hadolint Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo