Skip to content

Commit 4ecf680

Browse files
Bump prettier from 2.8.8 to 3.0.0 (#2214)
* Bump prettier from 2.8.8 to 3.0.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.8.8...3.0.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * [CI] Format code --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 523954a commit 4ecf680

File tree

108 files changed

+457
-454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+457
-454
lines changed

concepts/array-transformations/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ arr.reduce(
6161

6262
return accumulator;
6363
},
64-
{ even: [], odd: [] }
64+
{ even: [], odd: [] },
6565
);
6666
// => { even: [2, 4], odd: [1, 3] }
6767
```

concepts/array-transformations/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ arr.reduce(
6161

6262
return accumulator;
6363
},
64-
{ even: [], odd: [] }
64+
{ even: [], odd: [] },
6565
);
6666
// => { even: [2, 4], odd: [1, 3] }
6767
```

concepts/promises/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Promise.reject(new Error('failed')).then(
112112
},
113113
function (error) {
114114
console.error(error); // error in the console
115-
}
115+
},
116116
);
117117
```
118118

@@ -127,7 +127,7 @@ Promise.resolve('resolved!').then(
127127
},
128128
function (value) {
129129
// not called
130-
}
130+
},
131131
);
132132
```
133133

exercises/concept/annalyns-infiltration/.meta/exemplar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function canFreePrisoner(
6969
knightIsAwake,
7070
archerIsAwake,
7171
prisonerIsAwake,
72-
petDogIsPresent
72+
petDogIsPresent,
7373
) {
7474
return (
7575
(!knightIsAwake && !archerIsAwake && prisonerIsAwake) ||

exercises/concept/annalyns-infiltration/annalyns-infiltration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function canFreePrisoner(
6969
knightIsAwake,
7070
archerIsAwake,
7171
prisonerIsAwake,
72-
petDogIsPresent
72+
petDogIsPresent,
7373
) {
7474
throw new Error('Remove this line and implement the function');
7575
}

exercises/concept/annalyns-infiltration/annalyns-infiltration.spec.js

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('can spy', () => {
2929
const expected = false;
3030

3131
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
32-
expected
32+
expected,
3333
);
3434
});
3535

@@ -40,7 +40,7 @@ describe('can spy', () => {
4040
const expected = true;
4141

4242
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
43-
expected
43+
expected,
4444
);
4545
});
4646

@@ -51,7 +51,7 @@ describe('can spy', () => {
5151
const expected = true;
5252

5353
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
54-
expected
54+
expected,
5555
);
5656
});
5757

@@ -62,7 +62,7 @@ describe('can spy', () => {
6262
const expected = true;
6363

6464
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
65-
expected
65+
expected,
6666
);
6767
});
6868

@@ -73,7 +73,7 @@ describe('can spy', () => {
7373
const expected = true;
7474

7575
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
76-
expected
76+
expected,
7777
);
7878
});
7979

@@ -84,7 +84,7 @@ describe('can spy', () => {
8484
const expected = true;
8585

8686
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
87-
expected
87+
expected,
8888
);
8989
});
9090

@@ -95,7 +95,7 @@ describe('can spy', () => {
9595
const expected = true;
9696

9797
expect(canSpy(knightIsAwake, archerIsAwake, prisonerIsAwake)).toBe(
98-
expected
98+
expected,
9999
);
100100
});
101101
});
@@ -147,8 +147,8 @@ describe('can free prisoner', () => {
147147
knightIsAwake,
148148
archerIsAwake,
149149
prisonerIsAwake,
150-
petDogIsPresent
151-
)
150+
petDogIsPresent,
151+
),
152152
).toBe(expected);
153153
});
154154

@@ -164,8 +164,8 @@ describe('can free prisoner', () => {
164164
knightIsAwake,
165165
archerIsAwake,
166166
prisonerIsAwake,
167-
petDogIsPresent
168-
)
167+
petDogIsPresent,
168+
),
169169
).toBe(expected);
170170
});
171171

@@ -181,8 +181,8 @@ describe('can free prisoner', () => {
181181
knightIsAwake,
182182
archerIsAwake,
183183
prisonerIsAwake,
184-
petDogIsPresent
185-
)
184+
petDogIsPresent,
185+
),
186186
).toBe(expected);
187187
});
188188

@@ -198,8 +198,8 @@ describe('can free prisoner', () => {
198198
knightIsAwake,
199199
archerIsAwake,
200200
prisonerIsAwake,
201-
petDogIsPresent
202-
)
201+
petDogIsPresent,
202+
),
203203
).toBe(expected);
204204
});
205205

@@ -215,8 +215,8 @@ describe('can free prisoner', () => {
215215
knightIsAwake,
216216
archerIsAwake,
217217
prisonerIsAwake,
218-
petDogIsPresent
219-
)
218+
petDogIsPresent,
219+
),
220220
).toBe(expected);
221221
});
222222

@@ -232,8 +232,8 @@ describe('can free prisoner', () => {
232232
knightIsAwake,
233233
archerIsAwake,
234234
prisonerIsAwake,
235-
petDogIsPresent
236-
)
235+
petDogIsPresent,
236+
),
237237
).toBe(expected);
238238
});
239239

