Skip to content

Commit 86d14e6

Browse files
feat(ruby): add rubocop pre-commit hook entry
Add commented-out rubocop hook for Ruby projects. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0f66fc7 commit 86d14e6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ repos:
4040
# - id: terraform_fmt
4141
# - id: terraform_tflint
4242

43+
# --- Ruby (uncomment if languages includes ruby) ---
44+
# Linting and formatting with rubocop
45+
# - repo: https://github.com/rubocop/rubocop
46+
# rev: v1.73.2
47+
# hooks:
48+
# - id: rubocop
49+
4350
# --- Secret Detection ---
4451
# Detects hardcoded secrets, API keys, and credentials in code
4552
- repo: https://github.com/gitleaks/gitleaks

0 commit comments

Comments
 (0)