Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: remove unused imports

Brad Barbin79785ad745cd
diff --git a/apps/mes/app/routes/x+/maintenance.tsx b/apps/mes/app/routes/x+/maintenance.tsx
index 1e922aa809..f2d569d3a9 100644
--- a/apps/mes/app/routes/x+/maintenance.tsx
+++ b/apps/mes/app/routes/x+/maintenance.tsx
@@ -1,4 +1,3 @@
-import { getCarbonServiceRole } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import {
Badge,
@@ -37,7 +36,6 @@ import {
} from "~/services/maintenance.service";
import { maintenanceDispatchPriority } from "~/services/models";
import { getWorkCentersByLocation } from "~/services/operations.service";
-import { UserContext } from "~/types";
import { path } from "~/utils/path";
export async function loader({ context, request }: LoaderFunctionArgs) {
diff --git a/biome.jsonc b/biome.jsonc
index 93c5b2cdb4..cc41a520f0 100644
--- a/biome.jsonc
+++ b/biome.jsonc
@@ -59,7 +59,8 @@
"noUnreachable": "warn",
"noUnreachableSuper": "warn",
"noUnusedLabels": "warn",
- "noUnusedVariables": "warn",
+ "noUnusedVariables": "error",
+ "noUnusedImports": "error",
"useExhaustiveDependencies": "warn",
"useHookAtTopLevel": "error",
"useIsNan": "warn",