mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-18 14:46:25 +00:00
add pre-commit config (#15)
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
d5a72d21ae
commit
213d584878
1 changed files with 11 additions and 0 deletions
11
.pre-commit-config.yaml
Normal file
11
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
repos:
|
||||
- repo: https://github.com/doublify/pre-commit-rust
|
||||
rev: v1.0
|
||||
hooks:
|
||||
- id: fmt
|
||||
name: Rust formatter
|
||||
- id: clippy
|
||||
name: Rust linter
|
||||
args: ['--all-targets', '--', '-D', 'warnings']
|
||||
- id: cargo-check
|
||||
name: Rust compiler check
|
||||
Loading…
Add table
Add a link
Reference in a new issue