Skip to content

Commit adbb80d

Browse files
DevOpsDevOps
authored andcommitted
feat: sync-precommit
1 parent 72092d4 commit adbb80d

5 files changed

Lines changed: 1 addition & 6 deletions

File tree

global/pre-commit.sh

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

golang/pre-commit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ setup_pre_commit_config() {
6464

6565
cat > "$file" <<'EOF'
6666
repos:
67-
############ ✅ Precommit hooks #############
6867
- repo: https://github.com/pre-commit/pre-commit-hooks
6968
rev: v4.4.0
7069
hooks:

python/pre-commit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ setup_pre_commit_config() {
6060

6161
cat > "$config" <<'EOF'
6262
repos:
63-
############ ✅ Precommit hooks #############
6463
- repo: https://github.com/pre-commit/pre-commit-hooks
6564
rev: v6.0.0
6665
hooks:

terraform/pre-commit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ setup_pre_commit_config() {
4444
if [ ! -f "$pre_commit_config" ]; then
4545
cat > "$pre_commit_config" <<EOF
4646
repos:
47-
############ ✅ Terraform Docs #############
4847
- repo: https://github.com/terraform-docs/terraform-docs
4948
rev: "v0.16.0"
5049
hooks:

typescript/pre-commit.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ setup_pre_commit_config() {
7070

7171
if [[ ! -f "$file" ]]; then
7272
cat > "$file" <<'EOF'
73-
repos:
74-
############ ✅ Precommit hooks #############
73+
repos:
7574
- repo: https://github.com/pre-commit/pre-commit-hooks
7675
rev: v4.4.0
7776
hooks:

0 commit comments

Comments
 (0)