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 |
| 4 | rev: v4.4.0 |
| 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 |
| 24 | rev: v1.31.0 |
| 25 | hooks: |
| 26 | - id: yamllint |
| 27 | |
| 28 | - repo: https://github.com/pre-commit/mirrors-prettier |
| 29 | rev: v3.0.0-alpha.9-for-vscode |
| 30 | hooks: |
| 31 | - id: prettier |
| 32 | stages: [commit] |