mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +00:00
TSConfig options prevent Angular from compiling the app. This is specifically harsh with the noUnused* rules, which require you to strictly remove any unused variables even in dev mode while testing. Since this case is already covered by ESLint, the TSConfig option was removed.
40 lines
908 B
JSON
40 lines
908 B
JSON
{
|
|
"compilerOptions": {
|
|
"alwaysStrict": true,
|
|
"declaration": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"downlevelIteration": true,
|
|
"inlineSourceMap": true,
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"noErrorTruncation": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"isolatedModules": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"outDir": "../../../lib/",
|
|
"lib": [
|
|
"ES2022",
|
|
"DOM"
|
|
],
|
|
"strict": true,
|
|
"target": "ES2022"
|
|
},
|
|
"ts-node": {
|
|
"transpileOnly": true
|
|
},
|
|
"exclude": [
|
|
"../../../app.js",
|
|
"../../../lib/"
|
|
]
|
|
}
|