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
This commit is contained in:
Joan Xie 2025-11-03 16:02:09 -08:00
commit 07b77432a6
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -874,7 +874,7 @@ export function buildManifest(
license: string;
repository?: { type: string; url: string };
},
localization?: {
_localization?: {
resources: string;
default_locale: string;
},

View file

@ -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<typeof McpServerConfigSchema>;