mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 14:52:55 +08:00
rename to deprecated
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
---
|
||||
description: This rule enforces encapsulating nested conditionals into functions to improve clarity.
|
||||
globs: **/*.*
|
||||
---
|
||||
- One way to improve the readability and clarity of functions is to encapsulate nested if/else statements into other functions.
|
||||
- Encapsulating such logic into a function with a descriptive name clarifies its purpose and simplifies code comprehension.
|
||||
Reference in New Issue
Block a user