From a5a076e0962f0ee5fafd3eca2758791290b38c2e Mon Sep 17 00:00:00 2001 From: Aaron Sachs <898627+asachs01@users.noreply.github.com> Date: Wed, 13 May 2026 21:40:13 -0400 Subject: [PATCH] chore: add eslint config + drop unused import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI was failing on every PR because the lint step (`eslint src --ext .ts`) had no config file — preexisting since the script was introduced. Adding the standard typescript-eslint setup that matches the devDependencies already declared in package.json. Also drops the now-unused \`getCredentials\` import from \`src/index.ts\` left over from the health-probe fix. Unblocks Release workflow → Docker image rebuild → ACA pulls fixed image. --- .eslintrc.json | 19 +++++++++++++++++++ src/index.ts | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..ceb271c --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,19 @@ +{ + "root": true, + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 2022, + "sourceType": "module" + }, + "plugins": ["@typescript-eslint"], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended" + ], + "rules": { + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], + "@typescript-eslint/no-explicit-any": "warn", + "no-empty": ["warn", { "allowEmptyCatch": true }] + }, + "ignorePatterns": ["dist/", "node_modules/", "*.config.ts", "*.config.js"] +} diff --git a/src/index.ts b/src/index.ts index 1ab4e01..cdf7aba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,6 @@ import { ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js"; import { logger } from "./utils/logger.js"; -import { getCredentials } from "./utils/client.js"; import { credentialStore } from "./utils/credential-store.js"; import { eventTools, handleEventTool } from "./tools/events.js"; import { searchTools, handleSearchTool } from "./tools/search.js";