Skip to content

Commit

Permalink
Merge pull request #3 from crutonjohn/feat/pre-commit
Browse files Browse the repository at this point in the history
feat(pre-commit): add pre-commit hooks
  • Loading branch information
crutonjohn authored May 19, 2022
2 parents f2e27af + 243faea commit 921f6a0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
fail_fast: false
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- args:
- --config-file
- .github/linters/.yamllint.yaml
id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.14
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/sirosen/texthooks
rev: 0.3.1
hooks:
- id: fix-smartquotes
- repo: https://github.com/zricethezav/gitleaks
rev: v8.8.4
hooks:
- id: gitleaks

0 comments on commit 921f6a0

Please sign in to comment.