-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathpackage.json
189 lines (189 loc) · 5.04 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "apex-pmd",
"displayName": "Apex PMD",
"description": "PMD static analysis for Salesforce Apex",
"version": "0.4.10",
"publisher": "chuckjonas",
"author": {
"name": "Charlie Jonas",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.43.0"
},
"repository": {
"type": "git",
"url": "https://github.com/ChuckJonas/vscode-apex-pmd.git"
},
"bugs": {
"url": "https://github.com/ChuckJonas/vscode-apex-pmd/issues"
},
"icon": "images/vscode-apex-pmd.png",
"categories": [
"Linters"
],
"keywords": [
"Salesforce",
"Apex",
"Static Analysis",
"PMD"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "apex-pmd.runWorkspace",
"title": "On Workspace",
"category": "Apex Static Analysis"
},
{
"command": "apex-pmd.runFile",
"title": "On File",
"category": "Apex Static Analysis"
},
{
"command": "apex-pmd.clearProblems",
"title": "Clear Problems",
"category": "Apex Static Analysis"
}
],
"languages": [
{
"id": "apex",
"extensions": [
".apxc",
".cls",
".trigger"
],
"aliases": [
"Apex"
]
},
{
"id": "visualforce",
"extensions": [
".page",
".component"
],
"aliases": [
"VisualForce",
"Visualforce"
]
}
],
"configuration": {
"type": "object",
"title": "Apex PMD configuration",
"properties": {
"apexPMD.pmdBinPath": {
"type": "string",
"default": "",
"description": "(Optional) Path to where PMD was installed"
},
"apexPMD.rulesets": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "(Optional) Paths to rulesets' xml files."
},
"apexPMD.runOnFileOpen": {
"type": "boolean",
"default": false,
"description": "Will run static analysis every time a file is opened"
},
"apexPMD.runOnFileSave": {
"type": "boolean",
"default": true,
"description": "Will run static analysis every time a file is saved"
},
"apexPMD.priorityErrorThreshold": {
"type": "number",
"default": 1,
"description": "Determines at what priority level 'errors' will be added. Anything less will be a warning or hint"
},
"apexPMD.priorityWarnThreshold": {
"type": "number",
"default": 3,
"description": "Determines at what priority level 'warnings' will be added. Anything less will be a hint"
},
"apexPMD.showErrors": {
"type": "boolean",
"default": true,
"description": "Show errors in output window"
},
"apexPMD.showStdOut": {
"type": "boolean",
"default": false,
"description": "Show showStdOut in output window"
},
"apexPMD.showStdErr": {
"type": "boolean",
"default": true,
"description": "Show showStdErr in output window"
},
"apexPMD.enableCache": {
"type": "boolean",
"default": false,
"description": "Creates a cache file for PMD to run faster. Will create a .pmdCache file in your workspace"
},
"apexPMD.additionalClassPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "(Optional) paths to be appended to classpath. Used to find jar files containing custom rule definitions. Can be absolute or relative to workspace."
},
"apexPMD.commandBufferSize": {
"type": "number",
"default": "64",
"description": "Size of buffer used to collect PMD command output (MB), may need to be increased for very large projects"
}
}
},
"menus": {
"explorer/context": [
{
"when": "resourceLangId == 'apex'",
"command": "apex-pmd.runFile",
"group": "apex-pmd"
}
],
"editor/context": [
{
"when": "resourceLangId == 'apex'",
"command": "apex-pmd.runFile",
"group": "apex-pmd"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"update-pmd": "./bin/update.sh",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/csv-parse": "^1.1.11",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.5",
"@types/node": "^10.9.4",
"@types/vscode": "1.43.0",
"mocha": "^5.2.0",
"tslint": "^5.16.0",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"csv-parse": "^4.8.5"
}
}