forked from eamodio/vscode-tsl-problem-matcher
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.63 KB
/
package.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
{
"name": "prettier-problem-matcher",
"displayName": "Prettier Problem Matchers",
"description": "Provides problem matchers for projects using prettier and prettier in watch-mode",
"version": "0.0.1",
"author": {
"name": "Rayat Rahman",
"email": "[email protected]"
},
"publisher": "rayatr",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/riotrah/vscode-prettier-problem-matcher/blob/main/README.md",
"bugs": {
"url": "https://github.com/riotrah/vscode-prettier-problem-matcher/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/riotrah/vscode-prettier-problem-matcher.git"
},
"engines": {
"vscode": "^1.65.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"prettier",
"problem matcher",
"tasks",
"vscode",
"vscode-problem-matcher"
],
"contributes": {
"problemMatchers": [
{
"name": "prettier",
"label": "Prettier check problems",
"owner": "prettier",
"source": "prettier style check",
"applyTo": "closedDocuments",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"severity": "error",
"pattern": {
"regexp": "\\[(error)\\] (.+?): (.+) \\((\\d+?):(\\d+?)\\)",
"kind": "location",
"severity": 1,
"file": 2,
"message": 3,
"line": 4,
"column": 5
}
},
{
"base": "$prettier",
"name": "prettier-watch",
"label": "Prettier check watch problems (prettier + onchange watch mode)",
"background": {
"activeOnStart": true,
"beginsPattern": "Checking formatting",
"endsPattern": "(\\[warn\\] Code style issues found in the above file\\(s\\))|(All matched files use Prettier code style!)"
}
},
{
"base": "$prettier",
"name": "prettier-warn",
"label": "Prettier check warning problems (prettier file-level warnings)",
"severity": "warning",
"pattern": {
"regexp": "\\[warn\\] (.+)",
"kind": "file",
"file": 1,
"message": 1
}
},
{
"base": "$prettier-warn",
"name": "prettier-warn-watch",
"label": "Prettier check warning watch problems (prettier file-level warnings + onchange watch mode)",
"background": {
"activeOnStart": true,
"beginsPattern": "Checking formatting",
"endsPattern": "(\\[warn\\] Code style issues found in the above file\\(s\\))|(All matched files use Prettier code style!)"
}
}
]
},
"scripts": {
"pack": "vsce package --yarn",
"pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\"",
"pub": "vsce publish --yarn"
},
"devDependencies": {
"@types/vscode": "1.37.0",
"prettier": "2.6.1",
"vsce": "2.7.0"
}
}