mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["node"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Alias */
|
|
"paths": {
|
|
"@service/*": ["./src/services/*"],
|
|
"@constant/*": ["./src/constants/*"],
|
|
"@hook/*": ["./src/hooks/*"],
|
|
"@helper/*": ["./src/helpers/*"],
|
|
"@context/*": ["./src/contexts/*"],
|
|
"@component/*": ["./src/components/*"],
|
|
"@commonStyle/*": ["./src/commons/styles/*"],
|
|
"@type/*": ["./src/types/*"],
|
|
"@page/*": ["./src/pages/*"]
|
|
}
|
|
},
|
|
"include": ["src"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|