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";