Add ESLint with CI enforcement (#10) · python/memory.python.org@28a926d · GitHub
Skip to content

Commit 28a926d

Browse files
ambvclaudeCopilot
authored
Add ESLint with CI enforcement (#10)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 663a0da commit 28a926d

28 files changed

Lines changed: 4701 additions & 893 deletions

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,17 @@ Services start automatically with hot reload:
3636

3737
### Testing
3838
```bash
39-
npm run lint # Frontend linting (in frontend directory)
39+
# Via Docker (recommended)
40+
docker compose -f docker-compose.dev.yml exec frontend npm run lint
41+
docker compose -f docker-compose.dev.yml exec frontend npm run typecheck
42+
43+
# Or locally in the frontend directory
44+
npm run lint # ESLint (must pass with zero errors)
4045
npm run typecheck # TypeScript type checking
4146
```
4247

48+
Both checks run in CI on pushes to `main` and on pull requests.
49+
4350
### Populating Mock Data
4451
```bash
4552
docker compose -f docker-compose.dev.yml exec backend python scripts/populate_db.py

docker-README.md

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)