2020-11-14 11:38:48 -08:00
|
|
|
fail_fast: false
|
|
|
|
repos:
|
2023-04-22 21:25:56 -07:00
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
|
|
rev: v1.5.1
|
|
|
|
hooks:
|
|
|
|
- id: remove-tabs
|
|
|
|
exclude: "vendor-prefixes\\.txt$"
|
2020-11-14 11:38:48 -08:00
|
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
2023-04-22 21:16:36 -07:00
|
|
|
rev: v1.3.5
|
2020-11-14 11:38:48 -08:00
|
|
|
hooks:
|
|
|
|
- id: clang-format
|
|
|
|
args:
|
|
|
|
- -i
|
2021-02-14 23:59:08 -08:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2023-04-22 21:16:36 -07:00
|
|
|
rev: v2.7.1
|
2020-11-14 11:38:48 -08:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
2023-04-22 22:00:12 -07:00
|
|
|
# Workaround for https://github.com/pre-commit/mirrors-prettier/issues/29
|
|
|
|
additional_dependencies:
|
|
|
|
- prettier@2.8.7
|
2023-04-22 21:16:36 -07:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
exclude: "\\.mustache$"
|