- Add mise.toml (prek 0.3.2) and .pre-commit-config.yaml with hooks for trailing whitespace, end-of-file, YAML check, merge conflicts, large files, cargo fmt, cargo clippy (-D warnings), and unit tests - Add prek/mise recipes to justfile - Run cargo fmt to fix formatting issues - Fix all clippy warnings: collapse nested if statements, derive Default for Avatar
7 lines
103 B
TOML
7 lines
103 B
TOML
[tools]
|
|
prek = "0.3.2"
|
|
|
|
[settings]
|
|
# Disable automatic trust prompts - we trust this config
|
|
yes = true
|