Files
butler-sos/.pre-commit-config.yaml
2022-07-10 17:33:00 +00:00

38 lines
1.1 KiB
YAML

repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.12.0
hooks:
- id: ggshield
language_version: python3
stages: [commit]
# - repo: https://github.com/pre-commit/mirrors-jshint
# rev: '' # Use the sha / tag you want to point at
# hooks:
# - id: jshint
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1" # Use the sha / tag you want to point at
hooks:
- id: prettier
exclude: |
(?x)^(
.github/.*|
src/config/.*|
src/CHANGELOG.md|
src/config/.*|
CHANGELOG.md|
changelog.md|
docs/windows install walkthrough/*.pdf|
docs/api_doc/butler-api.html
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 # Use the ref you want to point at
hooks:
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: detect-private-key