AcademyRulesDevelopment

TypeScript, React, Vite and TanStack Cursor rules

Front-end developers who want Cursor to follow one consistent style in a React and Vite codebase.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-react-vite-cursorrules-prompt-fi.mdc -o .cursor/rules/typescript-nodejs-react-vite-cursorrules-prompt-fi.mdc
typescript-nodejs-react-vite-cursorrules-prompt-fi.mdc

Loading the file...

What it does

A Cursor rules file for projects built with TypeScript, Node.js, React, Vite, TanStack Query, TanStack Router and Tailwind. It tells the assistant to keep existing code, comments and import formatting, and sets code style, naming and performance guidelines.

Use cases

  1. 01Keep AI edits from deleting existing code or comments
  2. 02Apply one naming and file structure style across a team
  3. 03Generate Tailwind components with typed props

Questions about
TypeScript, React, Vite and TanStack Cursor rules.

What is TypeScript, React, Vite and TanStack Cursor rules used for?

Front-end developers who want Cursor to follow one consistent style in a React and Vite codebase. A Cursor rules file for projects built with TypeScript, Node.js, React, Vite, TanStack Query, TanStack Router and Tailwind. It tells the assistant to keep existing code, comments and import formatting, and sets code style, naming and performance guidelines.

How do I install TypeScript, React, Vite and TanStack Cursor rules?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-react-vite-cursorrules-prompt-fi.mdc -o .cursor/rules/typescript-nodejs-react-vite-cursorrules-prompt-fi.mdc

Is TypeScript, React, Vite and TanStack Cursor rules open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is TypeScript, React, Vite and TanStack Cursor rules safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.