Andrew Grimberg | ea19c6d | 2023-05-03 09:43:27 -0700 | [diff] [blame] | 1 | --- |
| 2 | repos: |
| 3 | - repo: https://github.com/pre-commit/pre-commit-hooks |
Anil Belur | efce693 | 2024-02-07 13:05:28 +1000 | [diff] [blame] | 4 | rev: v4.5.0 |
Andrew Grimberg | ea19c6d | 2023-05-03 09:43:27 -0700 | [diff] [blame] | 5 | 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 Belur | efce693 | 2024-02-07 13:05:28 +1000 | [diff] [blame] | 24 | rev: v1.34.0 |
Andrew Grimberg | ea19c6d | 2023-05-03 09:43:27 -0700 | [diff] [blame] | 25 | hooks: |
| 26 | - id: yamllint |
| 27 | |
| 28 | - repo: https://github.com/pre-commit/mirrors-prettier |
Anil Belur | efce693 | 2024-02-07 13:05:28 +1000 | [diff] [blame] | 29 | rev: v4.0.0-alpha.8 |
Andrew Grimberg | ea19c6d | 2023-05-03 09:43:27 -0700 | [diff] [blame] | 30 | hooks: |
| 31 | - id: prettier |
| 32 | stages: [commit] |