initial
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
globs: "**/*.php"
|
||||
description: Comments should only be used for complex logic, business rules,
|
||||
non-obvious decisions, or explanations of why something is done (not what is
|
||||
done). Code should be readable without comments. Remove all unnecessary
|
||||
comments that don't add value to understanding the code.
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
Only add comments when they provide essential clarification that the code itself cannot convey. Avoid redundant or obvious comments; let code be self-documenting through clear naming and structure.
|
||||
Reference in New Issue
Block a user