Add prettier checks to precommit

This commit is contained in:
Claudio Ortolina
2026-05-05 10:46:09 +01:00
parent 5888324cc7
commit c87e725b05
+4
View File
@@ -22,6 +22,10 @@ mix gettext.extract --check-up-to-date
debug_msg "Checking formatting..." debug_msg "Checking formatting..."
mix format --check-formatted mix format --check-formatted
prettier --check '.pi/extensions/**/*.{ts,js,json}'
prettier --check 'assets/css/**/*.css' 'assets/js/**/*.js'
prettier --check 'docs/**/*.md' 'docs/**/*.livemd' 'README.md'
prettier --check 'backlog/archive/**/*.md' 'backlog/completed/**/*.md' 'backlog/tasks/**/*.md' 'backlog/docs/**/*.md'
debug_msg "Checking unused deps..." debug_msg "Checking unused deps..."
mix deps.unlock --unused mix deps.unlock --unused