Type object
File match .hadolint.yaml hadolint.yaml .hadolint.yml hadolint.yml
Schema URL https://catalog.lintel.tools/schemas/schemastore/hadolint/latest.json
Source https://raw.githubusercontent.com/hadolint/hadolint/master/contrib/hadolint.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Dockerfile linter, validate inline bash, written in Haskell

Properties

disable-ignore-pragma boolean

Disable inline ignore pragmas # hadolint ignore=DLxxxx

failure-threshold string

A threshold controlling how severe a rule violation must be before the return code indicates failure.

One of: const: "error" const: "error", const: "warning" const: "warning", const: "info" const: "info", const: "style" const: "style", const: "ignore" const: "ignore", const: "none" const: "none"
format string

Output format

Values: "tty" "json" "checkstyle" "codeclimate" "gitlab_codeclimate" "gnu" "codacy"
strict-labels boolean

Strictly adhere to label-schem, don't allow additional labels.

label-schema object

A label-schema. See https://github.com/hadolint/hadolint#linting-labels for reference.

no-color boolean

Don't colorize output.

no-fail boolean

Don't exit with a failure status code when any rule is violated.

override object
4 nested properties
error items[]

A list of rules to be treated with "error" severity

warning items[]

A list of rules to be treated with "warning" severity

info items[]

A list of rules to be treated with "info" severity

style items[]

A list of rules to be treated with "style" severity

ignored string[]

A list of rules to be ignored

trustedRegistries string[]

A list of trusted registries. Ex: docker.io