Skip to content

Releases: gruntwork-io/pre-commit

v0.1.4

29 Mar 14:40
86acc66
Compare
Choose a tag to compare

Modules affected

  • terragrunt-hclfmt [NEW]

Description

Introduces a new pre-commit hook for running terragrunt hclfmt.

Related links

v0.1.3

07 Feb 17:16
e309b4f
Compare
Choose a tag to compare

Modules affected

  • terraform-fmt

Description

Fixes a bug where the exclude settings were being ignored with the terraform-fmt hook.

Related links

v0.1.2

07 Feb 05:38
911f8e2
Compare
Choose a tag to compare

Modules affected

  • markdown-link-check [NEW]

Description

Adds a new pre-commit hook to run markdown-link-check on the changed files.

Related links

v0.1.1

06 Jan 20:29
5d5581f
Compare
Choose a tag to compare

Modules affected

  • tflint [NEW]

Description

Adds a new pre-commit hook to run tflint on the changed files.

Special Thanks

Special thanks to @Tensho for their contribution!

Related links

v0.1.0

26 Dec 18:58
db47313
Compare
Choose a tag to compare

Modules affected

  • terraform-validate [NEW]

Description

Adds a new pre-commit hook to run terraform validate.

Note that starting this release, the minimal version supported is pre-commit version 1.13. You must upgrade your runtime environment to at least v1.13 to use the hooks.

Special Thanks

Special thanks to @Tensho for their contribution!

Related links

v0.0.9

08 May 23:24
daaa00c
Compare
Choose a tag to compare

Modules affected

  • gofmt

Description

  • Fixes a bug in the gofmt hook where the package input was not prefixed with ./, so golang was treating the input like a package as opposed to a directory.

Related links

v0.0.8

22 Feb 12:59
6fa8ad1
Compare
Choose a tag to compare

Modules affected

  • shellcheck

Description

  • Updated the shellcheck pre-commit hook to only match *sh shebangs (e.g., sh, bash, zsh, etc). It used to (inadvertently) match a much broader range of files, such as bats tests.

Related links

v0.0.7

08 Feb 18:47
2236f70
Compare
Choose a tag to compare

Hooks affected

  • helmlint

Description

  • Add support for a chart that intentionally leaves required variables out. Specifically, the pre-commit hook will now look for an additional values.yaml file called linter_values.yaml, which will be merged with the charts values.yaml. See the README for more information.

Reference

#9

v0.0.6

08 Feb 01:27
4c7b1a1
Compare
Choose a tag to compare

Hooks affected

  • helmlint

Description

  • Updates the helmlint hook so that debug logs are logged to stderr.
  • Updates to the helmlint script for better maintainability.

Reference

#8

v0.0.5

06 Feb 22:25
590f1ea
Compare
Choose a tag to compare

Hooks affected

  • helmlint [NEW]

Description

  • Introduces a new pre-commit hook for running helm lint on your helm charts.

Reference

#7