From 5d65c40120a0ff71ed159554afe1d4894e65365d Mon Sep 17 00:00:00 2001 From: Umberto Sgueglia Date: Tue, 14 Apr 2026 16:42:50 +0200 Subject: [PATCH] feat: add lint in claude.MD Signed-off-by: Umberto Sgueglia --- CLAUDE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index df941eaa4f..dd3fcdf4bb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -61,6 +61,18 @@ Millions of rows. Every query matters. - Write queries with performance in mind. Think about what indexes exist, what the query plan looks like, and whether you're scanning more rows than needed. +## Linting + +After modifying files in any workspace, always run lint from the repo root using the package name (found in the workspace's `package.json`): + +``` +pnpm --filter lint +``` + +For example: `pnpm --filter @crowd/members-enrichment-worker lint` + +Fix all lint errors before considering the task done. Do not leave lint failures in modified workspaces. + ## Code quality - Functional and modular. Code should be easy to plug in, pull out, and test