Nativescript
Cursor rules for NativeScript development.
Awesome CursorRulesv10 estrellas · 0 bifurcaciones · 0 creaciones≈216 tokens
// NativeScript .cursorrules
// NativeScript best practices
const nativeScriptBestPractices = [ "Utilize @nativescript/core features and APIs where applicable", "Utilize common web APIs where applicable", "Implement proper navigation using NativeScript Navigation", "Use NativeScript's assets folder for images, sounds or videos and use the fonts folder for custom fonts", "Implement proper error handling where possible" ];
// Folder structure
const folderStructure = src/ assets/ components/ services/ utils/;
// Additional instructions
const additionalInstructions = `
- Use TypeScript for type safety
- Use @nativescript/secure-storage for sensitive data
- Use @nativescript/biometrics for anything related to biometrics
- Always use nativescript-fonticon for font icons
- Follow NativeScript best practices for performance `;