File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ setup_pre_commit_config() {
6868 if [[ ! -f " $file " ]]; then
6969 cat > " $file " << 'EOF '
7070repos:
71- # ✅ Precommit hooks
71+ ############ ✅ Precommit hooks #############
7272 - repo: https://github.com/pre-commit/pre-commit-hooks
7373 rev: v4.4.0
7474 hooks:
8181 - id: destroyed-symlinks
8282 - id: pretty-format-json
8383
84- # ✅ golang fmt and go tidey
84+ ########## ✅ golang fmt and go tidey #########
8585 - repo: https://github.com/TekWizely/pre-commit-golang
8686 rev: v1.0.0-rc.1
8787 hooks:
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ setup_pre_commit_config() {
6464
6565 cat > " $file " << 'EOF '
6666repos:
67+ ############ ✅ Precommit hooks #############
6768 - repo: https://github.com/pre-commit/pre-commit-hooks
6869 rev: v4.4.0
6970 hooks:
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ setup_pre_commit_config() {
6060
6161 cat > " $config " << 'EOF '
6262repos:
63- # ✅ Generic pre-commit hygiene
63+ ############ ✅ Precommit hooks #############
6464 - repo: https://github.com/pre-commit/pre-commit-hooks
6565 rev: v6.0.0
6666 hooks:
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ setup_pre_commit_config() {
4444 if [ ! -f " $pre_commit_config " ]; then
4545 cat > " $pre_commit_config " << EOF
4646repos:
47+ ############ ✅ Terraform Docs #############
4748 - repo: https://github.com/terraform-docs/terraform-docs
4849 rev: "v0.16.0"
4950 hooks:
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ setup_pre_commit_config() {
7171 if [[ ! -f " $file " ]]; then
7272 cat > " $file " << 'EOF '
7373repos:
74+ ############ ✅ Precommit hooks #############
7475 - repo: https://github.com/pre-commit/pre-commit-hooks
7576 rev: v4.4.0
7677 hooks:
You can’t perform that action at this time.
0 commit comments