forked from ymm-tech/gods-pen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
48 lines (48 loc) · 1.24 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
44
45
46
47
48
{
"compilerOptions": {
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"noImplicitAny": true,
"noEmitOnError": false,
"noImplicitThis": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"downlevelIteration": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"jsx": "react",
"lib": [
"es6",
"dom"
],
"sourceMap": true,
/**
* #6: fix Intellisense and go to definition for absolute path
* here you can learn more those links:
* 1. https://code.visualstudio.com/docs/languages/jsconfig
* 2. https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
* 3. https://github.com/vuejs/vetur/issues/423#issuecomment-340235722
*/
// see more: https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
// This must be specified if "paths" is set
"baseUrl": ".",
// Relative to "baseUrl"
"paths": {
"src/*": ["./src/*"],
}
},
"plugins": [{
"name": "tslint-language-service"
}],
"include": [
"src/components/code/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}