File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,15 +36,6 @@ repos:
3636 - --hook-config=--create-file-if-not-exist=true
3737 stages : [pre-commit]
3838
39- - repo : https://github.com/thlorenz/doctoc
40- rev : v2.2.0 # INFBASE_MAINTAINED_VERSION - This version is maintained by inf-base.
41- hooks :
42- - id : doctoc
43- args :
44- - --github
45- - --title=# Table of contents
46- stages : [pre-commit]
47-
4839 - repo : local
4940 hooks :
5041 - id : terraform-validation-teardown
@@ -67,6 +58,20 @@ repos:
6758 name : Check if CHANGELOG.md is updated before push
6859 stages : [pre-push]
6960
61+ - repo : https://github.com/thlorenz/doctoc
62+ rev : v2.2.0 # INFBASE_MAINTAINED_VERSION - This version is maintained by inf-base.
63+ hooks :
64+ - id : doctoc
65+ args :
66+ - --github
67+ - --title=# Table of contents
68+ exclude : |
69+ (?x)(
70+ ^README-Makefile.md$
71+ )
72+ name : Add TOC to Markdown files
73+ stages : [pre-commit]
74+
7075 - repo : https://github.com/pre-commit/pre-commit-hooks
7176 rev : v6.0.0 # INFBASE_MAINTAINED_VERSION - This version is maintained by inf-base.
7277 hooks :
Original file line number Diff line number Diff line change 2424- Updated the versions used to testing for ` 1.13 ` and ` 1.14 ` .
2525- Updated Terraform and TFLint versions.
2626- Added TOC to README
27+ - Moved doctoc to after terraform-docs
2728
2829## 7.1.2 - 2026-01-16
2930- Improve Terraform Validation processing.
You can’t perform that action at this time.
0 commit comments