summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/tsconfig.json
blob: 6d3b0d98bfcddd2b1d1f8b0ee761cca665d31b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
  "extends": "./node_modules/gts/tsconfig-google.json",
  "compilerOptions": {
    "lib": ["dom", "es2020"],
    "module": "esnext",
    /* Output options */
    "noEmit": true,
    /* Strict type-checking options */
    "allowJs": true,
    "checkJs": false,
    "strict": true,
    /* tsc lint options */
    "allowUnusedLabels": false,
    "noImplicitOverride": true,
    "noImplicitReturns": true,
    /* These should be caught by eslint instead */
    "noFallthroughCasesInSwitch": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "allowUnreachableCode": true,
    /* Compiler warnings we intentionally don't use */
    // - Would be nice, but produces lots of errors that probably aren't worth fixing
    "noUncheckedIndexedAccess": false,
    // - We could make our code pass this, but it doesn't seem to provide much value to us
    "noPropertyAccessFromIndexSignature": false,
    // - Doesn't work with @webgpu/types right now, also has annoying interactions and limited value
    "exactOptionalPropertyTypes": false,
    /* Module Options */
    "moduleResolution": "node",
    "esModuleInterop": false,
    "isolatedModules": true,
    "skipLibCheck": true,
    "target": "es2020"
    // @tsconfig/strictest is a useful reference for new options:
    // https://github.com/tsconfig/bases/blob/main/bases/strictest.json
  },
  "include": [
    "src/**/*.ts",
    "src/external/**/*.js",
  ],
  "typedocOptions": {
    "entryPointStrategy": "expand",
    "entryPoints": [
      "src/common/framework/",
      "src/common/util/",
      "src/webgpu/",
    ],
    "exclude": [
      "**/*.spec.ts",
      "**/*.html.ts",
      "src/*/listing.ts",
      "src/webgpu/util/device_pool.ts",
    ],
    "excludeInternal": true,
    "excludeProtected": true,
    "excludePrivate": true,
    "validation": {
      "invalidLink": true,
      "notExported": false,
    },
    "readme": "./docs/helper_index.txt",
    "out": "docs/tsdoc/"
  }
}