-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.95 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 3.95 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "vastlint",
"displayName": "VASTlint — VAST XML Validator",
"description": "Inline linting for IAB VAST 2.0–4.3, VMAP 1.0, and DAAST 1.0 ad tags. 191 rules, Problems entries, hovers, fix guidance, docs links. CLI backend with WASM fallback.",
"version": "0.8.1",
"publisher": "aleksUIX",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/aleksUIX/vastlint.git",
"directory": "vscode"
},
"engines": {
"vscode": "^1.85.0"
},
"icon": "icon.png",
"homepage": "https://vastlint.org",
"categories": [
"Linters"
],
"keywords": [
"vast",
"vast-xml",
"vast-validator",
"simid",
"vpaid",
"xml",
"validator",
"linter",
"adtech",
"iab",
"ctv",
"ssai",
"video",
"advertising",
"creative",
"mcp",
"wrapper"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vastlint.fixAll",
"title": "VASTlint: Fix All Auto-fixable Issues (Experimental)"
}
],
"languages": [
{
"id": "xml",
"extensions": [
".xml"
]
}
],
"configuration": {
"title": "VASTlint",
"properties": {
"vastlint.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable VASTlint diagnostics."
},
"vastlint.minSeverity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
],
"default": "info",
"description": "Minimum severity level to show. Set to 'error' to hide warnings and info."
},
"vastlint.ruleOverrides": {
"type": "object",
"default": {},
"description": "Per-rule severity overrides (WASM fallback mode only). Keys are rule IDs (e.g. 'VAST-2.0-mediafile-https'). Values are 'error', 'warning', 'info', or 'off'. When using the CLI backend, use a vastlint.toml file instead."
},
"vastlint.vastVersion": {
"type": "string",
"enum": [
"",
"2.0",
"3.0",
"4.0",
"4.1",
"4.2",
"4.3"
],
"default": "",
"description": "Treat all VAST documents as this spec version regardless of the version attribute. Useful for templates where the version attribute is absent or templated. Maps to --vast-version in CLI mode."
},
"vastlint.templateIgnoreRegex": {
"type": "string",
"default": "",
"description": "A JavaScript regex pattern whose matches are erased (same-length replacement) before validation. Use this to strip template expressions so they don't produce false-positive XML parse errors. Examples: Mustache/Handlebars: '\\{\\{[^}]*\\}\\}' · ERB/EJS: '<[%=].*?%>' · Go templates: '\\{\\{[\\s\\S]*?\\}\\}'"
},
"vastlint.cliPath": {
"type": "string",
"default": "vastlint",
"description": "Path to the VASTlint CLI binary. Defaults to 'vastlint' (searched on PATH and common install locations). Set an absolute path if the binary is not on PATH. When found, the CLI is used for validation; the bundled WASM is used as a fallback."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run bundle",
"compile": "tsc --noEmit",
"compile-emit": "tsc",
"bundle": "node build.js",
"watch": "tsc -watch -p ./ --noEmit",
"test": "npm run compile-emit && node --test test/utils.test.mjs"
},
"dependencies": {
"vastlint": "file:../npm"
},
"devDependencies": {
"@vscode/vsce": "3.9.2",
"@types/node": "^26.1.1",
"@types/vscode": "1.85.0",
"esbuild": "^0.28.1",
"ovsx": "1.0.2",
"typescript": "^6.0.3"
},
"overrides": {
"tmp": "0.2.7",
"undici": "7.28.0",
"form-data": "4.0.6",
"js-yaml": "4.2.0"
}
}