mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
e8bb8dffa1
These are not being fixed, so it does not make sense to constantly take on new lints. The fmts may never be stabilized. Currently, you can not even commit, because it errors out. At least switch to lints that make it to stable when they are released.
17 lines
540 B
YAML
17 lines
540 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: rust-linting
|
|
name: Rust linting
|
|
description: Run cargo fmt on files included in the commit.
|
|
entry: cargo 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 clippy --workspace --all-targets --all-features --
|
|
pass_filenames: false
|
|
types: [file, rust]
|
|
language: system
|