Skip to content

Commit

Permalink
Added golangci-lint to pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Jul 26, 2023
1 parent bfc744b commit e83de48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ repos:
hooks:
- id: typos
args: []
- repo: https://github.com/golangci/golangci-lint
rev: v1.53.3
hooks:
- id: golangci-lint
entry: bash -c 'cd awpy/parser && golangci-lint run --new-from-rev HEAD --fix'
# - repo: 'https://github.com/RobertCraigie/pyright-python'
# rev: v1.1.316
# hooks:
Expand Down

0 comments on commit e83de48

Please sign in to comment.