Add ESLint with CI enforcement by ambv · Pull Request #10 · python/memory.python.org · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,17 @@ Services start automatically with hot reload:

### Testing
```bash
npm run lint # Frontend linting (in frontend directory)
# Via Docker (recommended)
docker compose -f docker-compose.dev.yml exec frontend npm run lint
docker compose -f docker-compose.dev.yml exec frontend npm run typecheck

# Or locally in the frontend directory
npm run lint # ESLint (must pass with zero errors)
npm run typecheck # TypeScript type checking
```

Both checks run in CI on pushes to `main` and on pull requests.

### Populating Mock Data
```bash
docker compose -f docker-compose.dev.yml exec backend python scripts/populate_db.py
Expand Down
10 changes: 10 additions & 0 deletions docker-README.md
Loading
Loading