summaryrefslogtreecommitdiff
path: root/plugins/hookify/examples/console-log-warning.local.md
blob: c9352e7530c11635a990df827185e07fac681b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
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?