blob: 497c634174f1cb50b80f0572f86c10b8465e5f9b [file] [log] [blame]
Andrew Grimbergea19c6d2023-05-03 09:43:27 -07001---
2repos:
3 - repo: https://github.com/pre-commit/pre-commit-hooks
Anil Belurefce6932024-02-07 13:05:28 +10004 rev: v4.5.0
Andrew Grimbergea19c6d2023-05-03 09:43:27 -07005 hooks:
6 - id: trailing-whitespace
7 - id: check-executables-have-shebangs
8 stages: [manual]
9 - id: check-json
10 exclude: (.vscode|.devcontainer)
11 - id: no-commit-to-branch
12 args:
13 - --branch=dev
14 - --branch=master
15 - --branch=main
16 - --branch=rc
17
18 - repo: https://github.com/jorisroovers/gitlint
19 rev: v0.19.1
20 hooks:
21 - id: gitlint
22
23 - repo: https://github.com/adrienverge/yamllint.git
Anil Belurefce6932024-02-07 13:05:28 +100024 rev: v1.34.0
Andrew Grimbergea19c6d2023-05-03 09:43:27 -070025 hooks:
26 - id: yamllint
27
28 - repo: https://github.com/pre-commit/mirrors-prettier
Anil Belurefce6932024-02-07 13:05:28 +100029 rev: v4.0.0-alpha.8
Andrew Grimbergea19c6d2023-05-03 09:43:27 -070030 hooks:
31 - id: prettier
32 stages: [commit]