blob: cfceb847d0e83250f1b2e5f1436cceb6eeb53731 [file] [log] [blame]
Anil Belur09118342023-05-10 09:41:30 +10001---
2default_language_version:
3 python: python3
4 node: "14.13.0"
5repos:
6 - repo: https://github.com/pre-commit/pre-commit-hooks
Anil Belur151000d2024-02-07 19:49:29 +10007 rev: v4.5.0
Anil Belur09118342023-05-10 09:41:30 +10008 hooks:
9 - id: check-json
10 - id: trailing-whitespace
11
12 - repo: https://github.com/pre-commit/mirrors-prettier
Anil Belur151000d2024-02-07 19:49:29 +100013 rev: v4.0.0-alpha.8
Anil Belur09118342023-05-10 09:41:30 +100014 hooks:
15 - id: prettier
16 stages: [commit]
17
18 - repo: https://github.com/jorisroovers/gitlint
Anil Belur151000d2024-02-07 19:49:29 +100019 rev: v0.19.1
Anil Belur09118342023-05-10 09:41:30 +100020 hooks:
21 - id: gitlint
22 stages: [commit-msg]
23
24 - repo: https://github.com/jumanjihouse/pre-commit-hooks
Anil Belur151000d2024-02-07 19:49:29 +100025 rev: 3.0.0
Anil Belur09118342023-05-10 09:41:30 +100026 hooks:
27 - id: shellcheck
28 exclude: >
29 (?x)^(
30 jjb/global-jjb/.*|
31 packer/common-packer/.*|
32 jenkins-config/.*
33 )$
34
35 - repo: https://github.com/adrienverge/yamllint
Anil Belur151000d2024-02-07 19:49:29 +100036 rev: v1.34.0
Anil Belur09118342023-05-10 09:41:30 +100037 hooks:
38 - id: yamllint