Skip to content

Commit

Permalink
update pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Feb 28, 2024
1 parent 5a42530 commit 34b2007
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ repos:
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
Expand All @@ -24,35 +20,42 @@ repos:
- repo: local
hooks:
- id: make-verify-boilerplate
name: Run make verify-boilerplate
name: Verify boilerplate
description: Runs `make verify-boilerplate` to check for boilerplate headers.
entry: make verify-boilerplate
language: system
- repo: local
hooks:
- id: make-verify-modules
name: Run make verify-modules
name: Verify modules
description: Runs `make verify-modules` to verify go.sum go.mod are the latest.
entry: make verify-modules
language: system
- repo: local
hooks:
- id: make-verify-shellcheck
name: Run make verify-shellcheck
name: Verify shellcheck
description: Runs `make verify-shellcheck` to verify shell files are passing lint.
entry: make verify-shellcheck
language: system
- repo: local
hooks:
- id: make-verify-tiltfile
name: Run make verify-tiltfile
name: Verify tiltfile
description: Runs `make verify-tiltfile` to verify Tiltfile format.
entry: make verify-tiltfile
language: system
- repo: local
hooks:
- id: make-codespell
name: Run make verify-codespell
name: Verify codespell
description: Runs `make verify-codespell` to verify codespell format.
entry: make verify-codespell
language: system
- repo: local
hooks:
- id: make-lint
name: Lint codebase
description: Runs `make lint` to check for linter errors.
entry: make lint
language: system

0 comments on commit 34b2007

Please sign in to comment.