Live video on the AT Protocol

add gofmt check to see if files could be formatted

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