Talon/.pre-commit-config.yaml
ThetaDev f993c3a4af
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: add instance info dialog
2023-04-01 17:30:08 +02:00

21 lines
520 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- repo: https://github.com/cathiele/pre-commit-rust
rev: v0.1.0
hooks:
- id: cargo-fmt
args: ["--all"]
- id: cargo-clippy
args: ["--all", "--all-features", "--", "-D", "warnings"]
- repo: local
hooks:
- id: ui-menu
name: ui/menu lint+fmt
language: system
files: ^ui/menu/
entry: sh -c "npm run --prefix ui/menu pc"