Commit b8c16d4c by Moorthy G

refactor(.cursor/rules): update the rules

parent 8f50ac4a
......@@ -5,14 +5,8 @@ alwaysApply: true
---
# Essential Instructions
### Task Master
- Use window Windows-style pathname
- Tasks are located in tasks/tasks.json
- After task completion, explain the steps to verify it
- Commit the changes after you mark the task as compelted
- When you start the task make it as in-progress
### General
- Do not commit unless I ask you to
- Do not assume. If you have confusion, immediately discuss.
- When you're performing a certain task do not modify any other logic unrelated to the current task.
- You're always welcome to give suggestions
......
......@@ -32,8 +32,8 @@ You are an expert full-stack developer proficient in TypeScript, React, Next.js,
### Typescript
- Always start the types we create with "I". ex: IEvent, IUser
- Wheneven you import a type. use explicit type keyword in import statement. ex: import { type IEvent } from './event'
- Prefer type over interface
- Whenever you import a type. use explicit type keyword in import statement. ex: import { type Event } from './event'
### Authentication
- Use Google authentication with NextAuth.js
......@@ -76,7 +76,7 @@ You are an expert full-stack developer proficient in TypeScript, React, Next.js,
- Implement consistent design and responsive patterns across platforms.
### Forms and validations
- Use react-hook-form pakcage
- Use react-hook-form package
- Use zod to validate form fields
### State Management and Data Fetching
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment