diff --git a/AGENTS.md b/AGENTS.md index 16f2d7ae0..04649a06d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -82,6 +82,8 @@ Run project tools with `pnpm exec`, never `pnpm dlx`: `dlx` downloads the latest Lefthook runs oxfmt, oxlint for JS/TS, and ESLint for Svelte before commit. +`check` and `lint` fail on warnings: fix them or disable with a reason. oxlint skips `.svelte`, so set lint rules in ESLint too. + Formatting belongs to oxfmt alone. Do not add ESLint or oxlint rules whose `meta.type` is `layout` (e.g. `svelte/indent`), because they would conflict with the formatter. ## Verification and Cross-review Before a PR diff --git a/docs/guides/agent-rules/accessibility.md b/docs/guides/agent-rules/accessibility.md index bf39e8ea0..2a949ad45 100644 --- a/docs/guides/agent-rules/accessibility.md +++ b/docs/guides/agent-rules/accessibility.md @@ -33,6 +33,8 @@ When `{#if}` reveals a modal, dialog, or focus-trap region, move focus programma Icon-only `