Skip to content

Commit b2be657

Browse files
committed
Lint test application.
1 parent 99ec5c5 commit b2be657

File tree

5 files changed

+20
-65
lines changed

5 files changed

+20
-65
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import '../styles/globals.css'
2-
import type { AppProps } from 'next/app'
1+
import '../styles/globals.css';
2+
import type { AppProps } from 'next/app';
33

44
export default function App({ Component, pageProps }: AppProps) {
5-
return <Component {...pageProps} />
5+
return <Component {...pageProps} />;
66
}

packages/e2e-tests/test-applications/create-next-app/pages/_document.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Html, Head, Main, NextScript } from 'next/document'
1+
import { Html, Head, Main, NextScript } from 'next/document';
22

33
export default function Document() {
44
return (
@@ -9,5 +9,5 @@ export default function Document() {
99
<NextScript />
1010
</body>
1111
</Html>
12-
)
12+
);
1313
}
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
2-
import type { NextApiRequest, NextApiResponse } from 'next'
2+
import type { NextApiRequest, NextApiResponse } from 'next';
33

44
type Data = {
5-
name: string
6-
}
5+
name: string;
6+
};
77

8-
export default function handler(
9-
req: NextApiRequest,
10-
res: NextApiResponse<Data>
11-
) {
12-
res.status(200).json({ name: 'John Doe' })
8+
export default function handler(req: NextApiRequest, res: NextApiResponse<Data>) {
9+
res.status(200).json({ name: 'John Doe' });
1310
}

packages/e2e-tests/test-applications/create-next-app/styles/Home.module.css

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@
143143
inset: 0;
144144
padding: 1px;
145145
border-radius: var(--border-radius);
146-
background: linear-gradient(
147-
to bottom right,
148-
rgba(var(--tile-start-rgb), 1),
149-
rgba(var(--tile-end-rgb), 1)
150-
);
146+
background: linear-gradient(to bottom right, rgba(var(--tile-start-rgb), 1), rgba(var(--tile-end-rgb), 1));
151147
background-clip: content-box;
152148
}
153149

@@ -226,11 +222,7 @@
226222
border-radius: 0;
227223
border: none;
228224
border-bottom: 1px solid rgba(var(--callout-border-rgb), 0.25);
229-
background: linear-gradient(
230-
to bottom,
231-
rgba(var(--background-start-rgb), 1),
232-
rgba(var(--callout-rgb), 0.5)
233-
);
225+
background: linear-gradient(to bottom, rgba(var(--background-start-rgb), 1), rgba(var(--callout-rgb), 0.5));
234226
background-clip: padding-box;
235227
backdrop-filter: blur(24px);
236228
}
@@ -241,11 +233,7 @@
241233
inset: auto 0 0;
242234
padding: 2rem;
243235
height: 200px;
244-
background: linear-gradient(
245-
to bottom,
246-
transparent 0%,
247-
rgb(var(--background-end-rgb)) 40%
248-
);
236+
background: linear-gradient(to bottom, transparent 0%, rgb(var(--background-end-rgb)) 40%);
249237
z-index: 1;
250238
}
251239
}

packages/e2e-tests/test-applications/create-next-app/styles/globals.css

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
:root {
22
--max-width: 1100px;
33
--border-radius: 12px;
4-
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono',
5-
'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro',
6-
'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
4+
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',
5+
'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
76

87
--foreground-rgb: 0, 0, 0;
98
--background-start-rgb: 214, 219, 220;
@@ -17,22 +16,11 @@
1716
#0071ff33 160deg,
1817
transparent 360deg
1918
);
20-
--secondary-glow: radial-gradient(
21-
rgba(255, 255, 255, 1),
22-
rgba(255, 255, 255, 0)
23-
);
19+
--secondary-glow: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
2420

2521
--tile-start-rgb: 239, 245, 249;
2622
--tile-end-rgb: 228, 232, 233;
27-
--tile-border: conic-gradient(
28-
#00000080,
29-
#00000040,
30-
#00000030,
31-
#00000020,
32-
#00000010,
33-
#00000010,
34-
#00000080
35-
);
23+
--tile-border: conic-gradient(#00000080, #00000040, #00000030, #00000020, #00000010, #00000010, #00000080);
3624

3725
--callout-rgb: 238, 240, 241;
3826
--callout-border-rgb: 172, 175, 176;
@@ -47,24 +35,11 @@
4735
--background-end-rgb: 0, 0, 0;
4836

4937
--primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
50-
--secondary-glow: linear-gradient(
51-
to bottom right,
52-
rgba(1, 65, 255, 0),
53-
rgba(1, 65, 255, 0),
54-
rgba(1, 65, 255, 0.3)
55-
);
38+
--secondary-glow: linear-gradient(to bottom right, rgba(1, 65, 255, 0), rgba(1, 65, 255, 0), rgba(1, 65, 255, 0.3));
5639

5740
--tile-start-rgb: 2, 13, 46;
5841
--tile-end-rgb: 2, 5, 19;
59-
--tile-border: conic-gradient(
60-
#ffffff80,
61-
#ffffff40,
62-
#ffffff30,
63-
#ffffff20,
64-
#ffffff10,
65-
#ffffff10,
66-
#ffffff80
67-
);
42+
--tile-border: conic-gradient(#ffffff80, #ffffff40, #ffffff30, #ffffff20, #ffffff10, #ffffff10, #ffffff80);
6843

6944
--callout-rgb: 20, 20, 20;
7045
--callout-border-rgb: 108, 108, 108;
@@ -87,12 +62,7 @@ body {
8762

8863
body {
8964
color: rbg(--foreground-rgb);
90-
background: linear-gradient(
91-
to bottom,
92-
transparent,
93-
rgb(var(--background-end-rgb))
94-
)
95-
rgb(var(--background-start-rgb));
65+
background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
9666
}
9767

9868
a {

0 commit comments

Comments
 (0)