Skip to content

Commit 80acf47

Browse files
committed
Restructure to follow eslint configuration
1 parent 3332a71 commit 80acf47

File tree

13 files changed

+592
-325
lines changed

13 files changed

+592
-325
lines changed

.vscode/launch.json

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
54
{
6-
"name": "Launch Client",
75
"type": "extensionHost",
86
"request": "launch",
7+
"name": "Launch Extension",
98
"runtimeExecutable": "${execPath}",
10-
"args": [
11-
"--extensionDevelopmentPath=${workspaceRoot}/client"
12-
],
9+
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
1310
"stopOnEntry": false,
1411
"sourceMaps": true,
15-
"outFiles": [
16-
"${workspaceRoot}/client/out/**/*.js"
17-
],
18-
"preLaunchTask": "watch:client"
12+
"outFiles": ["${workspaceRoot}/client/out/**/*.js"]
13+
// "preLaunchTask": "watch"
1914
},
2015
{
21-
"name": "Attach to Server",
2216
"type": "node",
2317
"request": "attach",
24-
"port": 6009,
18+
"name": "Attach to Server",
19+
"address": "localhost",
20+
"protocol": "inspector",
21+
"port": 6010,
2522
"sourceMaps": true,
26-
"outFiles": [
27-
"${workspaceRoot}/client/server/**/*.js"
28-
],
29-
"preLaunchTask": "watch:server"
23+
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
3024
}
3125
]
3226
}

.vscode/settings.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
"out": false
44
},
55
"search.exclude": {
6-
"out": true
6+
"out": true,
7+
"server": true
78
},
9+
"files.trimTrailingWhitespace": true,
10+
"editor.insertSpaces": false,
11+
"editor.tabSize": 4,
812
"typescript.tsdk": "./node_modules/typescript/lib",
9-
"typescript.tsc.autoDetect": "off"
10-
}
13+
"eslint.enable": false,
14+
"tslint.enable": false,
15+
"eslint.trace.server": "off"
16+
}

.vscode/tasks.json

Lines changed: 7 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,12 @@
11
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
24
"version": "2.0.0",
35
"tasks": [
4-
{
5-
"label": "compile",
6-
"dependsOn": [
7-
"compile:client",
8-
"compile:server"
9-
],
10-
"problemMatcher": []
11-
},
12-
{
13-
"label": "compile:client",
14-
"type": "npm",
15-
"script": "compile:client",
16-
"group": "build",
17-
"presentation": {
18-
"panel": "dedicated",
19-
"reveal": "never"
20-
},
21-
"problemMatcher": [
22-
"$tsc"
23-
]
24-
},
25-
{
26-
"label": "compile:server",
27-
"type": "npm",
28-
"script": "compile:server",
29-
"group": "build",
30-
"presentation": {
31-
"panel": "dedicated",
32-
"reveal": "never"
33-
},
34-
"problemMatcher": [
35-
"$tsc"
36-
]
37-
},
386
{
397
"label": "watch",
408
"dependsOn": [
41-
"watch:client",
42-
"watch:server"
9+
"npm: watch:client", "npm: watch:server"
4310
],
4411
"group": {
4512
"kind": "build",
@@ -48,28 +15,26 @@
4815
"problemMatcher": []
4916
},
5017
{
51-
"label": "watch:client",
5218
"type": "npm",
5319
"script": "watch:client",
5420
"isBackground": true,
5521
"group": "build",
5622
"presentation": {
57-
"panel": "dedicated",
58-
"reveal": "never"
23+
"reveal": "never",
24+
"panel": "dedicated"
5925
},
6026
"problemMatcher": [
6127
"$tsc-watch"
6228
]
6329
},
6430
{
65-
"label": "watch:server",
6631
"type": "npm",
6732
"script": "watch:server",
6833
"isBackground": true,
6934
"group": "build",
7035
"presentation": {
71-
"panel": "dedicated",
72-
"reveal": "never"
36+
"reveal": "never",
37+
"panel": "dedicated"
7338
},
7439
"problemMatcher": [
7540
"$tsc-watch"

0 commit comments

Comments
 (0)