Skip to content

Commit 1f3a412

Browse files
feat(go): add Go to template configuration
Add commented-out golangci-lint pre-commit hook and go language option to .devrail.yml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent eb13eb4 commit 1f3a412

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.devrail.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ languages:
77
# - terraform
88
# - ansible
99
# - ruby
10+
# - go
1011

1112
# fail_fast: false # default: false (run-all-report-all)
1213
# log_format: json # default: json | options: json, human

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ repos:
4747
# hooks:
4848
# - id: rubocop
4949

50+
# --- Go (uncomment if languages includes go) ---
51+
# Linting with golangci-lint v2
52+
# - repo: https://github.com/golangci/golangci-lint
53+
# rev: v2.1.6
54+
# hooks:
55+
# - id: golangci-lint-full
56+
5057
# --- Secret Detection ---
5158
# Detects hardcoded secrets, API keys, and credentials in code
5259
- repo: https://github.com/gitleaks/gitleaks

0 commit comments

Comments
 (0)