Tags: gruntwork-io/pre-commit
Tags
Sentinel Fmt Hook Bugfix (#123) * Fix shebang line 1 and fmt command shebang needs to be on line one to work properly and sentinel fmt no longer has a diff cli argument * adding execute to sentinel-fmt hook Signed-off-by: Will Schultz <schultzwc18@gmail.com> --------- Signed-off-by: Will Schultz <schultzwc18@gmail.com>
Fix exclude regular expressions (#117) * Fix exclude regular expressions the current expressions look like a typo? They require one or more literal '.'s, followed by one of any symbol, then "terraform". I reasoned that the `.+` at the start was entirely superfluous and just check for the `.terraform/` * delete extra $'s
Feature/add git root keyword 102 (#103) * feature: add a git root keyword for `--config` argument When operating in a monorepo the new functionality of tflint (`--chdir`) breaks config file path by changing the current working directory when tflint runs. This commit patches this gap by allowing a user to provide __GIT_ROOT__ or populate a environment variable with a custom string and when the `--config` argument is is found it replaces that keyword with the repository root (pwd in the case of pre-commit). * feature: add documentation
PreviousNext