-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
43 lines (43 loc) · 1.34 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"$schema": "http://json.schemastore.org/tsconfig",
"include": ["*.ts", "*.tsx"],
"compilerOptions": {
// During development for Node v10.8 support
"target": "es2018",
"module": "ESNext",
"lib": ["esnext", "dom", "dom.iterable"],
// ensure that nobody can accidentally use this config for a build
"noEmit": true,
"declaration": true,
"declarationMap": true,
"noEmitOnError": true,
"noErrorTruncation": true,
"jsx": "preserve",
// Enforce using `import type` instead of `import` for Types
"importsNotUsedAsValues": "error",
"allowJs": true,
// Generate inline sourcemaps
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// Allow to import json files
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"plugins": [
{
"name": "@twind/typescript-plugin"
// "debug": true
}
]
}
}