mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 03:15:48 -06:00
35 lines
995 B
YAML
35 lines
995 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-added-large-files
|
|
- id: check-merge-conflict
|
|
- id: check-case-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: forbid-submodules
|
|
- id: mixed-line-ending
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: cargo-fmt
|
|
name: cargo fmt
|
|
entry: cargo fmt --all --
|
|
language: system
|
|
types: [rust]
|
|
pass_filenames: false
|
|
- id: cargo-check
|
|
name: cargo check
|
|
entry: cargo check --all-targets
|
|
language: system
|
|
types_or: [rust, cargo, cargo-lock]
|
|
pass_filenames: false
|
|
- id: cargo-check-wasm
|
|
name: cargo check for wasm32-unknown-emscripten
|
|
entry: cargo check --all-targets --target=wasm32-unknown-emscripten
|
|
language: system
|
|
types_or: [rust, cargo, cargo-lock]
|
|
pass_filenames: false
|