From e086628efe572aee7a91016a304fb443266857d3 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Thu, 23 Apr 2026 18:20:15 +0530 Subject: [PATCH] Avoid lint and fmt for agents (#9166) N/A Do not make the AI agent always fmt and lint. This takes way too long and the agents I work with take this too literally sometimes and run lint after incomplete changes just wasting time. I feel its not a big ask to run fmt and lint yourself and/or run it in some local configs instead of global ones. Co-Authored-By: Pawan Dhananjay --- CLAUDE.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 79ed344e35..34a895f464 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,8 +5,7 @@ This file provides guidance for AI assistants (Claude Code, Codex, etc.) working ## CRITICAL - Always Follow After completing ANY code changes: -1. **MUST** run `cargo fmt --all && make lint-fix` to format and fix linting issues -2. **MUST** run `cargo check` to verify compilation before considering task complete +1. **MUST** run `cargo check` to verify compilation before considering task complete Run `make install-hooks` if you have not already to install git hooks. Never skip git hooks. If cargo is not available install the toolchain.