Currently imports reference built JS files and require eslint ignores. Example:
|
/* eslint-disable n/no-missing-import */ |
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; |
|
/* eslint-enable n/no-missing-import */ |
|
import { makeApiRequest } from '../common/utils.js'; |
|
import type { MwRestApiPageObject } from '../types/mwRestApi.js'; |
|
import { WIKI_SERVER, SCRIPT_PATH } from '../common/config.js'; |
This should not be necessary and we should refer to the actual TS files (with or without .ts).
Currently imports reference built JS files and require eslint ignores. Example:
MediaWiki-MCP-Server/src/index.ts
Lines 1 to 3 in b3413a6
MediaWiki-MCP-Server/src/tools/get-page.ts
Lines 7 to 9 in b3413a6
This should not be necessary and we should refer to the actual TS files (with or without
.ts).