Fix pre-commit script to properly handle multiple files and resolve ESLint warnings

This commit is contained in:
William Valentin
2025-09-07 13:34:39 -07:00
parent 8fa2d3fb60
commit 315303b120
33 changed files with 561 additions and 404 deletions

View File

@@ -72,24 +72,28 @@ APP_NAME=StagingApp
### Files That Use APP_NAME
1. **Frontend Files**:
- `index.html.template` - Page title
- `App.tsx` - UI header text
- `vite.config.ts` - Environment variable mapping
- `index.html.template` - Page title
- `App.tsx` - UI header text
- `vite.config.ts` - Environment variable mapping
2. **Docker Files**:
- `docker/Dockerfile` - Build argument and environment variable
- `docker/docker-compose.yaml` - Build args and labels
- `docker/Dockerfile` - Build argument and environment variable
- `docker/docker-compose.yaml` - Build args and labels
3. **Kubernetes Templates**:
- `k8s/frontend-deployment.yaml.template` - Resource names and labels
- `k8s/configmap.yaml.template` - Resource names and labels
- All other `k8s/*.yaml.template` files
- `k8s/frontend-deployment.yaml.template` - Resource names and labels
- `k8s/configmap.yaml.template` - Resource names and labels
- All other `k8s/*.yaml.template` files
4. **Scripts**:
- `scripts/deploy.sh` - Container and image naming
- `scripts/buildx-helper.sh` - Container and image naming
- `scripts/validate-deployment.sh` - Container and image naming
- `scripts/process-html.sh` - HTML template processing
- `scripts/deploy.sh` - Container and image naming
- `scripts/buildx-helper.sh` - Container and image naming
- `scripts/validate-deployment.sh` - Container and image naming
- `scripts/process-html.sh` - HTML template processing
## Build Process