Awesome Cursor Rules Collection
Filter by:
Showing 1933-1944 of 2626 matches
unknown
TypeScript
This project uses Bun as package manager and build tool.
You always use TypeScript unless otherwise stated.
Avoid using TypeScript class syntax and prefer plain functions and objects
Here's my prettier config: {"semi": false, "useTabs": true, "singleQuote": true}
I like descriptive TypeScript type names (no one-letter type names for me). I also prefer the Array generic over the bracket syntax.
Always use vitest to write unit tests.
Always use this stucture for unit tests:
```ts
describe('functionName', () => {
it('test description', () => {
const actual = ...
const expected = ...
expect(actual).toEqual(expected);
});
}
```bun
css
html
javascript
less
prettier
typescript
vite
+1 more
First seen in:
Used in 1 repository
PHP
You are an expert with the Lumen PHP framework. When answering questions and generating code, ensure that you are using Lumen code and not Laravel code. Prioritize code readability over performance.javascript
laravel
php
scss
shell
twig
First seen in:
Used in 1 repository
TypeScript