rsnext/examples/api-routes/data.ts
Steven 4466ba436b
chore(examples): use default prettier for examples/templates (#60530)
## Description
This PR ensures that the default prettier config is used for examples
and templates.

This config is compatible with `prettier@3` as well (upgrading prettier
is bigger change that can be a future PR).

## Changes
- Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will
be needed upgrading to prettier@3)
- Added `examples/.prettierrc.json` with default config (this will
change every example)
- Added `packages/create-next-app/templates/.prettierrc.json` with
default config (this will change every template)

## Related

- Fixes #54402
- Closes #54409
2024-01-11 16:01:44 -07:00

102 lines
1.8 KiB
TypeScript

export const people = [
{
id: "1",
name: "Luke Skywalker",
height: "172",
mass: "77",
hair_color: "blond",
skin_color: "fair",
eye_color: "blue",
gender: "male",
},
{
id: "2",
name: "C-3PO",
height: "167",
mass: "75",
hair_color: "n/a",
skin_color: "gold",
eye_color: "yellow",
gender: "n/a",
},
{
id: "3",
name: "R2-D2",
height: "96",
mass: "32",
hair_color: "n/a",
skin_color: "white, blue",
eye_color: "red",
gender: "n/a",
},
{
id: "4",
name: "Darth Vader",
height: "202",
mass: "136",
hair_color: "none",
skin_color: "white",
eye_color: "yellow",
gender: "male",
},
{
id: "5",
name: "Leia Organa",
height: "150",
mass: "49",
hair_color: "brown",
skin_color: "light",
eye_color: "brown",
gender: "female",
},
{
id: "6",
name: "Owen Lars",
height: "178",
mass: "120",
hair_color: "brown, grey",
skin_color: "light",
eye_color: "blue",
gender: "male",
},
{
id: "7",
name: "Beru Whitesun Lars",
height: "165",
mass: "75",
hair_color: "brown",
skin_color: "light",
eye_color: "blue",
gender: "female",
},
{
id: "8",
name: "R5-D4",
height: "97",
mass: "32",
hair_color: "n/a",
skin_color: "white, red",
eye_color: "red",
gender: "n/a",
},
{
id: "9",
name: "Biggs Darklighter",
height: "183",
mass: "84",
hair_color: "black",
skin_color: "light",
eye_color: "brown",
gender: "male",
},
{
id: "10",
name: "Obi-Wan Kenobi",
height: "182",
mass: "77",
hair_color: "auburn, white",
skin_color: "fair",
eye_color: "blue-gray",
gender: "male",
},
];