chore: включить .cursor в репозиторий для частного remote
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# .cursor/rules/project.mdc
|
||||
|
||||
# Project
|
||||
|
||||
React + TypeScript frontend project.
|
||||
|
||||
# Commands
|
||||
|
||||
- install: `npm install`
|
||||
- dev: `npm run dev`
|
||||
- build: `npm run build`
|
||||
- lint: `npm run lint`
|
||||
- typecheck: `npm run typecheck`
|
||||
- test: `npm run test`
|
||||
- test single: `npm run test -- <file>`
|
||||
|
||||
# Global rules
|
||||
|
||||
- Всегда изучай existing code и nearby components перед изменениями
|
||||
- Делай minimal, review-friendly diff
|
||||
- Не добавляй new dependencies без явной причины
|
||||
- Следуй существующим patterns
|
||||
|
||||
# Done criteria
|
||||
|
||||
Перед завершением:
|
||||
|
||||
- lint passes
|
||||
- typecheck passes
|
||||
- tests pass
|
||||
- нет regressions
|
||||
|
||||
# UI checklist
|
||||
|
||||
- loading state
|
||||
- error state
|
||||
- empty state
|
||||
- disabled state
|
||||
- accessibility
|
||||
Reference in New Issue
Block a user