Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 473 Bytes

contributing.md

File metadata and controls

31 lines (21 loc) · 473 Bytes

Contributing guidelines

  1. Install dependencies
brew install pre-commit terraform-docs
  1. Install the git hook scripts

run pre-commit install to set up the git hook scripts

pre-commit install
  1. [optional] Test pre-commit hooks
pre-commit run -a
  1. Done

pre-commit hooks will check:

  • validate terraform config
  • check yaml formattings
  • format terraform config
  • fix missing \n at the end of files
  • fix trailing whitespaces