Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

AtomLinter/linter-hadolint

Repository files navigation

linter-hadolint

Build Status Dependency Status

This linter plugin for Linter provides an interface to hadolint. It will be used with files that have the "source.dockerfile" syntax.

Installation

Hadolint installation

You must have hadolint installed to use this plugin.

Plugin installation

apm install linter-hadolint

Note that if you do not have the linter package installed it will be installed for you.

Contributing

See the contributing guidelines to get started.

Settings

You can configure linter-hadolint from the settings menu:

  • executablePath Path to your hadolint executable. By default it will use hadolint as the executable.

  • ignoreErrorCodes A list of error codes to ignore.

    Example: To ignore DL3000 and DL3002 you would enter something like this:

    DL3000, DL3002