name: TypeScript best practices rule: Always use TypeScript interfaces to define shape of objects. Use type aliases sparingly. globs: "**/*.{ts,tsx}"
name: TypeScript test patterns rule: In TypeScript tests, use Jest's describe/it pattern and follow best practices for mocking. globs:
name: check description: Check for mistakes in my code prompt: | Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant: