Newer
Older
**This project has been discontinued and has been replaced by
[pre-commit-hooks](https://git.shore.co.il/nimrod/pre-commit-hooks).**
[![pipeline status](https://git.shore.co.il/nimrod/terraform-pre-commit/badges/master/pipeline.svg)](https://git.shore.co.il/nimrod/terraform-pre-commit/-/commits/master)
Terraform [pre-commit](https://pre-commit.com/) hooks.
## Requirements
- [pre-commit](https://pre-commit.com/) 0.18.0 or later.
- [Terraform](https://www.terraform.io/)
## Usage example
```yaml
- repo: https://git.shore.co.il/nimrod/terraform-pre-commit.git
rev: v0.1.0
hooks:
- id: tf-fmt
- id: tf-validate
```
## License
This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/explore/>.