Skip to content

Commit 19cabe1

Browse files
[CI] Format code
1 parent a823994 commit 19cabe1

File tree

112 files changed

+452
-1367
lines changed

Some content is hidden

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

112 files changed

+452
-1367
lines changed

exercises/practice/accumulate/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
3-
"authors": [
4-
"matthewmorgan"
5-
],
3+
"authors": ["matthewmorgan"],
64
"contributors": [
75
"andreasolund",
86
"ankorGH",
@@ -20,15 +18,9 @@
2018
"xarxziux"
2119
],
2220
"files": {
23-
"solution": [
24-
"accumulate.js"
25-
],
26-
"test": [
27-
"accumulate.spec.js"
28-
],
29-
"example": [
30-
".meta/proof.ci.js"
31-
]
21+
"solution": ["accumulate.js"],
22+
"test": ["accumulate.spec.js"],
23+
"example": [".meta/proof.ci.js"]
3224
},
3325
"source": "Conversation with James Edward Gray II",
3426
"source_url": "https://twitter.com/jeg2"

exercises/practice/acronym/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Convert a long phrase to its acronym",
3-
"authors": [
4-
"matthewmorgan"
5-
],
3+
"authors": ["matthewmorgan"],
64
"contributors": [
75
"andreasolund",
86
"ankorGH",
@@ -21,15 +19,9 @@
2119
"Tyresius92"
2220
],
2321
"files": {
24-
"solution": [
25-
"acronym.js"
26-
],
27-
"test": [
28-
"acronym.spec.js"
29-
],
30-
"example": [
31-
".meta/proof.ci.js"
32-
]
22+
"solution": ["acronym.js"],
23+
"test": ["acronym.spec.js"],
24+
"example": [".meta/proof.ci.js"]
3325
},
3426
"source": "Julien Vanier",
3527
"source_url": "https://github.com/monkbroc"

exercises/practice/affine-cipher/.meta/config.json

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
{
22
"blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.",
3-
"authors": [
4-
"TomPradat"
5-
],
6-
"contributors": [
7-
"SleeplessByte"
8-
],
3+
"authors": ["TomPradat"],
4+
"contributors": ["SleeplessByte"],
95
"files": {
10-
"solution": [
11-
"affine-cipher.js"
12-
],
13-
"test": [
14-
"affine-cipher.spec.js"
15-
],
16-
"example": [
17-
".meta/proof.ci.js"
18-
]
6+
"solution": ["affine-cipher.js"],
7+
"test": ["affine-cipher.spec.js"],
8+
"example": [".meta/proof.ci.js"]
199
},
2010
"source": "Wikipedia",
2111
"source_url": "http://en.wikipedia.org/wiki/Affine_cipher"
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
3-
"authors": [
4-
"javaeeeee"
5-
],
3+
"authors": ["javaeeeee"],
64
"contributors": [
75
"ankorGH",
86
"G-Rath",
@@ -20,14 +18,8 @@
2018
"Tyresius92"
2119
],
2220
"files": {
23-
"solution": [
24-
"all-your-base.js"
25-
],
26-
"test": [
27-
"all-your-base.spec.js"
28-
],
29-
"example": [
30-
".meta/proof.ci.js"
31-
]
21+
"solution": ["all-your-base.js"],
22+
"test": ["all-your-base.spec.js"],
23+
"example": [".meta/proof.ci.js"]
3224
}
3325
}

