Skip to content

Commit cf23d2e

Browse files
authored
Add prettier to vercel-tutor (#1058)
### Description Adds prettier to `vercel-tutor`. ### Type of Change - [ ] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [x] Other (changes to the codebase, but not to examples)
1 parent 8d15d81 commit cf23d2e

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

vercel-tutor/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"trailingComma": "all",
3+
"singleQuote": false,
4+
"semi": true
5+
}

vercel-tutor/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function Home() {
8383
}
8484
}}
8585
>
86-
{isLoading ? 'Loading…' : 'View Pull Request'}
86+
{isLoading ? "Loading…" : "View Pull Request"}
8787
</a>
8888
<a
8989
className="font-[family-name:var(--font-geist-sans)] text-secondary hover:underline flex items-center justify-center h-12 font-medium"

vercel-tutor/app/smaller-triangle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default function Home() {
128128
}
129129
}}
130130
>
131-
{isLoading ? 'Loading…' : 'Push Commit and Merge Pull Request'}
131+
{isLoading ? "Loading…" : "Push Commit and Merge Pull Request"}
132132
</a>
133133
<a
134134
className="font-[family-name:var(--font-geist-sans)] text-secondary hover:underline flex items-center justify-center h-12 font-medium"

vercel-tutor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"eslint": "^9",
2121
"eslint-config-next": "15.1.3",
2222
"postcss": "^8",
23+
"prettier": "^3.4.2",
2324
"tailwindcss": "^3.4.1",
2425
"typescript": "^5"
2526
}

vercel-tutor/pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)