Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ repos:
files: ^.*$
types_or: [javascript, jsx, ts, tsx]
entry: bash -c "yarn pretty-quick --staged"
- id: check_localhost_in_webapp
name: Check for localhost in web-app.html
language: system
entry: |
bash -c '
if grep -i "API_BASE_URL:\"localhost:1926\"" backend/web/web-app.html; then
echo "ERROR: Found localhost reference in backend/web/web-app.html"
exit 1
fi
'
files: backend/web/web-app\.html$
pass_filenames: false

- repo: https://github.com/golangci/golangci-lint
rev: v1.64.7
Expand Down
3 changes: 3 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ dev.db
docker-files/docker_data/
bin/
tmp/

web/web-app.html
web/web-app-debug.html
Loading