exercises/practice/allergies/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
3-
"authors": [
4-
"rchavarria"
5-
],
3+
"authors": ["rchavarria"],
64
"contributors": [
75
"andreasolund",
86
"ankorGH",
@@ -22,15 +20,9 @@
2220
"xarxziux"
2321
],
2422
"files": {
25-
"solution": [
26-
"allergies.js"
27-
],
28-
"test": [
29-
"allergies.spec.js"
30-
],
31-
"example": [
32-
".meta/proof.ci.js"
33-
]
23+
"solution": ["allergies.js"],
24+
"test": ["allergies.spec.js"],
25+
"example": [".meta/proof.ci.js"]
3426
},
3527
"source": "Jumpstart Lab Warm-up",
3628
"source_url": "http://jumpstartlab.com"
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Write a function to solve alphametics puzzles.",
3-
"authors": [
4-
"matthewmorgan"
5-
],
3+
"authors": ["matthewmorgan"],
64
"contributors": [
75
"G-Rath",
86
"gargrave",
@@ -18,14 +16,8 @@
1816
"xarxziux"
1917
],
2018
"files": {
21-
"solution": [
22-
"alphametics.js"
23-
],
24-
"test": [
25-
"alphametics.spec.js"
26-
],
27-
"example": [
28-
".meta/proof.ci.js"
29-
]
19+
"solution": ["alphametics.js"],
20+
"test": ["alphametics.spec.js"],
21+
"example": [".meta/proof.ci.js"]
3022
}
3123
}

exercises/practice/anagram/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
3-
"authors": [
4-
"rchavarria"
5-
],
3+
"authors": ["rchavarria"],
64
"contributors": [
75
"amscotti",
86
"andreasolund",
@@ -24,15 +22,9 @@
2422
"Tyresius92"
2523
],
2624
"files": {
27-
"solution": [
28-
"anagram.js"
29-
],
30-
"test": [
31-
"anagram.spec.js"
32-
],
33-
"example": [
34-
".meta/proof.ci.js"
35-
]
25+
"solution": ["anagram.js"],
26+
"test": ["anagram.spec.js"],
27+
"example": [".meta/proof.ci.js"]
3628
},
3729
"source": "Inspired by the Extreme Startup game",
3830
"source_url": "https://github.com/rchatley/extreme_startup"

exercises/practice/armstrong-numbers/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Determine if a number is an Armstrong number",
3-
"authors": [
4-
"PakkuDon"
5-
],
3+
"authors": ["PakkuDon"],
64
"contributors": [
75
"ankorGH",
86
"G-Rath",
@@ -20,15 +18,9 @@
2018
"xarxziux"
2119
],
2220
"files": {
23-
"solution": [
24-
"armstrong-numbers.js"
25-
],
26-
"test": [
27-
"armstrong-numbers.spec.js"
28-
],
29-
"example": [
30-
".meta/proof.ci.js"
31-
]
21+
"solution": ["armstrong-numbers.js"],
22+
"test": ["armstrong-numbers.spec.js"],
23+
"example": [".meta/proof.ci.js"]
3224
},
3325
"source": "Wikipedia",
3426
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"

exercises/practice/atbash-cipher/.meta/config.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
3-
"authors": [
4-
"matthewmorgan"
5-
],
3+
"authors": ["matthewmorgan"],
64
"contributors": [
75
"andreasolund",
86
"Futuro212",
@@ -21,15 +19,9 @@
2119
"xarxziux"
2220
],
2321
"files": {
24-
"solution": [
25-
"atbash-cipher.js"
26-
],
27-
"test": [
28-
"atbash-cipher.spec.js"
29-
],
30-
"example": [
31-
".meta/proof.ci.js"
32-
]
22+
"solution": ["atbash-cipher.js"],
23+
"test": ["atbash-cipher.spec.js"],
24+
"example": [".meta/proof.ci.js"]
3325
},
3426
"source": "Wikipedia",
3527
"source_url": "http://en.wikipedia.org/wiki/Atbash"
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
{
22
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!",
3-
"authors": [
4-
"TomPradat"
5-
],
6-
"contributors": [
7-
"SleeplessByte"
8-
],
3+
"authors": ["TomPradat"],
4+
"contributors": ["SleeplessByte"],
95
"files": {
10-
"solution": [
11-
"bank-account.js"
12-
],
13-
"test": [
14-
"bank-account.spec.js"
15-
],
16-
"example": [
17-
".meta/proof.ci.js"
18-
]
6+
"solution": ["bank-account.js"],
7+
"test": ["bank-account.spec.js"],
8+
"example": [".meta/proof.ci.js"]
199
}
2010
}

0 commit comments

Comments
 (0)