diff --git a/HISTORY.md b/HISTORY.md index 12cf877c5..22516ecf1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,9 +3,16 @@ ### v0.36.0 -- [Aider can now lint your code and fix any errors]() +- [Aider can now lint your code and fix any errors](https://aider.chat/2024/05/22/linting.html) - Aider lints and fixes after every LLM edit. - - You can manually lint-and-fix files with `/lint` in the chat or `--lint` on the command line. + - You can manually lint-and-fix files with `/lint` in the chat or `--lint` on the command line. + - Aider includes build in basic linters for all supported tree-sitter languages. + - You can also configure aider to use your preffered linter with `--lint-cmd`. +- Aider has better support for running tests and fixing problems. + - Configure your testing command with `--test-cmd`. + - Run tests with `/test` or from the command line with `--test`. + - Aider will attempt to fix any errors. + ### v0.35.0 diff --git a/_posts/2024-05-22-linting.md b/_posts/2024-05-22-linting.md index b2f0954c6..829f59fd5 100644 --- a/_posts/2024-05-22-linting.md +++ b/_posts/2024-05-22-linting.md @@ -1,9 +1,10 @@ --- -title: Linting code for LLMs with tree-sitter +title: Linting code for LLMs with aider and tree-sitter excerpt: Aider now lints code after every LLM edit and automatically fixes errors, using tree-sitter and AST-aware code context. +highlight_image: /assets/linting.jpg --- -# Linting code for LLMs with tree-sitter +# Linting code for LLMs with aider and tree-sitter Aider now lints your code after every LLM edit, and offers to automatically fix any linting errors. diff --git a/assets/linting.jpg b/assets/linting.jpg new file mode 100644 index 000000000..07c55a281 Binary files /dev/null and b/assets/linting.jpg differ