Proje: Okul B2B App · Hub: Okul B2B App — Architecture
Tooling Konfigürasyonu (ESLint, TypeScript)
ESLint
eslint.config.js — eslint-config-expo/flat kullanır. Minimal konfigürasyon, dist/* hariç.
npm run lint # ESLint çalıştırTypeScript (tsconfig.json)
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true, // Strict mode aktif
"target": "es2017",
"downlevelIteration": true, // Spread/iterators için
"paths": { "@/*": ["./*"] } // Alias mapping
},
"exclude": [
"components/test/**/*", // Test bileşenleri type check dışı
"**/*.test.ts" // Test dosyaları dışı
]
}Expo Env Types
expo-env.d.ts — EXPO_PUBLIC_* env değişkenleri için TypeScript tanımlamaları.
Linting Çalıştırma
npm run lint # ESLint
npx tsc --noEmit # TypeScript type check (build yapmaz)Related
- build-tooling — Metro, Babel konfigürasyonu
- naming-ve-klasor-yapisi — import alias @/