Skip to content

Commit 0888f7c

Browse files
committed
fix: enforce ESLint in CI and add lint:check script (#101)
1 parent 5f23a83 commit 0888f7c

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: Install dependencies
4040
run: npm ci
4141

42+
- name: Lint
43+
run: npm run lint:check
44+
4245
- name: Build
4346
run: npm run build
4447

context/progress-tracker.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ pure chore/docs commits). Direct pushes to main must also be logged here.
66

77
---
88

9-
## 2026-07-23
9+
## 2026-07-28
10+
11+
- Added `lint:check` script to package.json (ESLint with `--max-warnings=0`, no `--fix`) and a Lint step to CI after Install dependencies, so `no-explicit-any` is enforced on every PR. The existing `lint` script with `--fix` is unchanged for local use.
1012

1113
- Added GitHub Actions health check workflow (`health-check.yml`) to ping the Render API every 6 hours to prevent the free tier instance from sleeping. Auto-creates or comments on issues with the `incident` label if the ping fails, preventing silent outages.
1214
- Documented the ping URL and incident label in README.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"start:debug": "npx nest start --debug --watch",
1515
"start:prod": "node dist/main",
1616
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
17+
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --max-warnings=0",
1718
"test": "jest",
1819
"test:watch": "jest --watch",
1920
"test:cov": "jest --coverage",

0 commit comments

Comments
 (0)