This repository has been archived on 2026-03-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2023-01-28 12:25:58 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
|
rev: v4.4.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
args:
|
|
|
|
|
- --allow-multiple-documents
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
|
2023-08-30 17:59:51 +02:00
|
|
|
rev: v1.0.5
|
2023-01-28 12:25:58 +01:00
|
|
|
hooks:
|
|
|
|
|
- id: gitlab-ci-linter
|
2023-05-08 20:55:12 +02:00
|
|
|
args:
|
|
|
|
|
- --project
|
|
|
|
|
- unboundsoftware/shiny/sentrysetup
|
2023-01-28 12:25:58 +01:00
|
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
2023-05-19 10:58:52 +02:00
|
|
|
rev: v9.5.0
|
2023-01-28 12:25:58 +01:00
|
|
|
hooks:
|
|
|
|
|
- id: commitlint
|
|
|
|
|
stages: [ commit-msg ]
|
|
|
|
|
additional_dependencies: [ '@commitlint/config-conventional' ]
|
|
|
|
|
- repo: https://github.com/dnephin/pre-commit-golang
|
|
|
|
|
rev: v0.5.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: go-mod-tidy
|
|
|
|
|
- id: go-imports
|
|
|
|
|
args:
|
|
|
|
|
- -local
|
|
|
|
|
- gitlab.com/unboundsoftware/shiny/authz_client
|
|
|
|
|
- repo: https://github.com/lietu/go-pre-commit
|
|
|
|
|
rev: v0.0.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: go-test
|
|
|
|
|
- id: gofumpt
|
2023-05-19 10:58:52 +02:00
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
2023-08-30 17:59:51 +02:00
|
|
|
rev: v1.54.2
|
2023-05-19 10:58:52 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: golangci-lint
|