mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Clarify terraform-docs config usage (#381)
This commit is contained in:
parent
74a2e54f23
commit
80ec2dd04d
1 changed files with 2 additions and 0 deletions
|
|
@ -417,6 +417,8 @@ Unlike most other hooks, this hook triggers once if there are any changed files
|
|||
args:
|
||||
- --args=--config=.terraform-docs.yml
|
||||
|
||||
Note: Avoid use `recursive.enabled: true` in config file, that can cause unexpected behavior.
|
||||
|
||||
5. If you need some exotic settings, it can be done too. I.e. this one generates HCL files:
|
||||
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue