forked from WordPress/openverse-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
58 lines (55 loc) · 1.56 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
49
50
51
52
53
54
55
56
57
58
{
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"target": "ES2018",
"module": "ESNext",
"lib": ["DOM", "ESNext", "ESNext.AsyncIterable"],
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
"sourceMap": true,
/* Strict Type-Checking Options */
"strict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"importsNotUsedAsValues": "error",
/* Module Resolution Options */
"moduleResolution": "Node",
"resolveJsonModule": true,
"types": ["@types/jest", "@nuxt/types", "@nuxtjs/i18n"],
"typeRoots": ["./typings", "./node_modules/@types"],
"paths": {
"~/*": ["./src/*"],
"~~/*": ["./*"]
},
"baseUrl": "."
},
"include": [
"**/*.ts",
"test/proxy.js",
"src/components/VLink.vue",
"src/components/VContentPage.vue",
"src/composables/types.js",
"src/composables/use-event-listener-outside.js",
"src/composables/use-active-audio.js",
"src/composables/use-get-locale-formatted-number.js",
"src/composables/use-browser-detection.js",
"src/composables/use-media-query.js",
"src/composables/window.js",
"src/constants/screens.js",
"src/utils/deep-freeze.js"
],
"exclude": ["node_modules"],
"vueCompilerOptions": {
"experimentalCompatMode": 2,
"experimentalTemplateCompilerOptions": {
"compatConfig": { "MODE": 2 } // optional
}
}
}