mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
chore(ai-rules): add rule about comments
This commit is contained in:
@@ -42,3 +42,6 @@ everything you do.
|
|||||||
- Respect all code comments, they're usually there for a reason. Remove them
|
- Respect all code comments, they're usually there for a reason. Remove them
|
||||||
ONLY if they're completely irrelevant after a code change. if unsure, do not
|
ONLY if they're completely irrelevant after a code change. if unsure, do not
|
||||||
remove the comment.
|
remove the comment.
|
||||||
|
- When adding new comments, they must be relevant and specific to the code in
|
||||||
|
question. They should NOT refer to any specific instructions like "use new X
|
||||||
|
function".
|
||||||
|
|||||||
@@ -37,3 +37,6 @@
|
|||||||
- Respect all code comments, they're usually there for a reason. Remove them
|
- Respect all code comments, they're usually there for a reason. Remove them
|
||||||
ONLY if they're completely irrelevant after a code change. if unsure, do not
|
ONLY if they're completely irrelevant after a code change. if unsure, do not
|
||||||
remove the comment.
|
remove the comment.
|
||||||
|
- When adding new comments, they must be relevant and specific to the code in
|
||||||
|
question. They should NOT refer to any specific instructions like "use new X
|
||||||
|
function".
|
||||||
|
|||||||
Reference in New Issue
Block a user