Skip to content

Commit 6372e49

Browse files
DevOpsDevOps
authored andcommitted
feat: sync-precommit
1 parent d4e4997 commit 6372e49

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

global/pre-commit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ setup_pre_commit_config() {
6868
if [[ ! -f "$file" ]]; then
6969
cat > "$file" <<'EOF'
7070
repos:
71+
########## ✅ Precommit Hooks #########
7172
- repo: https://github.com/pre-commit/pre-commit-hooks
7273
rev: v4.4.0
7374
hooks:

python/pre-commit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ setup_pre_commit_config() {
5757

5858
cat > "$file" <<'EOF'
5959
repos:
60+
########## ✅ Precommit Hooks #########
6061
- repo: https://github.com/pre-commit/pre-commit-hooks
6162
rev: v6.0.0
6263
hooks:

terraform/pre-commit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ setup_pre_commit_config() {
5151

5252
cat > "$file" <<'EOF'
5353
repos:
54+
########## ✅ Terraform docs #########
5455
- repo: https://github.com/terraform-docs/terraform-docs
5556
rev: "v0.16.0"
5657
hooks:

typescript/pre-commit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ setup_pre_commit_config() {
7171
if [[ ! -f "$file" ]]; then
7272
cat > "$file" <<'EOF'
7373
repos:
74+
########## ✅ Precommit Hooks #########
7475
- repo: https://github.com/pre-commit/pre-commit-hooks
7576
rev: v4.4.0
7677
hooks:

0 commit comments

Comments
 (0)