Skip to content

Commit 5d65c40

Browse files
committed
feat: add lint in claude.MD
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent 9e7cc18 commit 5d65c40

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ Millions of rows. Every query matters.
6161
- Write queries with performance in mind. Think about what indexes exist, what
6262
the query plan looks like, and whether you're scanning more rows than needed.
6363

64+
## Linting
65+
66+
After modifying files in any workspace, always run lint from the repo root using the package name (found in the workspace's `package.json`):
67+
68+
```
69+
pnpm --filter <package-name> lint
70+
```
71+
72+
For example: `pnpm --filter @crowd/members-enrichment-worker lint`
73+
74+
Fix all lint errors before considering the task done. Do not leave lint failures in modified workspaces.
75+
6476
## Code quality
6577

6678
- Functional and modular. Code should be easy to plug in, pull out, and test

0 commit comments

Comments
 (0)