Skip to content

Commit

Permalink
Add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
x86-39 committed Jun 30, 2023
1 parent 898cbb7 commit 4e9d184
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-yaml
files: .*\.(yaml|yml)$
args: [--unsafe]
- id: check-json
- id: check-xml
- id: check-toml
- id: check-case-conflict
- id: check-merge-conflict
- id: detect-private-key
- id: check-shebang-scripts-are-executable
- id: check-executables-have-shebangs

...

0 comments on commit 4e9d184

Please sign in to comment.