Skip to content

allow prettier to format more files #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
exercises/allergies/canonical-data.json
exercises/book-store/canonical-data.json
exercises/bowling/canonical-data.json
exercises/change/canonical-data.json
Expand All @@ -8,26 +7,12 @@ exercises/dominoes/canonical-data.json
exercises/flatten-array/canonical-data.json
exercises/forth/canonical-data.json
exercises/go-counting/canonical-data.json
exercises/grep/canonical-data.json
exercises/house/canonical-data.json
exercises/kindergarten-garden/canonical-data.json
exercises/knapsack/canonical-data.json
exercises/markdown/canonical-data.json
exercises/minesweeper/canonical-data.json
exercises/ocr-numbers/canonical-data.json
exercises/pascals-triangle/canonical-data.json
exercises/poker/canonical-data.json
exercises/pov/canonical-data.json
exercises/pythagorean-triplet/canonical-data.json
exercises/rectangles/canonical-data.json
exercises/reverse-string/canonical-data.json
exercises/roman-numerals/canonical-data.json
exercises/rotational-cipher/canonical-data.json
exercises/saddle-points/canonical-data.json
exercises/scale-generator/canonical-data.json
exercises/sieve/canonical-data.json
exercises/spiral-matrix/canonical-data.json
exercises/tournament/canonical-data.json
exercises/transpose/canonical-data.json
exercises/variable-length-quantity/canonical-data.json
exercises/word-search/canonical-data.json
26 changes: 6 additions & 20 deletions exercises/allergies/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,7 @@
},
{
"description": "list when:",
"comments": [
"Given a number, list all things Tom is allergic to"
],
"comments": ["Given a number, list all things Tom is allergic to"],
"cases": [
{
"uuid": "f9c1b8e7-7dc5-4887-aa93-cebdcc29dd8f",
Expand All @@ -467,9 +465,7 @@
"input": {
"score": 1
},
"expected": [
"eggs"
]
"expected": ["eggs"]
},
{
"uuid": "8851c973-805e-4283-9e01-d0c0da0e4695",
Expand All @@ -478,9 +474,7 @@
"input": {
"score": 2
},
"expected": [
"peanuts"
]
"expected": ["peanuts"]
},
{
"uuid": "2c8943cb-005e-435f-ae11-3e8fb558ea98",
Expand All @@ -489,9 +483,7 @@
"input": {
"score": 8
},
"expected": [
"strawberries"
]
"expected": ["strawberries"]
},
{
"uuid": "6fa95d26-044c-48a9-8a7b-9ee46ec32c5c",
Expand All @@ -500,10 +492,7 @@
"input": {
"score": 3
},
"expected": [
"eggs",
"peanuts"
]
"expected": ["eggs", "peanuts"]
},
{
"uuid": "19890e22-f63f-4c5c-a9fb-fb6eacddfe8e",
Expand All @@ -512,10 +501,7 @@
"input": {
"score": 5
},
"expected": [
"eggs",
"shellfish"
]
"expected": ["eggs", "shellfish"]
},
{
"uuid": "4b68f470-067c-44e4-889f-c9fe28917d2f",
Expand Down
42 changes: 10 additions & 32 deletions exercises/grep/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@
"flags": [],
"files": ["iliad.txt"]
},
"expected": [
"Of Atreus, Agamemnon, King of men."
]
"expected": ["Of Atreus, Agamemnon, King of men."]
},
{
"uuid": "76519cce-98e3-46cd-b287-aac31b1d77d6",
Expand All @@ -77,9 +75,7 @@
"flags": ["-n"],
"files": ["paradise-lost.txt"]
},
"expected": [
"2:Of that Forbidden Tree, whose mortal tast"
]
"expected": ["2:Of that Forbidden Tree, whose mortal tast"]
},
{
"uuid": "af0b6d3c-e0e8-475e-a112-c0fc10a1eb30",
Expand All @@ -90,9 +86,7 @@
"flags": ["-i"],
"files": ["paradise-lost.txt"]
},
"expected": [
"Of that Forbidden Tree, whose mortal tast"
]
"expected": ["Of that Forbidden Tree, whose mortal tast"]
},
{
"uuid": "ff7af839-d1b8-4856-a53e-99283579b672",
Expand All @@ -103,9 +97,7 @@
"flags": ["-l"],
"files": ["paradise-lost.txt"]
},
"expected": [
"paradise-lost.txt"
]
"expected": ["paradise-lost.txt"]
},
{
"uuid": "8625238a-720c-4a16-81f2-924ec8e222cb",
Expand All @@ -116,9 +108,7 @@
"flags": ["-x"],
"files": ["paradise-lost.txt"]
},
"expected": [
"With loss of Eden, till one greater Man"
]
"expected": ["With loss of Eden, till one greater Man"]
},
{
"uuid": "2a6266b3-a60f-475c-a5f5-f5008a717d3e",
Expand All @@ -129,9 +119,7 @@
"flags": ["-n", "-i", "-x"],
"files": ["iliad.txt"]
},
"expected": [
"9:Of Atreus, Agamemnon, King of men."
]
"expected": ["9:Of Atreus, Agamemnon, King of men."]
},
{
"uuid": "842222da-32e8-4646-89df-0d38220f77a1",
Expand Down Expand Up @@ -225,9 +213,7 @@
"flags": ["-n", "-l"],
"files": ["iliad.txt"]
},
"expected": [
"iliad.txt"
]
"expected": ["iliad.txt"]
},
{
"uuid": "87b21b24-b788-4d6e-a68b-7afe9ca141fe",
Expand Down Expand Up @@ -263,9 +249,7 @@
"flags": [],
"files": ["iliad.txt", "midsummer-night.txt", "paradise-lost.txt"]
},
"expected": [
"iliad.txt:Of Atreus, Agamemnon, King of men."
]
"expected": ["iliad.txt:Of Atreus, Agamemnon, King of men."]
},
{
"uuid": "4539bd36-6daa-4bc3-8e45-051f69f5aa95",
Expand Down Expand Up @@ -307,10 +291,7 @@
"flags": ["-l"],
"files": ["iliad.txt", "midsummer-night.txt", "paradise-lost.txt"]
},
"expected": [
"iliad.txt",
"paradise-lost.txt"
]
"expected": ["iliad.txt", "paradise-lost.txt"]
},
{
"uuid": "d69f3606-7d15-4ddf-89ae-01df198e6b6c",
Expand Down Expand Up @@ -395,10 +376,7 @@
"flags": ["-n", "-l"],
"files": ["iliad.txt", "midsummer-night.txt", "paradise-lost.txt"]
},
"expected": [
"iliad.txt",
"paradise-lost.txt"
]
"expected": ["iliad.txt", "paradise-lost.txt"]
},
{
"uuid": "ff406330-2f0b-4b17-9ee4-4b71c31dd6d2",
Expand Down
8 changes: 2 additions & 6 deletions exercises/house/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"startVerse": 1,
"endVerse": 1
},
"expected": [
"This is the house that Jack built."
]
"expected": ["This is the house that Jack built."]
},
{
"uuid": "ebc825ac-6e2b-4a5e-9afd-95732191c8da",
Expand All @@ -31,9 +29,7 @@
"startVerse": 2,
"endVerse": 2
},
"expected": [
"This is the malt that lay in the house that Jack built."
]
"expected": ["This is the malt that lay in the house that Jack built."]
},
{
"uuid": "1ed8bb0f-edb8-4bd1-b6d4-b64754fe4a60",
Expand Down
Loading