chore: update tsconfig.json to use 'react-jsx' for JSX transformation

This commit is contained in:
Marco Pedone 2026-01-14 14:44:50 +01:00
parent 867dbe4a4f
commit d79d7c5c6c

View file

@ -1,61 +1,67 @@
{
"compilerOptions": {
"allowJs": true,
/* Path Aliases */
"baseUrl": ".",
"checkJs": true,
/* Base Options: */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
/* Bundled projects */
"lib": ["dom", "dom.iterable", "esnext"],
"module": "ESNext",
"moduleDetection": "force",
"moduleResolution": "Bundler",
"noEmit": true,
"noUncheckedIndexedAccess": true,
"paths": {
"~/*": ["./src/*"]
},
"plugins": [
{
"name": "next"
}
],
"resolveJsonModule": true,
"skipLibCheck": true,
/* Strictness */
"strict": true,
"target": "esnext"
},
"exclude": [
"node_modules",
"out",
"dist",
"headers",
"kyselyRules",
".kanelrc.js"
],
"include": [
"src",
"next-env.d.ts",
"next.config.ts",
"postcss.config.cjs",
"reset.d.ts",
"TypeHelpers.type.ts",
"public",
"emails",
".next/types/**/*.ts",
"tests"
],
"ts-node": {
// these options are overrides used only by ts-node
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs"
}
}
"compilerOptions": {
"allowJs": true,
/* Path Aliases */
"baseUrl": ".",
"checkJs": true,
/* Base Options: */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "react-jsx",
/* Bundled projects */
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"module": "ESNext",
"moduleDetection": "force",
"moduleResolution": "Bundler",
"noEmit": true,
"noUncheckedIndexedAccess": true,
"paths": {
"~/*": [
"./src/*"
]
},
"plugins": [
{
"name": "next"
}
],
"resolveJsonModule": true,
"skipLibCheck": true,
/* Strictness */
"strict": true,
"target": "esnext"
},
"exclude": [
"node_modules",
"out",
"dist",
"headers",
"kyselyRules",
".kanelrc.js"
],
"include": [
"src",
"next-env.d.ts",
"next.config.ts",
"postcss.config.cjs",
"reset.d.ts",
"TypeHelpers.type.ts",
"public",
"emails",
".next/types/**/*.ts",
"tests"
],
"ts-node": {
// these options are overrides used only by ts-node
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs"
}
}
}