Skip to content

Commit 2e820e1

Browse files
authored
Auto-format portions of some JSON files (#1967)
this commit was made by having prettier format these files and committing portions of the changes. For now we want prettier to continue to ignore these files, but eventually the plan would be to use prettier but to reformat specific portions. The portions in this commit are *not* the portions we would want to reformat, so for these specific portions we are satisfied to accept prettier's changes.
1 parent b820099 commit 2e820e1

File tree

4 files changed

+29
-14
lines changed

4 files changed

+29
-14
lines changed

exercises/go-counting/canonical-data.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"exercise": "go-counting",
3-
"comments": [
4-
"Territory consists of [x, y] coordinate pairs."
5-
],
3+
"comments": ["Territory consists of [x, y] coordinate pairs."],
64
"cases": [
75
{
86
"uuid": "94d0c01a-17d0-424c-aab5-2736d0da3939",
@@ -21,7 +19,11 @@
2119
},
2220
"expected": {
2321
"owner": "BLACK",
24-
"territory": [[0, 0], [0, 1], [1, 0]]
22+
"territory": [
23+
[0, 0],
24+
[0, 1],
25+
[1, 0]
26+
]
2527
}
2628
},
2729
{
@@ -61,7 +63,11 @@
6163
},
6264
"expected": {
6365
"owner": "NONE",
64-
"territory": [[0, 3], [0, 4], [1, 4]]
66+
"territory": [
67+
[0, 3],
68+
[0, 4],
69+
[1, 4]
70+
]
6571
}
6672
},
6773
{
@@ -186,8 +192,14 @@
186192
]
187193
},
188194
"expected": {
189-
"territoryBlack": [[0, 0], [0, 1]],
190-
"territoryWhite": [[3, 0], [3, 1]],
195+
"territoryBlack": [
196+
[0, 0],
197+
[0, 1]
198+
],
199+
"territoryWhite": [
200+
[3, 0],
201+
[3, 1]
202+
],
191203
"territoryNone": []
192204
}
193205
},
@@ -201,7 +213,10 @@
201213
]
202214
},
203215
"expected": {
204-
"territoryBlack": [[0, 0], [2, 0]],
216+
"territoryBlack": [
217+
[0, 0],
218+
[2, 0]
219+
],
205220
"territoryWhite": [],
206221
"territoryNone": []
207222
}

exercises/ocr-numbers/canonical-data.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
" "
5555
]
5656
},
57-
"expected": {"error": "Number of input lines is not a multiple of four"}
57+
"expected": { "error": "Number of input lines is not a multiple of four" }
5858
},
5959
{
6060
"uuid": "235f7bd1-991b-4587-98d4-84206eec4cc6",
@@ -68,7 +68,9 @@
6868
" "
6969
]
7070
},
71-
"expected": {"error": "Number of input columns is not a multiple of three"}
71+
"expected": {
72+
"error": "Number of input columns is not a multiple of three"
73+
}
7274
},
7375
{
7476
"uuid": "4a841794-73c9-4da9-a779-1f9837faff66",

exercises/saddle-points/canonical-data.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
{
1111
"uuid": "3e374e63-a2e0-4530-a39a-d53c560382bd",
1212
"description": "Can identify single saddle point",
13-
"comments": [
14-
"This is the README example."
15-
],
13+
"comments": ["This is the README example."],
1614
"property": "saddlePoints",
1715
"input": {
1816
"matrix": [

exercises/scale-generator/canonical-data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
{
150150
"uuid": "87fdbcca-d3dd-46d5-9c56-ec79e25b19f4",
151151
"reimplements": "70517400-12b7-4530-b861-fa940ae69ee8",
152-
"description": "Harmonic minor",
152+
"description": "Harmonic minor",
153153
"comments": [
154154
"Note that this case introduces the augmented second interval (A)"
155155
],

0 commit comments

Comments
 (0)