mirror of
https://github.com/anthropics/claude-code.git
synced 2026-04-29 00:22:40 +00:00
15 lines
315 B
Markdown
15 lines
315 B
Markdown
|
|
---
|
||
|
|
name: warn-console-log
|
||
|
|
enabled: true
|
||
|
|
event: file
|
||
|
|
pattern: console\.log\(
|
||
|
|
action: warn
|
||
|
|
---
|
||
|
|
|
||
|
|
🔍 **Console.log detected**
|
||
|
|
|
||
|
|
You're adding a console.log statement. Please consider:
|
||
|
|
- Is this for debugging or should it be proper logging?
|
||
|
|
- Will this ship to production?
|
||
|
|
- Should this use a logging library instead?
|