-
Notifications
You must be signed in to change notification settings - Fork 258
/
.cursorrules
35 lines (32 loc) · 897 Bytes
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// React Native Expo .cursorrules
// React Native Expo best practices
const reactNativeExpoBestPractices = [
"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",
];
// Folder structure
const folderStructure = `
assets/
src/
components/
screens/
navigation/
hooks/
utils/
App.js
app.json
`;
// Additional instructions
const additionalInstructions = `
1. Use TypeScript for type safety
2. Implement proper styling using StyleSheet
3. Utilize Expo's vector icons
4. Use Expo's secure store for sensitive data
5. Implement proper offline support
6. Follow React Native best practices for performance
7. Use Expo's OTA updates for quick deployments
`;