mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 21:31:46 +00:00
chore: apply prettier on the entire project
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "Running format..."
|
||||
npm run format
|
||||
|
||||
# Re-stage files that format modified so the commit includes the formatted output.
|
||||
git diff --name-only | while read -r file; do
|
||||
git add "$file"
|
||||
done
|
||||
|
||||
echo "[SKIPPED] Running lint..."
|
||||
# npm run lint
|
||||
Reference in New Issue
Block a user