-
-
Notifications
You must be signed in to change notification settings - Fork 364
/
vue-tsconfig.schema.json
114 lines (114 loc) · 3.45 KB
/
vue-tsconfig.schema.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"properties": {
"vueCompilerOptions": {
"type": "object",
"properties": {
"target": {
"default": "auto",
"enum": [
"auto",
2,
2.7,
3,
3.3
],
"markdownDescription": "Target version of Vue."
},
"extensions": {
"type": "array",
"default": [ ".vue" ],
"markdownDescription": "Valid file extensions that should be considered as regular Vue SFC, please note that you should not use this option separately for additional file extensions IDE support, see https://github.com/johnsoncodehk/volar/tree/master/packages/vscode-vue/README.md#custom-file-extensions."
},
"jsxSlots": {
"type": "boolean",
"default": false,
"markdownDescription": "Generate slots type for `JSX.ElementChildrenAttribute`."
},
"strictTemplates": {
"type": "boolean",
"default": false,
"markdownDescription": "Strict props, component type-checking in templates."
},
"skipTemplateCodegen": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/577"
},
"dataAttributes": {
"type": "array",
"default": [ ],
"markdownDescription": "A glob matcher array that should always avoid recognized as HTML Attributes and Component props."
},
"htmlAttributes": {
"type": "array",
"default": [ "aria-*" ],
"markdownDescription": "A glob matcher array that should always be recognizing as HTML Attributes rather than Component props. Attribute name will never convert to camelize case."
},
"plugins": {
"type": "array",
"default": [ ],
"markdownDescription": "Plugins to be used in the SFC compiler."
},
"hooks": {
"type": "array",
"markdownDescription": "https://github.com/johnsoncodehk/volar/pull/2217"
},
"optionsWrapper": {
"type": "array",
"default": [
"(await import('vue')).defineComponent(",
")"
],
"markdownDescription": "How to wrap option of `export default { ... }`? Default: `[\"(await import('vue')).default.extend(\", \")\"]` for target < 2.7, `[\"(await import('vue')).defineComponent(\", \")\"]` for target >= 2.7."
},
"macros": {
"type": "object",
"default": {
"defineProps": [ "defineProps" ],
"defineSlots": [ "defineSlots" ],
"defineEmits": [ "defineEmits" ],
"defineExpose": [ "defineExpose" ],
"withDefaults": [ "withDefaults" ]
}
},
"experimentalResolveStyleCssClasses": {
"enum": [
"scoped",
"always",
"never"
],
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1038, https://github.com/johnsoncodehk/volar/issues/1121"
},
"experimentalUseElementAccessInTemplate": {
"type": "boolean",
"default": false,
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/997"
},
"experimentalModelPropName": {
"type": "object",
"default": {
"": {
"input": true
},
"value": {
"input": { "type": "text" },
"textarea": true,
"select": true
}
},
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1969"
},
"experimentalAdditionalLanguageModules": {
"type": "array",
"markdownDescription": "https://github.com/johnsoncodehk/volar/pull/2267"
},
"experimentalDefinePropProposal": {
"enum": [
"kevinEdition",
"johnsonEdition",
false
]
}
}
}
}
}