Skip to content

Commit

Permalink
ci: added pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
acovaci committed May 17, 2024
1 parent fc8338f commit fbd539e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
types_or: [yaml]
- id: check-toml
types_or: [toml]
- id: check-executables-have-shebangs
types_or: [shell, text]
- id: check-shebang-scripts-are-executable
types_or: [shell, text]
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: remove-crlf
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: cargo-check
- id: clippy

0 comments on commit fbd539e

Please sign in to comment.