/
tsconfig.json
27 lines (27 loc) · 1.08 KB
/
tsconfig.json
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
{
"compilerOptions": {
"baseUrl": "./",
"strict": true,
"target": "es6",
"module": "commonjs",
"lib": ["dom", "es6", "es5", "es2017", "esnext.asynciterable"],
"sourceMap": true,
"outDir": "./dist",
"moduleResolution": "node",
"removeComments": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true, /* Needed for .graphql imports - Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"noUnusedParameters": false, // Todo: after update to eslint. This is to allow _ in mutation...eg: addPlayer: async (_, args) =>, as its the first variable. eslint can have granular check to allow _
"paths": {
"src/*": ["./src/*"]
},
"declaration": true
},
"exclude": ["node_modules", "dist"],
"include": ["./*", "__tests__", "/src/*", "@types"]
}