v2 ESlint fixes (#1403)

Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
This commit is contained in:
Konstantin Konstantinov 2026-01-20 14:21:53 +02:00 • committed by GitHub
commit 9fc7e28f48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1672 additions and 1346 deletions

View file

@ -21,4 +21,3 @@ Most servers use:
- `@modelcontextprotocol/server` for the MCP server implementation
- one middleware package for framework/runtime integration (this folder)
- (optionally) additional platform/framework dependencies (Express, Hono, etc.)

View file

@ -27,7 +27,7 @@ export function hostHeaderValidation(allowedHostnames: string[]): RequestHandler
res.status(403).json({
jsonrpc: '2.0',
error: {
code: -32000,
code: -32_000,
message: result.message
},
id: null

View file

@ -13,7 +13,7 @@ export function hostHeaderValidation(allowedHostnames: string[]): MiddlewareHand
{
jsonrpc: '2.0',
error: {
code: -32000,
code: -32_000,
message: result.message
},
id: null