{
"rules": [
{
"name": "Dosya Organizasyonu",
"patterns": [
{
"description": "React bileşenleri .tsx uzantılı olmalıdır",
"pattern": "^.*\\.tsx$",
"message": "React bileşenleri için .tsx uzantısı kullanın"
},
{
"description": "Stil dosyaları",
"pattern": "^.*\\.css$",
"message": "Global stiller için index.css, modül stiller için .module.css kullanın"
}
]
},
{
"name": "Kod Formatı",
"patterns": [
{
"description": "TypeScript tip tanımlamaları",
"pattern": "interface|type|enum",
"message": "Tip tanımlamaları için interface, type veya enum kullanın"
},
{
"description": "React Hook kuralları",
"pattern": "use[A-Z]",
"message": "Hook isimleri 'use' ile başlamalıdır"
}
]
},
{
"name": "İsimlendirme Kuralları",
"patterns": [
{
"description": "Bileşen isimleri",
"pattern": "^[A-Z][A-Za-z]*\\.(tsx|ts)$",
"message": "Bileşen isimleri PascalCase olmalıdır"
},
{
"description": "Yardımcı fonksiyon dosyaları",
"pattern": "^[a-z][a-zA-Z]*\\.(ts|js)$",
"message": "Yardımcı fonksiyon dosyaları camelCase olmalıdır"
}
]
}
]
}
css
html
javascript
react
typescript
First Time Repository
Cursor ile oluşturulmuştur. Real-time client/server mimarisi ile çalışan web uygulaması.
TypeScript
Languages:
CSS: 0.1KB
HTML: 0.4KB
JavaScript: 6.5KB
TypeScript: 15.3KB
Created: 1/8/2025
Updated: 1/8/2025
All Repositories (1)
Cursor ile oluşturulmuştur. Real-time client/server mimarisi ile çalışan web uygulaması.