mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-09-11 05:35:26 +03:00
Fixed and added pre-commit hooks
This commit is contained in:
parent
5680c03e71
commit
864038f5e8
@ -1,5 +1,18 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/doublify/pre-commit-rust
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v1.0
|
rev: v4.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: fmt
|
- id: check-merge-conflict
|
||||||
|
- id: check-toml
|
||||||
|
- id: check-yaml
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
args: [ --markdown-linebreak-ext=md ]
|
||||||
|
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: cargo-fmt
|
||||||
|
name: cargo fmt
|
||||||
|
entry: cargo fmt --
|
||||||
|
language: rust
|
||||||
|
types: [ rust ]
|
||||||
|
Loading…
Reference in New Issue
Block a user