ThetaDev
0c8d70d6e1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
22 lines
542 B
YAML
22 lines
542 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/
|
|
pass_filenames: false
|
|
entry: npm run --prefix ui/menu pc
|