refactor: fix lint errors across server and client
- replace any types with explicit types in scenario file listing, import/export and mcp upload code - type test server addresses and list callbacks, drop unused vars - document why e2e export keeps the archiver import-require form - remove unused scenario files total state in the client - require clean lint in both packages in CLAUDE.md
This commit is contained in:
1 parent
1c5c906cbb
commit
cf56840df9
9 files changed
+41
-27
No files matched your search
@@ -41,7 +41,7 @@ cd server && npm run lint && npx tsc --noEmit -p tsconfig.json && npm test && np
|
||||
cd client && npm run lint && npm run build
|
||||
```
|
||||
|
||||
- The server lint has some pre-existing errors (e.g. `no-explicit-any` in `test/mcp.controller.spec.ts`). Don't add new ones; compare against the last commit if unsure.
|
||||
- Lint must stay clean in both packages (no errors, no warnings).
|
||||
- Don't run prettier over whole existing files; several aren't prettier-clean and it produces unrelated diffs. Format only new files or the lines you changed.
|
||||
- Server tests use an in-memory DB and a Playwright mock (`server/test/__mocks__/playwright.ts`). They create `server/data/` (git-ignored).
|
||||
|
||||
|
||||
Reference in new issue
Block a user