mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? This PR adds an example on how to lint your app with Oxlint ### Why? As an example to user another linter than Biome or ESLint. --------- Co-authored-by: Joseph <[email protected]> Co-authored-by: Joseph <[email protected]>
19 lines
333 B
TypeScript
19 lines
333 B
TypeScript
import type { Metadata } from "next";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|