pcmt/.pre-commit-config.yaml
leo 16be42a233
All checks were successful
continuous-integration/drone/push Build is passing
pre-commit: run golangci-lint
2023-04-19 03:01:47 +02:00

22 lines
514 B
YAML

# Copyright 2023 wanderer <a_mirre at utb dot cz>
# SPDX-License-Identifier: GPL-3.0-or-later
---
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-merge-conflict
- repo: meta
hooks:
- id: check-hooks-apply
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v1.0.0-rc.1
hooks:
- id: go-mod-tidy
- id: go-test-mod
- id: go-build-mod
- id: go-fumpt-repo
- id: golangci-lint-mod