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.
|