Proje: Okul B2B App · Hub: Okul B2B App — Architecture

Tooling Konfigürasyonu (ESLint, TypeScript)

ESLint

eslint.config.jseslint-config-expo/flat kullanır. Minimal konfigürasyon, dist/* hariç.

npm run lint  # ESLint çalıştır

TypeScript (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.tsEXPO_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)