Skip to content

Update pre-commit hook hadolint/hadolint to v2

Stackspin-renovate Bot requested to merge renovate/hadolint-hadolint-2.x into main

This MR contains the following updates:

Package Type Update Change
hadolint/hadolint repository major v1.23.0 -> v2.10.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

hadolint/hadolint

v2.10.0

Compare Source

What's Changed

The highlight of this release is the support for ARM64 binaries.

Full Changelog: https://github.com/hadolint/hadolint/compare/v2.9.3...v2.10.0

v2.9.3

Compare Source

What's Changed

Full Changelog: https://github.com/hadolint/hadolint/compare/v2.9.2...v2.9.3

v2.9.2

Compare Source

What's Changed

Full Changelog: https://github.com/hadolint/hadolint/compare/v2.9.1...v2.9.2

v2.9.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hadolint/hadolint/compare/v2.8.0...v2.9.1

v2.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hadolint/hadolint/compare/v2.8.0...v2.9.0

v2.8.0

Compare Source

Bugfixes

  • heredocs: fix line continuation bug (#​700)
  • bugfix: handle yum/dnf modularity #​702 (#​703)
  • DL3059: RUNs and comments mixed (#​713)
  • DL3009: Fix handling cache mounts (#​727)

Features

  • Silence DL3020 even for doube quoted URLs #​693 (#​695)
  • fomatters: Add SARIF formatter (#​704)
  • Add hadolint shell pragma (#​708)
  • DL3034: support --non-interactive and -n (#​707)
  • DL3010: Allow intentionally unextracted archives (#​711)
  • DL3059: ignore chains of commands (#​475 )
  • Overhaul: Reorganize tests, redesign configuration (#​721)

v2.7.0

Compare Source

Features

  • Added heredoc support to the Dockefile parser
  • Allow upgrades by removing DL3017, DL3031, DL3039 and adjusting DL3035 (#​677)

Bugfixes

  • DL3010, DL3020: fix edge-cases for archives (#​681)
  • Documentation: List default severity (#​680)

v2.6.1

Compare Source

New features

  • Feature: Silence DL3009,DL3019 for cache mounts (#​672)

v2.6.0

Compare Source

Bugfixes

  • Add sonarqube to cli output (#​655)
  • Lower severity level of DL3047 to info (#​656)
  • Sonarqube-formatter: fix start column #​658 (#​663)

v2.5.0

Compare Source

Bug fixes:

  • shellcheck: ignore non-posix shells (#​654)
  • threshold: tune behaviour to match help message (#​653)

New Features:

  • Add file-path-in-report option for checkstyle format (#​642)
  • formatters: add SonarQube formatter (#​641)

v2.4.1

Compare Source

Bugfixes

  • Changed named for CLI option threshold (#​637)
  • Avoid index overrun in DL3045 (#​640)

v2.4.0

Compare Source

Bug fixes

  • Fixed parsing of the config file, it was silently ignored documented configuration paths
  • DL3060: made logic aware of stages #​620
  • Fixed parsing of dockerfiles including a custom escape char

Features

  • options: introduce failure severity threshold #​613
  • options: added verbose flag to log configuration file used #​615
  • Optionally accept the yml extension for the config file #​617

v2.3.0

Compare Source

New features

  • Added support for chmod flag (#​612)

v2.2.0

Compare Source

New Rules

  • DL3060: Lint for yarn cache clean #​395 (#​592)
  • DL3059: Multiple consecutive RUN instructions (#​591)

Bugfixes

  • json-formatter: fix error message (#​594)
  • DL3005: allow apt-get upgrade (fix #​562) (#​596)
  • DL3059: improve behaviour when considering flags (#​595)
  • Fixed #​444 ("missing whitespace" error when using the 'required' option for a secret mount in RUN)
  • Improved error message for the configuration file (#​600)
  • DL3042: respect PIP_NO_CACHE_DIR variable (#​604)

v2.1.0

Compare Source

Bug fixes

  • Fixed the json formatting for multiple files so that it only outputs results in a single array (#​589)
  • Fixed alternative windows paths in various checks (#​581)
  • Fixed issue in interpreting an argument flag as an npm package (#​586)

New Features

  • Added support for email address checks in LABEL schemas (#​579)

v2.0.0

Compare Source

This version features a major refactoring of the internal code with a focus on maintainability and efficiency. It also contains several new exciting features!

New Features


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports