ccfb08f4d5
Follow-up to #20, which was merged before this landed. bot-agents has no `package.json` `imports` aliases (`src/` is flat and everything imports relatively), so no code changes. This records the new rule in the docs: - `.agents/memory/imports-aliases-barrels.md`: aliases may target only a direct subfolder of `src/` (its `index.ts` or a `#x/*` pattern); nothing outside `src/`, not `src/` itself, not deeper folders; such code imports relatively. - `.agents/memory/tests-layout-vitest.md`: `tests/` reach the public entry through a relative import, not a `#plugin` alias. - `.agents/skills/migrate-deno-repo/SKILL.md` and `AGENTS.md`: same rule. `vp check`, `vp test`, and `damem doctor` pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: #21 Reviewed-by: bot <noreply@capsulizers.com> Co-authored-by: Danny Kim <temeddix@gmail.com> Co-committed-by: Danny Kim <temeddix@gmail.com>
22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
---
|
|
description: bot-agents lint has prefer-readonly-parameter-types and the size/complexity rules off (Deno had no limits) and no overrides; nothing else
|
|
---
|
|
|
|
The repo follows [[lint-config-shape]] with one recorded exception, present
|
|
when the migration PR was approved:
|
|
|
|
- `typescript/prefer-readonly-parameter-types` is `"off"` in
|
|
`scripts/project-lint.ts`, as in the explicit-types template, because
|
|
Node/web types (`Response`, `Stats`, `RequestInit`) can never satisfy it.
|
|
- `vite.config.ts` has no `overrides`. The `scripts/**` override for
|
|
`typescript/no-unsafe-enum-comparison` was removed (2026-10-16):
|
|
`scripts/project-lint.ts` compares node types with `AST_NODE_TYPES` members
|
|
from `@typescript-eslint/types` instead of string literals
|
|
([[lint-overrides-policy]]).
|
|
|
|
Size and complexity limits match Deno, which had none here, so every Oxlint
|
|
limit rule is `"off"` ([[lint-config-shape]]). `run.ts` and `post.ts` keep
|
|
main's single-file layout (2026-10-17 revert of the size splits). Sequential
|
|
awaits in loops became recursion or a `reduce` chain (`no-await-in-loop`) to
|
|
stay sequential. Add no other opt-out without the user.
|