tsconfig.json
{
"compilerOptions": {
"baseUrl": "./",
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"checkJs": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"jsx": "preserve",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment",
"noEmit": true,
"noEmitOnError": true,
"paths": {
"common/*": ["./common/*"],
"components/*": ["./components/*"],
"pages/*": ["./pages/*"],
"public/*": ["./public/*"],
"scripts/*": ["./scripts/*"],
"static/*": ["./public/static/*"],
"styles/*": ["./styles/*"],
"test-utils/*": ["./test-utils/*"]
},
"types": ["vitest/globals", "@testing-library/jest-dom"]
},
"include": ["next-env.d.ts", "**/*.js", "**/*.ts", "**/*.tsx", "vitest.config.mts"],
"exclude": ["node_modules"]
}