- Notifications
You must be signed in to change notification settings - Fork6
VSCode extension to integrate hadolint, a Dockerfile linter, into VSCode
License
michaellzc/vscode-hadolint
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Integrateshadolint, a Dockerfile linter, into VS Code. Please check theirdocumentation.
The extension uses thehadolint
binary installed in the system. If the binary is not existed in$PATH
, the extension will not work as expected.
If you are onMacOS
you can useHomebrew to install hadolint.
brew install hadolint
You can download prebuilt binaries for Linux and Windows from the latestrelease page.
Below is a sample configuration of the extension.
{"hadolintPath":"hadolint","cliOptions": ["--no-color","--ignore","DL3000"],"maxNumberOfProblems":100,"outputLevel":"warning"}
This extension is multi-root compatible. You may have many folders with different
.hadolint.yaml
opened in the same VSCode instance and they will not interfere each other.
You may also create a.hadolint.yaml
in your project root. Learn more fromhadolint documentation.
ignored: -DL3000
- Run
yarn install
to install dependencies. - Press
F5
or runLaunch Client
from debugger.
About
VSCode extension to integrate hadolint, a Dockerfile linter, into VSCode