Answer: Aider can automatically lint and test your code every time it makes changes. To run your test suite after each AI edit, use the --test-cmd and --auto-test switch; linting is on by default and can be customized with --lint-cmd or disabled with --no-auto-lint. Status: Confirmed Entry: tool/aider/settings/configure-lint-test Revision: 1 Digest: sha256:86ebfdf3fdf333d3 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:46Z Last changed: 2026-11-13T02:56:46Z Last verified: 2026-11-20T11:44:07Z Next check: 2026-11-21T11:44:07Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of test command switch | --test-cmd | [1] | 2026-11-20 auto test switch | --auto-test | [1] | 2026-11-20 lint command switch | --lint-cmd | [1] | 2026-11-20 disable auto lint switch | --no-auto-lint | [1] | 2026-11-20 per-language linters | --lint "language: cmd" | [1] | 2026-11-20 run tests command | /test | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/usage/lint-test.html". https://aider.chat/docs/usage/lint-test.html Role: primary. Accessed: 2026-11-20T11:44:07Z Quote: "using the --test-cmd and --auto-test switch" (Supports: test command switch, auto test switch) Quote: "Or you can specify your favorite linter with the --lint-cmd switch." (Supports: lint command switch) Quote: "You can disable this with the --no-auto-lint switch." (Supports: disable auto lint switch) Quote: "To specify different linters based on the code language, use --lint "language: cmd" ." (Supports: per-language linters) Quote: "You can run tests with /test ." (Supports: run tests command) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 7969f349eda044e32faea3703e62669417c881958793944dea7a920dffa5b58d (captured 2026-11-13T02:56:46Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:46Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:44:07Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:44:07Z Last attempt: 2026-11-20T11:44:07Z Notes and limitations: Extracted automatically from a single official source (section "Linting and testing"). Related: https://latestn.com/tool/aider/settings/configure-ollama-api-key How do I configure an API key for Ollama in Aider? https://latestn.com/tool/aider/settings/configure-with-dotenv How do I configure Aider using a .env file? https://latestn.com/tool/aider/settings/copilot-config-file How do I set GitHub Copilot options in the Aider config file? https://latestn.com/tool/aider/settings/change-system-prompts Can I change the system prompts that Aider uses? https://latestn.com/tool/aider/settings/commit-attribution How do I control commit attribution in Aider? https://latestn.com/tool/aider/settings/config-methods What are the different ways to configure Aider options? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/settings/configure-lint-test/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/settings/configure-lint-test POST: https://latestn.com/dispute/tool/aider/settings/configure-lint-test with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/settings/configure-lint-test?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Aider to run linters and tests automatically after it edits files? Revision 1, last verified 2026-11-20T11:44:07Z. https://latestn.com/tool/aider/settings/configure-lint-test (accessed 2026-11-21T09:58:18Z). @misc{LatestN_tool_aider_settings_configure_lint_test_r1, title = {How do I configure Aider to run linters and tests automatically after it edits files?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/settings/configure-lint-test}}, note = {Revision 1; digest sha256:86ebfdf3fdf333d3; last verified 2026-11-20T11:44:07Z; accessed 2026-11-21T09:58:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/settings/configure-lint-test