1make golangci-lint 2./node_modules/.bin/lint-staged 3pnpm run knip 4cd js/app && pnpm run check 5 6unformatted=$(gofmt -l $(find . -name "*.go")) 7if [ -n "$unformatted" ]; then 8 printf "The following files are not formatted.\n" 9 printf "%s\n" "$unformatted" 10 exit 1 11fi