Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

VSCode extension to integrate hadolint, a Dockerfile linter, into VSCode

License

NotificationsYou must be signed in to change notification settings

michaellzc/vscode-hadolint

Repository files navigation

Build StatusGreenkeeper badge

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.

Preview

https://gyazo.com/a701460ccdda13a1a449b2c3e8da40bc

Get started

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.

Configuration

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

Development

  • Runyarn install to install dependencies.
  • PressF5 or runLaunch Client from debugger.

[8]ページ先頭

©2009-2025 Movatter.jp