mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 23:04:59 +08:00
rename to deprecated
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
description: Provides additional instructions for React Native Expo development, such as using TypeScript, StyleSheet for styling, and Expo's secure store for sensitive data.
|
||||
globs: src/**/*.*
|
||||
---
|
||||
- Use TypeScript for type safety
|
||||
- Implement proper styling using StyleSheet
|
||||
- Utilize Expo's vector icons
|
||||
- Use Expo's secure store for sensitive data
|
||||
- Implement proper offline support
|
||||
- Follow React Native best practices for performance
|
||||
- Use Expo's OTA updates for quick deployments
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: Applies general React Native Expo best practices within the src directory, such as using functional components with hooks and Expo SDK features.
|
||||
globs: src/**/*.*
|
||||
---
|
||||
- Use functional components with hooks
|
||||
- Utilize Expo SDK features and APIs
|
||||
- Implement proper navigation using React Navigation
|
||||
- Use Expo's asset system for images and fonts
|
||||
- Implement proper error handling and crash reporting
|
||||
- Utilize Expo's push notification system
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
---
|
||||
description: Enforces the recommended folder structure for React Native Expo projects at the root level, including assets, src, App.js, and app.json.
|
||||
globs: *.*
|
||||
---
|
||||
- Ensure the following folder structure is present:
|
||||
- assets/
|
||||
- src/
|
||||
- components/
|
||||
- screens/
|
||||
- navigation/
|
||||
- hooks/
|
||||
- utils/
|
||||
- App.js
|
||||
- app.json
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
---
|
||||
description: Specific configuration guidelines for the root level files App.js and app.json
|
||||
globs: App.js, app.json
|
||||
---
|
||||
- Always keep App.js clean and delegate work to other components.
|
||||
- Always configure app.json based on the documentation
|
||||
Reference in New Issue
Block a user