feat: add Swift/PHP/Kotlin/Shell post-edit diagnostics - #44
Conversation
Extend PATH-gated diagnostics with swiftlint, phpstan/pint/php -l, ktlint, and shellcheck so more languages get in-loop lint feedback after edits without auto-installing tools.
|
🤖 KlaatAI Review Bot (powered by Klaatu, advisory only — a maintainer makes the real call) Issue match Test coverage Correctness concerns Verdict This is an automated review to help triage faster, not a gate. Nothing here blocks merging. |
|
@Ayush7614 please link the issue to your PR, Thanks |
|
Linked to #2 (shellcheck / shell script diagnostics). This PR also adds the same PATH-gated pattern for Swift ( |
|
🤖 KlaatAI Review Bot (powered by Klaatu, advisory only — a maintainer makes the real call) Issue match Test coverage Correctness concerns Verdict This is an automated review to help triage faster, not a gate. Nothing here blocks merging. |
Drop .zsh from shellcheck (unsupported), remove php -l fallback, simplify ktlint argv for 1.x compatibility, and add positive-path tests via injectable PATH stubs on resolveDiagnosticsCommand.
|
Addressed the review-bot notes in a follow-up commit:
|
|
🤖 KlaatAI Review Bot (powered by Klaatu, advisory only — a maintainer makes the real call) Issue match Test coverage Correctness concerns Verdict This is an automated review to help triage faster, not a gate. Nothing here blocks merging. |
Summary
swiftlint), PHP (phpstan→pint→php -l), Kotlin (ktlint), and Shell (shellcheck).rubocop).Closes #2
Test plan
bun run typecheckbun test(190 pass)bun run bench:selfcheckbun run buildshellcheck) editing a.shfile in the TUI