@@ -249,8 +249,8 @@ describe('can free prisoner', () => {
249249
knightIsAwake,
250250
archerIsAwake,
251251
prisonerIsAwake,
252-
petDogIsPresent
253-
)
252+
petDogIsPresent,
253+
),
254254
).toBe(expected);
255255
});
256256

@@ -266,8 +266,8 @@ describe('can free prisoner', () => {
266266
knightIsAwake,
267267
archerIsAwake,
268268
prisonerIsAwake,
269-
petDogIsPresent
270-
)
269+
petDogIsPresent,
270+
),
271271
).toBe(expected);
272272
});
273273

@@ -283,8 +283,8 @@ describe('can free prisoner', () => {
283283
knightIsAwake,
284284
archerIsAwake,
285285
prisonerIsAwake,
286-
petDogIsPresent
287-
)
286+
petDogIsPresent,
287+
),
288288
).toBe(expected);
289289
});
290290

@@ -300,8 +300,8 @@ describe('can free prisoner', () => {
300300
knightIsAwake,
301301
archerIsAwake,
302302
prisonerIsAwake,
303-
petDogIsPresent
304-
)
303+
petDogIsPresent,
304+
),
305305
).toBe(expected);
306306
});
307307

@@ -317,8 +317,8 @@ describe('can free prisoner', () => {
317317
knightIsAwake,
318318
archerIsAwake,
319319
prisonerIsAwake,
320-
petDogIsPresent
321-
)
320+
petDogIsPresent,
321+
),
322322
).toBe(expected);
323323
});
324324

@@ -334,8 +334,8 @@ describe('can free prisoner', () => {
334334
knightIsAwake,
335335
archerIsAwake,
336336
prisonerIsAwake,
337-
petDogIsPresent
338-
)
337+
petDogIsPresent,
338+
),
339339
).toBe(expected);
340340
});
341341

@@ -351,8 +351,8 @@ describe('can free prisoner', () => {
351351
knightIsAwake,
352352
archerIsAwake,
353353
prisonerIsAwake,
354-
petDogIsPresent
355-
)
354+
petDogIsPresent,
355+
),
356356
).toBe(expected);
357357
});
358358

@@ -368,8 +368,8 @@ describe('can free prisoner', () => {
368368
knightIsAwake,
369369
archerIsAwake,
370370
prisonerIsAwake,
371-
petDogIsPresent
372-
)
371+
petDogIsPresent,
372+
),
373373
).toBe(expected);
374374
});
375375

@@ -385,8 +385,8 @@ describe('can free prisoner', () => {
385385
knightIsAwake,
386386
archerIsAwake,
387387
prisonerIsAwake,
388-
petDogIsPresent
389-
)
388+
petDogIsPresent,
389+
),
390390
).toBe(expected);
391391
});
392392

@@ -402,8 +402,8 @@ describe('can free prisoner', () => {
402402
knightIsAwake,
403403
archerIsAwake,
404404
prisonerIsAwake,
405-
petDogIsPresent
406-
)
405+
petDogIsPresent,
406+
),
407407
).toBe(expected);
408408
});
409409
});

exercises/concept/coordinate-transformation/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const moveCoordinatesRight2Px = translate2d(2, 0);
3535
const doubleCoordinates = scale2d(2, 2);
3636
const composedTransformations = composeTransformation(
3737
moveCoordinatesRight2Px,
38-
doubleCoordinates
38+
doubleCoordinates,
3939
);
4040
const result = composedTransformations(0, 1);
4141
// result => [4, 2]

exercises/concept/custom-signs/custom-signs.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ describe('buildSign', () => {
2020
describe('buildBirthdaySign', () => {
2121
test('age is less than 50', () => {
2222
expect(buildBirthdaySign(49)).toBe(
23-
'Happy Birthday! What a young fellow you are.'
23+
'Happy Birthday! What a young fellow you are.',
2424
);
2525
});
2626

2727
test('age is 50 or older', () => {
2828
expect(buildBirthdaySign(51)).toBe(
29-
'Happy Birthday! What a mature fellow you are.'
29+
'Happy Birthday! What a mature fellow you are.',
3030
);
3131
});
3232

3333
test('age is 50', () => {
3434
expect(buildBirthdaySign(50)).toBe(
35-
'Happy Birthday! What a mature fellow you are.'
35+
'Happy Birthday! What a mature fellow you are.',
3636
);
3737
});
3838
});

exercises/concept/elyses-enchantments/enchantments.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ describe('make cards disappear', () => {
118118
// eslint-disable-next-line no-undef
119119
fail(
120120
new Error(
121-
'The card has disappeared, but the stack has not changed in size. This magic trick has turned into actual magic. Perhaps a different method of removing the card will result in a stack that Elyse can work with...'
122-
)
121+
'The card has disappeared, but the stack has not changed in size. This magic trick has turned into actual magic. Perhaps a different method of removing the card will result in a stack that Elyse can work with...',
122+
),
123123
);
124124
}
125125

exercises/concept/elyses-transformative-enchantments/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ arr.reduce(
6161

6262
return accumulator;
6363
},
64-
{ even: [], odd: [] }
64+
{ even: [], odd: [] },
6565
);
6666
// => { even: [2, 4], odd: [1, 3] }
6767
```

0 commit comments

Comments
 (0)