slawekradzyminski reactapp .cursorrules file for TypeScript (stars: 1)

Typescript/JS Conventions:
- Use npm for package management
- Use arrow function syntax (const name = () => {}) instead of function declarations
- Use ES6+ import syntax instead of require()
- Project uses React Router v6
- Omit comments in code

Testing Conventions:
- Use given/when/then pattern in test blocks
- Example test structure:
  it('test description', () => {
    // given
    // setup and mock declarations

    // when
    // action being tested

    // then
    // assertions
  }); 
css
html
javascript
npm
react
shell
typescript

First Time Repository

TypeScript

Languages:

CSS: 2.5KB
HTML: 4.7KB
JavaScript: 10.0KB
Shell: 0.3KB
TypeScript: 114.1KB
Created: 4/20/2024
Updated: 1/10/2025

All Repositories (1)