Skip to content

Commit

Permalink
chore(pre-commit): added pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 13, 2024
1 parent 0ccd08c commit b2ff8cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: clippy

0 comments on commit b2ff8cd

Please sign in to comment.