From 2bde28552187e238f0d2f09d84002414e82eb85d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 6 Nov 2025 23:36:49 +0100 Subject: [PATCH] chore: refine AI agent configurations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .opencode/command/format-simulator.md | 4 ++-- .serena/memories/suggested_commands.md | 5 ++--- .serena/memories/task_completion_checklist.md | 3 +-- ui/web/README.md | 2 +- ui/web/package.json | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.opencode/command/format-simulator.md b/.opencode/command/format-simulator.md index 19f0eb35..c678cf96 100644 --- a/.opencode/command/format-simulator.md +++ b/.opencode/command/format-simulator.md @@ -2,7 +2,7 @@ description: Run simulator code linter and formatter. --- -Run simulator code linter and formatter with autofixes. +Run simulator code formatter and linter with autofixes. Raw output: !`pnpm format` -Summarize code linter or formatter failures and propose targeted fixes. +Summarize code formatter or linter failures and propose targeted fixes. diff --git a/.serena/memories/suggested_commands.md b/.serena/memories/suggested_commands.md index e68b69d1..c021e7ec 100644 --- a/.serena/memories/suggested_commands.md +++ b/.serena/memories/suggested_commands.md @@ -5,7 +5,7 @@ ### Package Management ```bash -pnpm install # Install dependencies +pnpm install # Install dependencies pnpm clean:node_modules # Clean node_modules ``` @@ -39,8 +39,7 @@ pnpm coverage:html # Generate HTML coverage report ```bash pnpm lint # Run linter -pnpm lint:fix # Fix linting issues -pnpm format # Format code with Prettier and fix ESLint issues +pnpm format # Format with Prettier and lint with ESLint with autofixes ``` ### UI Development diff --git a/.serena/memories/task_completion_checklist.md b/.serena/memories/task_completion_checklist.md index 47913a6a..3525aada 100644 --- a/.serena/memories/task_completion_checklist.md +++ b/.serena/memories/task_completion_checklist.md @@ -4,8 +4,7 @@ ### 1. Code Quality Checks -- [ ] Run `pnpm lint` to check for linting issues -- [ ] Run `pnpm format` to format code and fix auto-fixable issues +- [ ] Run `pnpm format` to format code, fix autofixable issues and check for remaining linting issues - [ ] Ensure TypeScript compilation passes (part of build process) ### 2. Testing diff --git a/ui/web/README.md b/ui/web/README.md index 1fd49230..a3dbcdb5 100644 --- a/ui/web/README.md +++ b/ui/web/README.md @@ -142,7 +142,7 @@ make pnpm dev ``` -#### Formats files +#### Formats, lints and fixes files ```shell pnpm format diff --git a/ui/web/package.json b/ui/web/package.json index fdd4c2a5..292254ef 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -22,7 +22,7 @@ "clean:node_modules": "pnpm exec rimraf node_modules", "lint": "cross-env TIMING=1 eslint --cache .", "lint:fix": "cross-env TIMING=1 eslint --cache --fix .", - "format": "prettier --cache --write .", + "format": "prettier --cache --write .; eslint --cache --fix .", "test": "vitest", "coverage": "vitest run --coverage" }, -- 2.43.0