Заведи каркас пакета и утилитный слой MCP-сервера
package.json, tsconfig, eslint, генерация типов из OpenAPI-спеки, модули config/redact/errors/money/sanitize/cache с тестами и обезличенные фикстуры живых ответов API openrusrouter.ru. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
29 files changed
+11350
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// @ts-check
|
||||
import js from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
|
||||
export default tseslint.config(
|
||||
{ ignores: ["dist/**", "node_modules/**", "src/generated/**"] },
|
||||
js.configs.recommended,
|
||||
...tseslint.configs.strict,
|
||||
{
|
||||
rules: {
|
||||
// stdout занят протоколом MCP (stdio): любая печать туда ломает сессию.
|
||||
"no-console": ["error", { allow: ["error"] }],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["scripts/**/*.mjs"],
|
||||
languageOptions: { globals: { process: "readonly", console: "readonly", URL: "readonly" } },
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user