]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: refine AI agent configurations
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 6 Nov 2025 22:36:49 +0000 (23:36 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 6 Nov 2025 22:36:49 +0000 (23:36 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.opencode/command/format-simulator.md
.serena/memories/suggested_commands.md
.serena/memories/task_completion_checklist.md
ui/web/README.md
ui/web/package.json

index 19f0eb351f21d4a3f97dc8ee0a573f1064a81ca7..c678cf9604c9cdb5fdfb0e4e6136288acc278841 100644 (file)
@@ -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.
index e68b69d1bda0bbe5f25dae46cfbdb881b5344f26..c021e7ecca1caf91cd2a0eabb91d125a138d51a5 100644 (file)
@@ -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
index 47913a6a86d26c122a77817c604f0274a556efda..3525aada0777164f2866b5292ea6c6d22c5a58e7 100644 (file)
@@ -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
index 1fd492309d19a96317bf0c9c47a4b469e02f035b..a3dbcdb53e472ea72809c6de66455df4f6d0a9de 100644 (file)
@@ -142,7 +142,7 @@ make
 pnpm dev
 ```
 
-#### Formats files
+#### Formats, lints and fixes files
 
 ```shell
 pnpm format
index fdd4c2a523885abb3fe225c70a4b6ff69729ae93..292254efb4290e68bdc1f42acc018d1e266da3b0 100644 (file)
@@ -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"
   },