Skip to content

Commit

Permalink
root: Add pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwuelker committed Jun 26, 2024
1 parent 66837df commit 01d149f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: cargo-fmt
name: cargo fmt
description: Validate formatting
entry: cargo fmt --all --check
language: system
types: [file, rust]

0 comments on commit 01d149f

Please sign in to comment.