-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
187 lines (187 loc) · 5.6 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
{
"name": "coc-psalm",
"version": "0.12.4",
"description": "Psalm extension for coc.nvim",
"author": "yaegassy <yosstools@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"coc.nvim",
"php",
"psalm",
"vim",
"neovim"
],
"engines": {
"coc": "^0.0.80"
},
"repository": {
"type": "git",
"url": "https://github.com/yaegassy/coc-psalm"
},
"scripts": {
"lint": "eslint src --ext ts",
"clean": "rimraf lib",
"watch": "node esbuild.js --watch",
"build": "node esbuild.js",
"prepare": "node esbuild.js"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"semi": true
},
"activationEvents": [
"workspaceContains:**/?(psalm.xml|psalm.xml.dist)"
],
"contributes": {
"configuration": {
"type": "object",
"title": "coc-psalm configuration",
"properties": {
"psalm.enable": {
"type": "boolean",
"default": true,
"description": "Enable coc-psalm extension"
},
"psalm.disableCompletion": {
"type": "boolean",
"default": false,
"description": "Disable completion only."
},
"psalm.disableDefinition": {
"type": "boolean",
"default": false,
"description": "Disable definition only."
},
"psalm.disableProgressOnInitialization": {
"type": "boolean",
"default": false,
"description": "Disable ProgressOnInitialization only."
},
"psalm.phpExecutablePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Optional, defaults to searching for \"php\". The path to a PHP 7.0+ executable to use to execute the Psalm server. The PHP 7.0+ installation should preferably include and enable the PHP module `pcntl`. (Modifying requires restart)"
},
"psalm.phpExecutableArgs": {
"type": [
"array",
"null"
],
"default": [
"-dxdebug.remote_autostart=0",
"-dxdebug.remote_enable=0",
"-dxdebug_profiler_enable=0"
],
"description": "Optional (Advanced), default is '-dxdebug.remote_autostart=0 -dxdebug.remote_enable=0 -dxdebug_profiler_enable=0'. Additional PHP executable CLI arguments to use."
},
"psalm.psalmScriptPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Optional (Advanced). If provided, this overrides the Psalm server script to use, e.g. `vendor/bin/psalm-language-server`, `$HOME/path/to/psalm-language-server`, `~/path/to/psalm-language-server` (Modifying requires restart)"
},
"psalm.psalmScriptExtraArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Optional (Advanced). Additional arguments to the Psalm language server. (Modifying requires restart)"
},
"psalm.enableUseIniDefaults": {
"type": "boolean",
"default": false,
"description": "Enable this to use PHP-provided ini defaults for memory and error display. (Modifying requires restart)"
},
"psalm.enableDebugLog": {
"type": [
"boolean"
],
"default": false,
"description": "Enable this to print messages. (Modifying requires restart)"
},
"psalm.analyzedFileExtensions": {
"type": [
"array"
],
"default": [
{
"scheme": "file",
"language": "php"
},
{
"scheme": "untitled",
"language": "php"
}
],
"description": "A list of file extensions to request Psalm to analyze. By default, this only includes 'php' (Modifying requires restart)"
},
"psalm.unusedVariableDetection": {
"type": [
"boolean"
],
"default": false,
"description": "Enable this to enable unused variable and parameter detection"
},
"psalm.configPaths": {
"type": "array",
"default": [
"psalm.xml",
"psalm.xml.dist"
],
"description": "A list of files to checkup for psalm configuration (relative to the workspace directory)"
},
"psalm.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between coc.nvim and the Psalm language server",
"scope": "window"
}
}
},
"commands": [
{
"command": "psalm.restartPsalmServer",
"title": "Restart Psalm Language server",
"category": "Psalm"
},
{
"command": "psalm.analyzeWorkSpace",
"title": "Analyze Workspace",
"category": "Psalm"
}
]
},
"devDependencies": {
"@types/mz": "^0.0.31",
"@types/node": "^18.16.5",
"@types/semver": "^7.3.6",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"coc.nvim": "^0.0.82",
"esbuild": "^0.16.17",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "5.0.4"
},
"dependencies": {
"mz": "^2.7.0",
"semantic-release": "^19.0.2",
"semver": "^7.3.5"
}
}