mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
Refactor pre-commit hooks to use prek (#976)
* ci: change to prek for pre-commit * refactor: fix shellcheck warnings for the scripts * chore: unify whitespace formatting * nix: add prek to dev shell
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
find . -name "*.qml" -exec sh -c '
|
||||
qmlfmt -t 4 -i 4 -b 250 -w "$1"
|
||||
sed -i "s/pragma ComponentBehavior$/pragma ComponentBehavior: Bound/g" "$1"
|
||||
' _ {} \;
|
||||
' _ {} \;
|
||||
|
||||
Reference in New Issue
Block a user