Skip to content

Commit

Permalink
Add .pre-commit-hooks.yaml
Browse files Browse the repository at this point in the history
This allows to use spicy-format within .pre-commit-config.yaml files.
  • Loading branch information
awelzel committed Sep 5, 2024
1 parent f244525 commit 235c8a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- id: spicy-format
name: Format .spicy files
description: This hooks formats all .spicy files.
entry: spicy-format -s -i
language: rust
files: '\.spicy$'

0 comments on commit 235c8a9

Please sign in to comment.