Skip to content

Commit 6077149

Browse files
authored
Merge pull request #50 from denco/fix/issue_44
fix issue #44
2 parents 516a3da + a2f05ca commit 6077149

File tree

13 files changed

+273
-147
lines changed

13 files changed

+273
-147
lines changed

.eslintrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": [
5+
"@typescript-eslint"
6+
],
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended"
11+
],
12+
"rules": {
13+
"no-console": 1 // 2 - error, 1 - warn
14+
}
15+
}

.vscode/launch.json

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,20 @@
1-
// A launch configuration that compiles the extension and then opens it inside a new window
21
{
3-
"version": "0.1.0",
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
46
"configurations": [
57
{
6-
"name": "Debug extension",
7-
"type": "extensionHost",
8-
"request": "launch",
9-
"runtimeExecutable": "${execPath}",
10-
"args": [
11-
"--extensionDevelopmentPath=${workspaceRoot}"
12-
],
13-
"stopOnEntry": false,
14-
"sourceMaps": true,
15-
"outFiles": [
16-
"out"
17-
],
18-
"preLaunchTask": "npm: watch"
19-
},
20-
{
21-
"name": "Debug extension OSS",
22-
"type": "extensionHost",
23-
"request": "launch",
24-
// path to VSCode executable
25-
"runtimeExecutable": "${execPath}",
268
"args": [
27-
"/usr/lib/code/",
28-
"--extensionDevelopmentPath=${workspaceRoot}",
29-
"${workspaceRoot}/src/test/testfiles/"
9+
"--extensionDevelopmentPath=${workspaceFolder}"
3010
],
31-
"stopOnEntry": false,
32-
"sourceMaps": true,
11+
"name": "Launch Extension",
3312
"outFiles": [
34-
"${workspaceRoot}/out"
13+
"${workspaceFolder}/out/**/*.js"
3514
],
36-
"preLaunchTask": "npm: watch"
37-
},
38-
{
39-
"name": "Extension Tests",
40-
"type": "extensionHost",
15+
"preLaunchTask": "npm: watch",
4116
"request": "launch",
42-
"runtimeExecutable": "${execPath}",
43-
"args": [
44-
"--extensionDevelopmentPath=${workspaceRoot}",
45-
"--extensionTestsPath=${workspaceRoot}/out/test"
46-
],
47-
"stopOnEntry": false,
48-
"sourceMaps": true,
49-
"outFiles": [
50-
"out"
51-
],
52-
"preLaunchTask": "npm: test"
17+
"type": "extensionHost"
5318
}
5419
]
55-
}
20+
}

npm-shrinkwrap.json

Lines changed: 65 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@
134134
"devDependencies": {
135135
"@types/glob": "^8.1.0",
136136
"@types/mocha": "^10.0.3",
137-
"@types/node": "^20.8.8",
138-
"@types/vscode": "^1.40.0",
139-
"@typescript-eslint/eslint-plugin": "^6.9.0",
140-
"@typescript-eslint/parser": "^6.9.0",
137+
"@types/node": "^20.8.10",
138+
"@types/vscode": "^1.84.0",
139+
"@typescript-eslint/eslint-plugin": "^6.9.1",
140+
"@typescript-eslint/parser": "^6.9.1",
141141
"eslint": "^8.5.2",
142142
"glob": "^10.2.10",
143143
"html-formatter": "^0.1.9",
@@ -147,7 +147,7 @@
147147
"run-script-os": "^1.1.6",
148148
"source-map-support": "^0.5.12",
149149
"typescript": "^5.2.2",
150-
"@vscode/vsce": "^2.21.1",
150+
"@vscode/vsce": "^2.22.0",
151151
"@vscode/test-electron": "^2.3.6"
152152
},
153153
"eslintConfig": {

0 commit comments

Comments
 (0)