mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 15:14:35 +01:00
Add formatting pre-commit hook
This commit is contained in:
4
.lintstagedrc.json
Normal file
4
.lintstagedrc.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"src-tauri/**/*.rs": "rustfmt --edition 2021",
|
||||
"*": "yarn prettier --write --ignore-unknown"
|
||||
}
|
||||
Reference in New Issue
Block a user