File: tsconfig.json

package info (click to toggle)
golang-github-graph-gophers-graphql-go 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,416 kB
  • sloc: sh: 373; javascript: 21; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 1,301 bytes parent folder | download
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
{
  "include": [
    "run.ts",
    "node_modules/graphql/**/*.ts"
  ],
  "compilerOptions": {
    "lib": [
      "es2022",
      "dom" // Workaround for missing web-compatible globals in `@types/node`
    ],
    "target": "es2021",
    "module": "es2022",
    "moduleResolution": "node",
    "noEmit": true,
    "isolatedModules": true,
    "verbatimModuleSyntax": true,
    "forceConsistentCasingInFileNames": true,

    // Type Checking
    // https://www.typescriptlang.org/tsconfig#Type_Checking_6248
    "strict": true,
    "useUnknownInCatchVariables": false, // FIXME part of 'strict' but is temporary disabled
    // All checks that are not part of "strict"
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "exactOptionalPropertyTypes": true,
    "noFallthroughCasesInSwitch": false, // TODO consider
    "noImplicitOverride": true,
    "noImplicitReturns": false, // TODO consider
    "noPropertyAccessFromIndexSignature": false, // TODO consider
    "noUncheckedIndexedAccess": false, // FIXME
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "allowSyntheticDefaultImports": true
  },
  "ts-node": {
    "esm": true,
    // Dependencies would normally be skipped, however we've got to checkout graphql-js as a source package
    "skipIgnore": true
  }
}