chore: added hooks
This commit is contained in:
parent
7fde237434
commit
c2ba247dbe
1 changed files with 18 additions and 8 deletions
|
@ -1,9 +1,19 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
#Use dotnet format already installed on your machine
|
#Use dotnet format already installed on your machine
|
||||||
- id: dotnet-format
|
- id: dotnet-format
|
||||||
name: dotnet-format
|
name: dotnet-format
|
||||||
language: system
|
language: system
|
||||||
entry: dotnet format --include
|
entry: dotnet format --include
|
||||||
types_or: ["c#", "vb"]
|
types_or: [c#, vb]
|
||||||
|
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
|
||||||
|
rev: v1.6.26.11
|
||||||
|
hooks:
|
||||||
|
- id: actionlint
|
||||||
|
additional_dependencies: [pyflakes>=3.0.1, shellcheck-py>=0.9.0.5]
|
||||||
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
||||||
|
rev: v2.11.0
|
||||||
|
hooks:
|
||||||
|
- id: pretty-format-yaml
|
||||||
|
args: [--autofix, --indent, '2']
|
||||||
|
|
Loading…
Reference in a new issue