This repository was archived by the owner on Mar 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.13 KB
/
package.json
File metadata and controls
149 lines (149 loc) · 4.13 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
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
{
"name": "vscode-ddev-phpstan",
"displayName": "DDEV PHPStan",
"description": "[ABANDONED] This project is abandoned in favor of Trunk Code Quality. PHP static analysis with PHPStan in DDEV containers for VS Code",
"version": "0.5.2",
"publisher": "OpenForgeProject",
"license": "GPL-3.0",
"icon": "assets/icon.png",
"engines": {
"vscode": "^1.108.0"
},
"categories": [
"Linters",
"Programming Languages"
],
"keywords": [
"php",
"phpstan",
"ddev",
"static-analysis",
"quality"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "ddev-phpstan.analyzeCurrentFile",
"title": "Analyze Current File",
"category": "DDEV PHPStan"
},
{
"command": "ddev-phpstan.debugCurrentFile",
"title": "Debug Analysis (Show Raw Output)",
"category": "DDEV PHPStan"
},
{
"command": "ddev-phpstan.enable",
"title": "Enable",
"category": "DDEV PHPStan"
},
{
"command": "ddev-phpstan.disable",
"title": "Disable",
"category": "DDEV PHPStan"
},
{
"command": "ddev-phpstan.toggle",
"title": "Toggle Enable/Disable",
"category": "DDEV PHPStan"
}
],
"configuration": {
"title": "DDEV PHPStan",
"properties": {
"ddev-phpstan.enable": {
"type": "boolean",
"default": true,
"description": "Enable or disable the DDEV PHPStan extension"
},
"ddev-phpstan.validateOn": {
"type": "string",
"enum": [
"save",
"type"
],
"default": "save",
"description": "When to validate PHP files"
},
"ddev-phpstan.level": {
"type": "integer",
"minimum": 0,
"maximum": 9,
"default": 6,
"description": "PHPStan analysis level (0-9, higher is stricter). Level 6 is recommended for most projects. Ignored when configPath is set."
},
"ddev-phpstan.minSeverity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
],
"default": "warning",
"description": "Minimum severity level for reported issues"
},
"ddev-phpstan.configPath": {
"type": "string",
"default": "",
"description": "Path to custom PHPStan configuration file (relative to workspace root). When set, level and excludePaths settings are ignored."
},
"ddev-phpstan.excludePaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"vendor/",
"var/",
"cache/",
"public/bundles/",
"node_modules/",
"tests/fixtures/",
"migrations/"
],
"description": "Paths to exclude from analysis. Ignored when configPath is set."
}
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/OpenForgeProject/vscode-ddev-phpstan"
},
"scripts": {
"compile": "tsx esbuild.ts",
"compile-tests": "tsx esbuild.ts",
"watch": "tsx esbuild.ts --watch",
"package": "tsx esbuild.ts --production",
"vscode:prepublish": "npm run package",
"test": "npm run compile-tests && vscode-test",
"lint": "eslint src --ext ts",
"publish:vscode": "vsce publish",
"publish:ovsx": "ovsx publish",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.4.2",
"@types/mocha": "^10.0.9",
"@types/node": "^25.x",
"@types/vscode": "^1.109.0",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.0.0",
"esbuild": "^0.27.3",
"eslint": "^10.0.2",
"husky": "^9.1.7",
"mocha": "^11.7.4",
"ovsx": "^0.10.9",
"sinon": "^21.0.1",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
}
}