Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doublify/pre-commit-rust
Rust hooks for pre-commit
https://github.com/doublify/pre-commit-rust
git pre-commit rust
Last synced: 2 months ago
JSON representation
Rust hooks for pre-commit
- Host: GitHub
- URL: https://github.com/doublify/pre-commit-rust
- Owner: doublify
- Created: 2017-04-13T12:28:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-04T01:18:28.000Z (6 months ago)
- Last Synced: 2024-08-04T08:07:46.712Z (6 months ago)
- Topics: git, pre-commit, rust
- Size: 16.6 KB
- Stars: 160
- Watchers: 4
- Forks: 74
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust hooks for pre-commit
[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com).
## Using rust tools with pre-commit
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
- id: cargo-check
```## Passing arguments to rustfmt
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
args: ['--verbose', '--edition', '2018', '--']
```