mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"allowJs": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictPropertyInitialization": true,
|
|
"lib": ["DOM", "ES5", "ScriptHost", "ES2015.Iterable", "ES2015.Promise"],
|
|
"typeRoots": ["GDJS/node_modules/@types/"]
|
|
},
|
|
"include": [
|
|
"GDJS/Runtime/**/*",
|
|
"Extensions/**/*.js",
|
|
"Extensions/**/*.ts",
|
|
"GDJS/tests/tests/**/*.js",
|
|
"GDJS/tests/tests-utils/**/*.js",
|
|
"GDJS/tests/benchmarks/**/*.js"
|
|
],
|
|
"//": "As Cocos2D-JS renderers are not maintained, we exclude them from TypeScript checks. Also exclude some libraries or deprecated extensions.",
|
|
"exclude": [
|
|
"GDJS/Runtime/cocos-renderers",
|
|
"GDJS/Runtime/cocos-sound-manager",
|
|
"Extensions/**/*-cocos-renderer.ts",
|
|
"GDJS/Runtime/pixi-renderers/pixi.js",
|
|
"GDJS/Runtime/Cocos2d",
|
|
"GDJS/Runtime/Cordova",
|
|
"GDJS/Runtime/Electron",
|
|
"GDJS/Runtime/FacebookInstantGames",
|
|
"GDJS/Runtime/libs/CocoonJS",
|
|
"Extensions/**/JsExtension.js",
|
|
"Extensions/SkeletonObject",
|
|
"Extensions/Effects/pixi-filters/filter-alpha.js"
|
|
]
|
|
}
|