Skip to content
Snippets Groups Projects
Unverified Commit e2ded8d2 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

docs: fix documentation for pre-commit

Adds missing hook documentation.
parent 6296b581
No related branches found
No related tags found
No related merge requests found
Pipeline #22006781 passed
Loading
Loading
@@ -27,7 +27,7 @@ repos:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks
rev: v2.24.0 # renovate:managed:self
rev: v2.25.0 # renovate:managed:self
hooks:
- id: shellcheck
- id: shfmt
Loading
Loading
Loading
Loading
@@ -51,7 +51,7 @@ For example, the `go-*` hooks can be removed for non-Golang projects.
repos:
# pre-commit tasks from common-ci-tasks
- repo: https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks
ref: v2.24.0 # renovate:managed
rev: v2.25.0 # renovate:managed
hooks:
- id: go-fmt # Run gofmt for changed Go files
- id: go-imports # Run go-imports for changed Go files
Loading
Loading
@@ -67,5 +67,6 @@ repos:
- id: yamllint # Validate YAML files using yamllint
- id: terraform-fmt # Apply terraform fmt across all changed terraform files
- id: terraform-tflint # Run tflint on changed modules
- id: terra-transformer-validate-roots # Run terra-transformer validate on root modules
- id: jsonnet-fmt # Apply jsonnetfmt across all changed jsonnet files
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment