-
-
-
-
-
+const RootLayout = () => (
+
+);
export default RootLayout;
diff --git a/src/main.tsx b/src/main.tsx
index 3ccb35c..60aa866 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -1,13 +1,14 @@
import React from "react";
import ReactDOM from "react-dom/client";
+import { BrowserRouter as Router } from "react-router-dom";
+
import App from "./App.tsx";
import "./index.css";
-import { BrowserRouter as Router } from "react-router-dom";
ReactDOM.createRoot(document.getElementById("root")!).render(
-
+ ,
);
diff --git a/src/pages/Homepage.tsx b/src/pages/Homepage.tsx
index 99c0f03..92d45c8 100644
--- a/src/pages/Homepage.tsx
+++ b/src/pages/Homepage.tsx
@@ -1,5 +1,3 @@
-const Homepage = () => {
- return
Homepage
;
-};
+const Homepage = () =>
Homepage
;
export default Homepage;
diff --git a/src/routes/AppRoutes.tsx b/src/routes/AppRoutes.tsx
index e990963..860e56b 100644
--- a/src/routes/AppRoutes.tsx
+++ b/src/routes/AppRoutes.tsx
@@ -1,15 +1,14 @@
import { Route, Routes } from "react-router-dom";
+
import RootLayout from "../components/layouts/RootLayout";
import Homepage from "../pages/Homepage";
-function AppRoutes() {
- return (
-
- }>
- } />
-
-
- );
-}
+const AppRoutes = () => (
+
+ }>
+ } />
+
+
+);
export default AppRoutes;
diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json
new file mode 100644
index 0000000..81b4b95
--- /dev/null
+++ b/tsconfig.eslint.json
@@ -0,0 +1,10 @@
+{
+ "extends": "./tsconfig.json",
+ "include": [
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "postcss.config.js",
+ "tailwind.config.js",
+ "vite.config.ts"
+ ]
+}
diff --git a/tsconfig.json b/tsconfig.json
index f96d034..c1151eb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -12,7 +12,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
- "esModuleInterop":true,
+ "esModuleInterop": true,
"jsx": "react-jsx",
/* Linting */
@@ -21,6 +21,10 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
- "include": ["src"],
+ "include": [
+ "vite.config.ts",
+ ".eslintrc.cjs",
+ "src"
+ ],
"references": [{ "path": "./tsconfig.node.json" }]
}
diff --git a/vite.config.ts b/vite.config.ts
index 861b04b..d366e8c 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,7 +1,7 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react-swc'
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react-swc";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
-})
+});