Skip to content

Commit 9faebcf

Browse files
committed
upgrade eslint-plugin-prettier, run make style
1 parent 32e95e9 commit 9faebcf

File tree

4 files changed

+55
-34
lines changed

4 files changed

+55
-34
lines changed

ui/package-lock.json

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

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"eslint-plugin-import": "^2.29.1",
2828
"eslint-plugin-jsx-a11y": "^6.6.1",
2929
"eslint-plugin-no-secrets": "^1.0.2",
30-
"eslint-plugin-prettier": "^4.2.1",
30+
"eslint-plugin-prettier": "^5.4.0",
3131
"eslint-plugin-react": "^7.31.10",
3232
"eslint-plugin-react-hooks": "^5.2.0",
3333
"husky": "^9.1.7",

ui/src/app/layout.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { Metadata } from 'next';
2-
import { Geist, Geist_Mono } from 'next/font/google';
32
import './globals.css';
43

54
export const metadata: Metadata = {

ui/src/app/page.tsx

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
"use client";
2-
import Image from "next/image";
3-
import styles from "./page.module.css";
1+
'use client';
2+
import Image from 'next/image';
3+
4+
import styles from './page.module.css';
45

56
export default function Home() {
67
return (
@@ -53,41 +54,23 @@ export default function Home() {
5354
target="_blank"
5455
rel="noopener noreferrer"
5556
>
56-
<Image
57-
aria-hidden
58-
src="/file.svg"
59-
alt="File icon"
60-
width={16}
61-
height={16}
62-
/>
57+
<Image aria-hidden src="/file.svg" alt="File icon" width={16} height={16} />
6358
Learn
6459
</a>
6560
<a
6661
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
6762
target="_blank"
6863
rel="noopener noreferrer"
6964
>
70-
<Image
71-
aria-hidden
72-
src="/window.svg"
73-
alt="Window icon"
74-
width={16}
75-
height={16}
76-
/>
65+
<Image aria-hidden src="/window.svg" alt="Window icon" width={16} height={16} />
7766
Examples
7867
</a>
7968
<a
8069
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
8170
target="_blank"
8271
rel="noopener noreferrer"
8372
>
84-
<Image
85-
aria-hidden
86-
src="/globe.svg"
87-
alt="Globe icon"
88-
width={16}
89-
height={16}
90-
/>
73+
<Image aria-hidden src="/globe.svg" alt="Globe icon" width={16} height={16} />
9174
Go to nextjs.org →
9275
</a>
9376
</footer>

0 commit comments

Comments
 (0)