2023-11-16 13:26:55 +00:00
|
|
|
repos:
|
2024-09-16 19:11:40 +00:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
2024-02-07 15:40:36 +00:00
|
|
|
#Use dotnet format already installed on your machine
|
2024-09-16 19:11:40 +00:00
|
|
|
- id: dotnet-format
|
|
|
|
name: dotnet-format
|
|
|
|
language: system
|
2025-01-16 13:30:40 +00:00
|
|
|
entry: dotnet format --include Continuity.slnx
|
2024-09-16 19:11:40 +00:00
|
|
|
types_or: [c#, vb]
|
|
|
|
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
|
2025-01-16 13:30:40 +00:00
|
|
|
rev: v1.7.6.22
|
2024-09-16 19:11:40 +00:00
|
|
|
hooks:
|
|
|
|
- id: actionlint
|
|
|
|
additional_dependencies: [pyflakes>=3.0.1, shellcheck-py>=0.9.0.5]
|
|
|
|
- repo: https://github.com/hadolint/hadolint
|
2025-01-16 13:30:40 +00:00
|
|
|
rev: v2.13.1-beta
|
2024-09-16 19:11:40 +00:00
|
|
|
hooks:
|
|
|
|
- id: hadolint-docker
|
|
|
|
args: [--ignore, SC2086]
|
|
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
2024-09-16 19:13:03 +00:00
|
|
|
rev: v2.14.0
|
2024-09-16 19:11:40 +00:00
|
|
|
hooks:
|
|
|
|
- id: pretty-format-yaml
|
|
|
|
args: [--autofix, --indent, '2']
|