Cursor · PluginsLenguajes
Modern JavaScript
ESM, async/await and modern language APIs.
by Prompt Studio
javascript
License: MITView original
Contents
Where it goes: .cursor/rules/javascript.mdc
---
description: Convenciones y buenas prácticas de JavaScript moderno
globs: **/*.js,**/*.mjs
alwaysApply: false
---
# JavaScript moderno
- Usa ESM (`import`/`export`) y `const` por defecto
- Prefiere `async`/`await` a cadenas de `then`
- Usa `?.` y `??` en lugar de comprobaciones manuales
- Evita mutar argumentos
- usa `structuredClone` o spread
More in Plugins
Next.js
App Router, Server Components, Server Actions and caching.
Python
Typing, package layout and tests with pytest.
React + TypeScript
Function components, hooks and strict typing.
Expo / React Native
Expo Router, styling and mobile performance.
Go
HTTP APIs, error handling and context.
Tailwind + shadcn/ui
Utility classes, design tokens and accessible components.