-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (40 loc) · 1.29 KB
/
tsconfig.json
File metadata and controls
40 lines (40 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"noUncheckedIndexedAccess": true, // 배열/객체 접근 시 undefined 체크 강제
"exactOptionalPropertyTypes": true, // 옵셔널 프로퍼티에 undefined 할당 방지
"noImplicitOverride": true, // override 키워드 강제
"noImplicitReturns": true, // 모든 코드 패스에서 return 강제
"noFallthroughCasesInSwitch": true, // switch문 fallthrough 방지
"noImplicitAny": true, // any 타입 사용 금지
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"],
"@/components/*": ["./src/components/*"],
"@/lib/*": ["./src/lib/*"],
"@/hooks/*": ["./src/hooks/*"],
"@/types/*": ["./src/types/*"],
"@/utils/*": ["./src/utils/*"],
"@/styles/*": ["./src/styles/*"],
"@/public/*": ["./public/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}