blob: ea2aa9f6ceef9fe6d70b54e096cd9be2b55e2f52 [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
7 rev: v4.2.0
8 hooks:
9 - id: check-json
10 - id: trailing-whitespace
11
12 - repo: https://github.com/pre-commit/mirrors-prettier
13 rev: v2.6.2
14 hooks:
15 - id: prettier
16 stages: [commit]
17
18 - repo: https://github.com/jorisroovers/gitlint
19 rev: v0.17.0
20 hooks:
21 - id: gitlint
22 stages: [commit-msg]
23
24 - repo: https://github.com/jumanjihouse/pre-commit-hooks
25 rev: 2.1.6
26 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
36 rev: v1.26.3
37 hooks:
38 - id: yamllint