@mallardbay/cursor-rules 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,6 +17,8 @@ alwaysApply: false
|
|
|
17
17
|
- Types should be defined at the bottom of files
|
|
18
18
|
- PropTypes should be defined before component definitions
|
|
19
19
|
- Prefer using alias for importing components. Only use relative for tests or when there's a direct sibling
|
|
20
|
+
- Exported functions should be at the top of the file, with helpers organized by knowledge domain under.
|
|
21
|
+
- React component prop types should be above the component definition.
|
|
20
22
|
|
|
21
23
|
## Code Reuse
|
|
22
24
|
|