gruntwork-io / pre-commit

A collection of pre-commit hooks used by Gruntwork tools
https://gruntwork.io/
Apache License 2.0
484 stars 155 forks source link

Add sentinel fmt hook #89

Closed thepoppingone closed 1 year ago

thepoppingone commented 1 year ago

Description

Creates a hook for running sentinel fmt similar to the hook for running terraform fmt.

resolves #88

Documentation

Updated README.md to describe the new hook.

TODOs

Please ensure all of these TODOs are completed before asking for a review. [ X] Ensure the branch is named correctly with the issue number. e.g: feature/new-vpc-endpoints-955 or bug/missing-count-param-434. [ X] Update the docs. [X ] Keep the changes backward compatible where possible. [ ?] Run the pre-commit checks successfully. [X ] Run the relevant tests successfully. [ X] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.

Related Issues

N/A