aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/.dockerignore1
-rw-r--r--frontend/app/api/client.ts5
-rw-r--r--frontend/biome.json4
-rw-r--r--frontend/eslint.config.js8
4 files changed, 7 insertions, 11 deletions
diff --git a/frontend/.dockerignore b/frontend/.dockerignore
index c0b2358..de4d1f0 100644
--- a/frontend/.dockerignore
+++ b/frontend/.dockerignore
@@ -1,3 +1,2 @@
-build
dist
node_modules
diff --git a/frontend/app/api/client.ts b/frontend/app/api/client.ts
index c26f1c6..86f2506 100644
--- a/frontend/app/api/client.ts
+++ b/frontend/app/api/client.ts
@@ -3,8 +3,9 @@ import { createContext } from "react";
import { API_BASE_PATH } from "../config";
import type { paths } from "./schema";
-const apiOrigin = import.meta.env.VITE_API_BASE_URL
- ?? (import.meta.env.DEV ? "http://localhost:8004" : "");
+const apiOrigin =
+ import.meta.env.VITE_API_BASE_URL ??
+ (import.meta.env.DEV ? "http://localhost:8004" : "");
const client = createClient<paths>({
baseUrl: `${apiOrigin}${API_BASE_PATH}`,
diff --git a/frontend/biome.json b/frontend/biome.json
index 54c8856..6da4a7a 100644
--- a/frontend/biome.json
+++ b/frontend/biome.json
@@ -9,9 +9,9 @@
"ignoreUnknown": false,
"ignore": [
"./.cache",
- "./build",
"./app/api/schema.d.ts",
- "./app/shiki.bundle.ts"
+ "./app/shiki.bundle.ts",
+ "./dist"
]
},
"formatter": {
diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js
index 538fb12..0fe10e9 100644
--- a/frontend/eslint.config.js
+++ b/frontend/eslint.config.js
@@ -7,7 +7,7 @@ import globals from "globals";
import ts from "typescript-eslint";
export default defineConfig(
- globalIgnores(["node_modules/", ".react-router/", "build/"]),
+ globalIgnores(["node_modules/", "dist/"]),
js.configs.recommended,
ts.configs.recommended,
react.configs.flat.recommended,
@@ -27,11 +27,7 @@ export default defineConfig(
react: {
version: "detect",
},
- formComponents: ["Form"],
- linkComponents: [
- { name: "Link", linkAttribute: "to" },
- { name: "NavLink", linkAttribute: "to" },
- ],
+ linkComponents: [{ name: "Link", linkAttribute: "to" }],
},
},
);