-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.68 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
{
"name": "rpf-markdown-linter",
"displayName": "rpf-markdown-linter",
"description": "",
"version": "0.0.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RaspberryPiFoundation/rpf-markdown-linter.git"
},
"engines": {
"vscode": "^1.116.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "rpf-markdown-linter.fixAllInWorkspace",
"title": "RPF Markdown Linter: Fix All Auto-fixable Issues in Workspace"
}
],
"configuration": {
"title": "RPF Markdown Linter",
"properties": {
"rpfMarkdownLinter.allowedHtmlSnippets": {
"type": "array",
"default": [
"<br class=\"page-break\"/>",
"<br class=\"page-break\" />"
],
"items": {
"type": "string"
},
"description": "HTML snippets allowed in markdown without warnings. Comparison is case-insensitive and whitespace-normalized."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "yarn run check-types && node esbuild.js",
"check-types": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@types/node": "22.x",
"@types/vscode": "^1.116.0",
"esbuild": "^0.28.0",
"eslint": "^9.39.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.1.4"
},
"packageManager": "yarn@4.12.0"
}