Skip to content

Commit

Permalink
Migrate pre-commit to get ahead of deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Oct 18, 2024
1 parent 2fcc5fc commit 98d852c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ repos:
rev: v4.5.0
hooks:
- id: check-yaml
stages: [commit]
stages: [pre-commit]
- id: check-json
exclude: "^.vscode/"
stages: [commit]
stages: [pre-commit]
- id: check-merge-conflict
stages: [commit]
stages: [pre-commit]
- id: check-case-conflict
stages: [commit]
stages: [pre-commit]
- id: detect-private-key
stages: [commit]
stages: [pre-commit]
- id: end-of-file-fixer
stages: [commit]
stages: [pre-commit]
- id: trailing-whitespace
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/crate-ci/committed
rev: v1.0.20
hooks:
Expand All @@ -37,19 +37,19 @@ repos:
language: system
types: [go]
pass_filenames: false
stages: [commit]
stages: [pre-commit]
- id: lint
name: lint
entry: make
args: ["lint"]
language: system
types: [go]
pass_filenames: false
stages: [commit]
stages: [pre-commit]
- id: build
name: build
entry: make
language: system
types: [go]
pass_filenames: false
stages: [commit]
stages: [pre-commit]

0 comments on commit 98d852c

Please sign in to comment.