forked from sandhje/vscode-phpmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 3.65 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
{
"name": "vscode-phpmd-suppress",
"displayName": "PHP Mess Detector with suppressions",
"description": "VSCode plugin for PHP Mess Detector with info how to suppress detected problems",
"author": "Ecodes.io",
"license": "MIT",
"version": "1.4.0",
"publisher": "PCODE-pl",
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"onLanguage:php"
],
"keywords": [
"php",
"phpmd",
"mess detector",
"diagnostics",
"linter"
],
"bugs": {
"url": "https://github.com/pczerkas/vscode-phpmd/issues"
},
"homepage": "https://github.com/pczerkas/vscode-phpmd",
"repository": {
"type": "git",
"url": "https://github.com/pczerkas/vscode-phpmd.git"
},
"icon": "images/vscode-phpmd.png",
"main": "./out/client/client",
"contributes": {
"configuration": {
"type": "object",
"title": "PHP Mess Detector configuration",
"properties": {
"phpmd.enabled": {
"type": "boolean",
"default": true,
"description": "Enable mess detector"
},
"phpmd.command": {
"type": "string",
"scope": "machine",
"default": "",
"description": "The phpmd command. Leave empty to use the shipped phpmd phar (local php executable is required)"
},
"phpmd.unsafeCommandEnabled": {
"type": "boolean",
"scope": "machine",
"default": false,
"description": "Enable overriding phpmd command from workspace. This potentially makes you vulnerable to a remote code execution attack, only enable this if you know what you're doing."
},
"phpmd.unsafeCommand": {
"type": "string",
"scope": "machine-overridable",
"default": "",
"description": "Override phpmd command from workspace. This potentially makes you vulnerable to a remote code execution attack, only use this if you know what you're doing."
},
"phpmd.rules": {
"type": "string",
"default": "cleancode,codesize,controversial,design,unusedcode,naming",
"description": "Phpmd ruleset (comma separated list of rulesets or the location of a config file)"
},
"phpmd.verbose": {
"type": "boolean",
"default": false,
"description": "Enable verbose logging"
},
"phpmd.clearOnClose": {
"type": "boolean",
"default": true,
"description": "Clear diagnostics for a file upon closing it"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"test": "nyc mocha --opts mocha.opts",
"report-coverage": "nyc report --reporter=json",
"compile": "tsc -p .",
"watch": "tsc --watch -p ."
},
"devDependencies": {
"@types/chai": "^4.2.5",
"@types/mocha": "^7.0.0",
"@types/node": "^12.12.11",
"@types/sinon": "^7.5.1",
"@types/xml2js": "^0.4.5",
"@types/vscode": "^1.37.0",
"@testdeck/mocha": "^0.1.2",
"chai": "^4.2.0",
"codecov": "^3.8.1",
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"sinon": "^7.5.0",
"source-map-support": "^0.5.16",
"ts-node": "^8.5.2",
"tslint": "^5.20.1",
"typescript": "3.7.2"
},
"dependencies": {
"@open-sourcerers/j-stillery": "^0.2.0",
"vscode-languageclient": "^5.2.1",
"vscode-languageserver": "^5.2.1",
"vscode-uri": "^2.1.1",
"xml2js": "^0.4.17"
},
"nyc": {
"include": [
"server/*.ts",
"server/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary"
],
"sourceMap": true,
"instrument": true
}
}