From 07b77432a6e9099dfcbce9c215bb1d4566ac287d Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Mon, 3 Nov 2025 16:02:09 -0800 Subject: [PATCH] Fix lint errors: sort imports and rename unused parameter - Reorganize imports in types.ts to satisfy simple-import-sort - Rename unused localization parameter to _localization in init.ts --- src/cli/init.ts | 2 +- src/types.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cli/init.ts b/src/cli/init.ts index be8eaa5..a7fe811 100644 --- a/src/cli/init.ts +++ b/src/cli/init.ts @@ -874,7 +874,7 @@ export function buildManifest( license: string; repository?: { type: string; url: string }; }, - localization?: { + _localization?: { resources: string; default_locale: string; }, diff --git a/src/types.ts b/src/types.ts index 63e5e38..c949a0d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,8 +1,5 @@ import type * as z from "zod"; -import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js"; -import type { VERSIONED_MANIFEST_SCHEMAS } from "./schemas/index.js"; -import type { DEFAULT_MANIFEST_VERSION } from "./shared/constants.js"; // Import schema types from the version matching DEFAULT_MANIFEST_VERSION import type { McpbManifestAuthorSchema, @@ -18,6 +15,9 @@ import type { McpbUserConfigValuesSchema, McpServerConfigSchema, } from "./schemas/0.2.js"; +import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js"; +import type { VERSIONED_MANIFEST_SCHEMAS } from "./schemas/index.js"; +import type { DEFAULT_MANIFEST_VERSION } from "./shared/constants.js"; export type McpServerConfig = z.infer;