Skip to content

Commit 7e57487

Browse files
committed
Format JSON config files
1 parent 95fced2 commit 7e57487

File tree

7 files changed

+53
-135
lines changed

7 files changed

+53
-135
lines changed

.config/dotnet-tools.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,18 @@
44
"tools": {
55
"csharpier": {
66
"version": "1.1.2",
7-
"commands": [
8-
"csharpier"
9-
],
7+
"commands": ["csharpier"],
108
"rollForward": false
119
},
1210
"docfx": {
1311
"version": "2.78.3",
14-
"commands": [
15-
"docfx"
16-
],
12+
"commands": ["docfx"],
1713
"rollForward": false
1814
},
1915
"trx2junit": {
2016
"version": "2.1.0",
21-
"commands": [
22-
"trx2junit"
23-
],
17+
"commands": ["trx2junit"],
2418
"rollForward": false
2519
}
2620
}
27-
}
21+
}

.devcontainer/devcontainer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,7 @@
8080
"source=${localWorkspaceFolder}/.git,target=${containerWorkspaceFolder}/.git,type=bind,consistency=cached"
8181
],
8282
"remoteUser": "vscode",
83-
"forwardPorts": [
84-
5000,
85-
5001,
86-
8080,
87-
3000
88-
],
83+
"forwardPorts": [5000, 5001, 8080, 3000],
8984
"portsAttributes": {
9085
"5000": {
9186
"label": "HTTP",

.vscode/launch.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@
7878
"type": "coreclr",
7979
"request": "launch",
8080
"program": "dotnet",
81-
"args": [
82-
"csharpier",
83-
"${workspaceFolder}"
84-
],
81+
"args": ["csharpier", "${workspaceFolder}"],
8582
"cwd": "${workspaceFolder}",
8683
"stopAtEntry": false,
8784
"console": "internalConsole"

.vscode/settings.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
"source.organizeImports": "explicit",
3030
"source.removeUnusedImports": "explicit"
3131
},
32-
"editor.rulers": [
33-
100,
34-
120
35-
],
32+
"editor.rulers": [100, 120],
3633
"editor.wordWrap": "wordWrapColumn",
3734
"editor.wordWrapColumn": 100,
3835
// Files and search settings

.vscode/tasks.json

Lines changed: 13 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
"label": "cmake-configure",
66
"type": "shell",
77
"command": "cmake",
8-
"args": [
9-
"-B",
10-
"build",
11-
"-DCMAKE_BUILD_TYPE=Debug"
12-
],
8+
"args": ["-B", "build", "-DCMAKE_BUILD_TYPE=Debug"],
139
"group": "build",
1410
"presentation": {
1511
"echo": true,
@@ -28,12 +24,7 @@
2824
"label": "cmake-process",
2925
"type": "shell",
3026
"command": "cmake",
31-
"args": [
32-
"--build",
33-
"build",
34-
"--target",
35-
"process"
36-
],
27+
"args": ["--build", "build", "--target", "process"],
3728
"group": "build",
3829
"dependsOn": "cmake-configure",
3930
"presentation": {
@@ -53,12 +44,7 @@
5344
"label": "cmake-build",
5445
"type": "shell",
5546
"command": "cmake",
56-
"args": [
57-
"--build",
58-
"build",
59-
"--target",
60-
"build"
61-
],
47+
"args": ["--build", "build", "--target", "build"],
6248
"group": {
6349
"kind": "build",
6450
"isDefault": true
@@ -75,20 +61,13 @@
7561
"options": {
7662
"cwd": "${workspaceFolder}"
7763
},
78-
"problemMatcher": [
79-
"$msCompile"
80-
]
64+
"problemMatcher": ["$msCompile"]
8165
},
8266
{
8367
"label": "cmake-test",
8468
"type": "shell",
8569
"command": "cmake",
86-
"args": [
87-
"--build",
88-
"build",
89-
"--target",
90-
"test"
91-
],
70+
"args": ["--build", "build", "--target", "test"],
9271
"group": {
9372
"kind": "test",
9473
"isDefault": true
@@ -111,12 +90,7 @@
11190
"label": "cmake-format",
11291
"type": "shell",
11392
"command": "cmake",
114-
"args": [
115-
"--build",
116-
"build",
117-
"--target",
118-
"format"
119-
],
93+
"args": ["--build", "build", "--target", "format"],
12094
"group": "build",
12195
"presentation": {
12296
"echo": true,
@@ -135,12 +109,7 @@
135109
"label": "cmake-doc",
136110
"type": "shell",
137111
"command": "cmake",
138-
"args": [
139-
"--build",
140-
"build",
141-
"--target",
142-
"doc"
143-
],
112+
"args": ["--build", "build", "--target", "doc"],
144113
"group": "build",
145114
"dependsOn": "cmake-build",
146115
"presentation": {
@@ -160,12 +129,7 @@
160129
"label": "cmake-publish",
161130
"type": "shell",
162131
"command": "cmake",
163-
"args": [
164-
"--build",
165-
"build",
166-
"--target",
167-
"publish"
168-
],
132+
"args": ["--build", "build", "--target", "publish"],
169133
"group": "build",
170134
"dependsOn": "cmake-build",
171135
"presentation": {
@@ -185,12 +149,7 @@
185149
"label": "cmake-clean",
186150
"type": "shell",
187151
"command": "cmake",
188-
"args": [
189-
"--build",
190-
"build",
191-
"--target",
192-
"clean-all"
193-
],
152+
"args": ["--build", "build", "--target", "clean-all"],
194153
"group": "build",
195154
"presentation": {
196155
"echo": true,
@@ -209,10 +168,7 @@
209168
"label": "dotnet-restore",
210169
"type": "shell",
211170
"command": "dotnet",
212-
"args": [
213-
"restore",
214-
"${workspaceFolder}/OpenLanguage.sln"
215-
],
171+
"args": ["restore", "${workspaceFolder}/OpenLanguage.sln"],
216172
"group": "build",
217173
"presentation": {
218174
"echo": true,
@@ -251,9 +207,7 @@
251207
"options": {
252208
"cwd": "${workspaceFolder}"
253209
},
254-
"problemMatcher": [
255-
"$msCompile"
256-
]
210+
"problemMatcher": ["$msCompile"]
257211
},
258212
{
259213
"label": "dotnet-test",
@@ -287,10 +241,7 @@
287241
"label": "format-csharpier",
288242
"type": "shell",
289243
"command": "dotnet",
290-
"args": [
291-
"csharpier",
292-
"${workspaceFolder}"
293-
],
244+
"args": ["csharpier", "${workspaceFolder}"],
294245
"group": "build",
295246
"presentation": {
296247
"echo": true,
@@ -309,12 +260,7 @@
309260
"label": "install-git-hooks",
310261
"type": "shell",
311262
"command": "cmake",
312-
"args": [
313-
"--build",
314-
"build",
315-
"--target",
316-
"install-hooks"
317-
],
263+
"args": ["--build", "build", "--target", "install-hooks"],
318264
"group": "build",
319265
"dependsOn": "cmake-configure",
320266
"presentation": {

OpenLanguage.code-workspace

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,33 @@
11
{
2-
"folders": [
3-
{
4-
"name": "OpenLanguage",
5-
"path": "."
6-
}
7-
],
8-
"settings": {
9-
// Inherit from .vscode/settings.json
10-
},
11-
"extensions": {
12-
"recommendations": [
13-
"ms-dotnettools.csharp",
14-
"ms-dotnettools.csdevkit",
15-
"ms-vscode.cmake-tools",
16-
"csharpier.csharpier-vscode",
17-
]
18-
},
19-
"tasks": {
20-
"version": "2.0.0",
21-
"tasks": [
22-
{
23-
"label": "Build All",
24-
"dependsOrder": "sequence",
25-
"dependsOn": [
26-
"cmake-configure",
27-
"cmake-process",
28-
"cmake-build"
29-
],
30-
"group": {
31-
"kind": "build",
32-
"isDefault": true
33-
}
34-
}
35-
]
2+
"folders": [
3+
{
4+
"name": "OpenLanguage",
5+
"path": "."
366
}
7+
],
8+
"settings": {
9+
// Inherit from .vscode/settings.json
10+
},
11+
"extensions": {
12+
"recommendations": [
13+
"ms-dotnettools.csharp",
14+
"ms-dotnettools.csdevkit",
15+
"ms-vscode.cmake-tools",
16+
"csharpier.csharpier-vscode"
17+
]
18+
},
19+
"tasks": {
20+
"version": "2.0.0",
21+
"tasks": [
22+
{
23+
"label": "Build All",
24+
"dependsOrder": "sequence",
25+
"dependsOn": ["cmake-configure", "cmake-process", "cmake-build"],
26+
"group": {
27+
"kind": "build",
28+
"isDefault": true
29+
}
30+
}
31+
]
32+
}
3733
}

docfx/docfx.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"src": [
66
{
77
"src": "../..",
8-
"files": [
9-
"OpenLanguage/OpenLanguage.csproj"
10-
]
8+
"files": ["OpenLanguage/OpenLanguage.csproj"]
119
}
1210
],
1311
"output": "./api",
@@ -31,16 +29,11 @@
3129
"resource": [
3230
{
3331
"src": "docs",
34-
"files": [
35-
"img/**"
36-
]
32+
"files": ["img/**"]
3733
}
3834
],
3935
"output": "./site",
40-
"template": [
41-
"default",
42-
"modern"
43-
],
36+
"template": ["default", "modern"],
4437
"globalMetadata": {
4538
"_appName": "OpenLanguage",
4639
"_appTitle": "OpenLanguage Documentation",

0 commit comments

Comments
 (0)