make golangci-lint
./node_modules/.bin/lint-staged
pnpm run knip
cd js/app && pnpm run check

unformatted=$(gofmt -l $(find . -name "*.go"))
if [ -n "$unformatted" ]; then
  printf "The following files are not formatted.\n"
  printf "%s\n" "$unformatted"
  exit 1
fi
