mirror of
https://github.com/uutils/tar.git
synced 2026-06-10 16:14:35 -07:00
24 lines
758 B
YAML
24 lines
758 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: rust-linting
|
|
name: Rust linting
|
|
description: Run cargo fmt on files included in the commit.
|
|
entry: cargo +stable fmt --
|
|
pass_filenames: true
|
|
types: [file, rust]
|
|
language: system
|
|
- id: rust-clippy
|
|
name: Rust clippy
|
|
description: Run cargo clippy on files included in the commit.
|
|
entry: cargo +stable clippy --workspace --all-targets --all-features --
|
|
pass_filenames: false
|
|
types: [file, rust]
|
|
language: system
|
|
- id: cspell
|
|
name: Code spell checker (cspell)
|
|
description: Run cspell to check for spelling errors.
|
|
entry: cspell --
|
|
pass_filenames: true
|
|
language: system
|