mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 14:52:55 +08:00
rename folder
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: This rule enforces the single responsibility principle, ensuring functions are short and focused.
|
||||
globs: **/*.*
|
||||
---
|
||||
- Write short functions that only do one thing.
|
||||
- Follow the single responsibility principle (SRP), which means that a function should have one purpose and perform it effectively.
|
||||
- If a function becomes too long or complex, consider breaking it into smaller, more manageable functions.
|
||||
Reference in New Issue
Block a user