1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-15 12:40:30 +00:00
CC-Tweaked/projects/web/tsconfig.json
Jonathan Coates d8e2161f15
Move website source/build logic to projects/web
Mostly useful as it moves some of our build logic out of the main
project, as that's already pretty noisy!
2022-11-06 13:37:07 +00:00

33 lines
838 B
JSON

{
"compilerOptions": {
"module": "esNext",
"moduleResolution": "node",
"target": "es6",
"lib": [
"es2015",
"dom"
],
"newLine": "LF",
"baseUrl": ".",
// Additional compile options
"noEmitOnError": true,
"preserveWatchOutput": true,
"jsx": "react",
"jsxFactory": "h",
// Strict Type-Checking Options
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true,
// Needed for some of our internal stuff.
"allowSyntheticDefaultImports": true,
},
"include": [
"src",
]
}