no-hedging-comments

ProAI Behavior

Disallow AI-style hedging comments that tell the user to finish the job

no-hedging-comments

Disallow AI-style hedging comments that tell the user to finish the job

Category: AI Behavior | Tier: Pro

Why This Matters

AI leaves hedging comments like "you may need to adjust this" or "replace with your own implementation." These comments reveal that the AI was uncertain and produced generic code that needs human review before it is production-ready.

Bad Code

// You may need to adjust this based on your requirements
const TIMEOUT = 5000;
// Note: you might want to replace this with your own implementation
function hash(input: string) { /* ... */ }

Good Code

const TIMEOUT = 5000;

function hash(input: string) {
  return crypto.createHash('sha256').update(input).digest('hex');
}

Configuration

This rule has no configuration options. It is enabled by default in lintmyai:recommended.