Skip to content

Commit

Permalink
fix: pre commit doc not in modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mamu0 committed Oct 8, 2024
1 parent cd68c72 commit bbd02ca
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ repos:
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl
- id: terraform_fmt
- id: terraform_docs
name: terraform_docs on modules
name: terraform_docs on resources
args:
# - --hook-config=--create-file-if-not-exist=true
- --args=--hide providers
- --hook-config=--create-file-if-not-exist=true
exclude: |
(?x)^(
src\/(?:.*\/)?(?:_?modules)\/.*
)$
- id: terraform_validate
args:
- --args=-json
Expand Down

0 comments on commit bbd02ca

Please sign in to comment.