mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 13:38:51 +00:00
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["node", "jest", "@testing-library/jest-dom"],
|
|
"esModuleInterop": true,
|
|
|
|
/* 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/*"],
|
|
"@assets/*": ["./src/assets/*"],
|
|
}
|
|
},
|
|
"include": ["src", "test"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|