/
vue-tsconfig.schema.json
121 lines (121 loc) · 3.7 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
115
116
117
118
119
120
121
{
"properties": {
"vueCompilerOptions": {
"type": "object",
"properties": {
"target": {
"type": "number",
"default": 3,
"anyOf": [
{
"enum": [
2,
2.7,
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/extensions/vscode-vue-language-features/README.md#custom-file-extensions."
},
"jsxTemplates": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to compile template to JSX. (Generics component type checking only working with JSX)"
},
"strictTemplates": {
"type": "boolean",
"default": false,
"markdownDescription": "Strict props, component type-checking in templates."
},
"skipTemplateCodegen": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/577"
},
"nativeTags": {
"type": "array",
"default": [
"div",
"img",
"..."
],
"markdownDescription": "List of valid intrinsic elements."
},
"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."
},
"narrowingTypesInInlineHandlers": {
"type": "boolean",
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1249"
},
"experimentalResolveStyleCssClasses": {
"enum": [
"scoped",
"always",
"never"
],
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1038, https://github.com/johnsoncodehk/volar/issues/1121"
},
"experimentalRfc436": {
"type": "boolean",
"default": false,
"markdownDescription": "https://github.com/vuejs/rfcs/discussions/436"
},
"experimentalUseElementAccessInTemplate": {
"type": "boolean",
"default": false,
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/997"
},
"experimentalModelPropName": {
"type": "object",
"default": {
"": {
"input": { "type": "radio" }
},
"checked": {
"input": { "type": "checkbox" }
},
"value": {
"input": true,
"textarea": true,
"select": true
}
},
"markdownDescription": "https://github.com/johnsoncodehk/volar/issues/1969"
},
"experimentalAdditionalLanguageModules": {
"type": "array",
"markdownDescription": "https://github.com/johnsoncodehk/volar/pull/2267"
}
}
}
}
}