diff --git a/CLAUDE.md b/CLAUDE.md index 51279053..833e00af 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -94,8 +94,6 @@ ADRs live in `docs/adr/`. Read `docs/adr/README.md` for the format. **After completing a task**: if you made a significant architectural decision that isn't already documented in `docs/adr/`, create a new ADR in the same commit. A decision is "significant" if it affects: data storage, platform support, major dependencies, core abstractions, or cross-cutting concerns. -ADRs use Laputa note format — YAML frontmatter with `type: ADR`, `status: active|superseded|proposed`, `date: YYYY-MM-DD`. - **Do not create ADRs for**: implementation details, UI styling choices, refactoring decisions, or anything that doesn't affect how future code should be written. ## Design File (UI tasks) diff --git a/eslint.config.js b/eslint.config.js index 237fd755..037ba5a7 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint' import { defineConfig, globalIgnores } from 'eslint/config' export default defineConfig([ - globalIgnores(['dist', 'coverage', 'src-tauri/resources/', 'src-tauri/target/', 'tools/']), + globalIgnores(['dist', 'coverage', 'src-tauri/resources/', 'src-tauri/target/', 'src-tauri/gen/', 'tools/']), { files: ['**/*.{ts,tsx}'], extends: [ diff --git a/src/components/SearchPanel.test.tsx b/src/components/SearchPanel.test.tsx index 22c19f63..25ed723b 100644 --- a/src/components/SearchPanel.test.tsx +++ b/src/components/SearchPanel.test.tsx @@ -189,7 +189,7 @@ describe('SearchPanel', () => { expect(screen.getByText('Result One')).toBeInTheDocument() }) - fireEvent.keyDown(document, { key: 'ArrowDown' }) + fireEvent.keyDown(window, { key: 'ArrowDown' }) await waitFor(() => { const resultTwo = screen.getByText('Result Two').closest('[class*="cursor-pointer"]')!