mirror of
https://github.com/visgl/luma.gl.git
synced 2025-12-08 17:36:19 +00:00
79 lines
2.7 KiB
JSON
79 lines
2.7 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// https://www.npmjs.com/package/@webgpu/types
|
|
"typeRoots": [ "./node_modules/@webgpu/types", "./node_modules/@types"],
|
|
|
|
"target": "es2020",
|
|
"module": "es2020",
|
|
"jsx": "react",
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"noEmit": true,
|
|
"resolveJsonModule": true,
|
|
"baseUrl": ".",
|
|
"rootDir": ".",
|
|
|
|
// BEGIN TYPE CHECK SETTINGS
|
|
"skipLibCheck": true,
|
|
|
|
"strict": false,
|
|
|
|
// "noImplicitAny": true, // covered by strict
|
|
"noImplicitThis": true, // covered by strict
|
|
"strictBindCallApply": true, // covered by strict
|
|
"strictFunctionTypes": true, // covered by strict
|
|
"useUnknownInCatchVariables": true, // covered by strict
|
|
"strictNullChecks": false, // covered by strict
|
|
// "strictPropertyInitialization": true, // covered by strict, requires strict null checks
|
|
|
|
// "exactOptionalPropertyTypes": true, - requires strictNullChecks
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
// "noPropertyAccessFromIndexSignature": true,
|
|
// "noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": false,
|
|
// END TYPE CHECK SETTINGS
|
|
|
|
"paths": {
|
|
"@luma.gl/core/*": ["modules/core/src/*"],
|
|
"@luma.gl/core/test/*": ["modules/core/test/*"],
|
|
"@luma.gl/core-tests/test/*": ["modules/core-tests/test/*"],
|
|
"@luma.gl/constants/*": ["modules/constants/src/*"],
|
|
"@luma.gl/constants/test/*": ["modules/constants/test/*"],
|
|
"@luma.gl/engine/*": ["modules/engine/src/*"],
|
|
"@luma.gl/engine/test/*": ["modules/engine/test/*"],
|
|
// "@luma.gl/experimental/*": ["modules/experimental/src/*"],
|
|
// "@luma.gl/experimental/test/*": ["modules/experimental/test/*"],
|
|
"@luma.gl/shadertools/*": ["modules/shadertools/src/*"],
|
|
"@luma.gl/shadertools/test/*": ["modules/shadertools/test/*"],
|
|
"@luma.gl/test-utils/*": ["modules/test-utils/src/*"],
|
|
"@luma.gl/test-utils/test/*": ["modules/test-utils/test/*"],
|
|
"@luma.gl/webgl/*": ["modules/webgl/src/*"],
|
|
"@luma.gl/webgl/test/*": ["modules/webgl/test/*"],
|
|
"@luma.gl/webgpu/*": ["modules/webgpu/src/*"],
|
|
"@luma.gl/webgpu/test/*": ["modules/webgpu/test/*"],
|
|
"test/*": ["test/*"]
|
|
}
|
|
},
|
|
// Note: an "include": [] section dramatically limits coverage.
|
|
// Better to explicitly exclude things.
|
|
// Points will be awarded every time an exception is removed!
|
|
"include": [
|
|
"examples/**/*",
|
|
"modules/**/*",
|
|
"test/**/*",
|
|
"node_modules/@webgpu/types"
|
|
],
|
|
"exclude":[
|
|
"modules/**/wip",
|
|
"modules/**/dist",
|
|
"test/apps",
|
|
"node_modules"
|
|
]
|
|
}
|