Aider config

This commit is contained in:
2025-06-26 16:46:19 +01:00
parent 719eea32ce
commit 4633105658
4 changed files with 9 additions and 9 deletions

View File

@@ -6,3 +6,4 @@ show-model-warnings: false
max-chat-history-tokens: 8000
disable-playwright: true
watch-files: true
auto-commits: false

View File

@@ -1,8 +1,2 @@
AIDER_READ=README.md
AIDER_READ=.aider/read/CONVENTIONS.md
AIDER_READ=.aider/read/PROMPT.md
AIDER_LINT=true
AIDER_LINT_CMD="ts: go-task format-client"
AIDER_LINT_CMD="js: go-task format-client"
AIDER_LINT_CMD="vue: go-task format-client"
AIDER_LINT_CMD="php: go-task format-server"
AIDER_READ=[README.md,.aider/read/CONVENTIONS.md,.aider/read/PROMPT.md]
AIDER_LINT_CMD="[ts: go-task format-client --,js: go-task format-client --,vue: go-task format-client --,php: go-task format-server --]"

View File

@@ -4,3 +4,8 @@
- Do not try to reinvent the wheel. Use available APIs and tools where possible.
- Follow best practices and common formatting for the programming language you are using.
- Generate tests for new features and bug fixes.
## PHP
- The back end is analysed by PHPStan at the highest level. Ensure everything is typehinted and generics are properly used.
- When fixing PHPStan errors do not ignore them. Fix using typehints, the webmozart assertion library, or docblocks, or by addressing legitimate bugs that could be caused as a result of the warning.
- Sometimes a PHPStan error should be fixed by editing another file, e.g. one file expects a property to be of a certain type but that property type is not specified in the class. Rather than coercing the type in the file with the error, request access to the other file and modify the definition there.