Skip to main content
Glama

MCP Time Server Node

by pshempel
.eslintrc.json3.69 kB
{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2022, "sourceType": "module", "project": "./tsconfig.eslint.json" }, "plugins": ["@typescript-eslint", "security", "jest", "import"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:@typescript-eslint/strict", "plugin:security/recommended-legacy", "plugin:jest/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript" ], "rules": { "@typescript-eslint/explicit-function-return-type": "error", "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], "@typescript-eslint/consistent-type-imports": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-misused-promises": "error", "@typescript-eslint/await-thenable": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/prefer-nullish-coalescing": "error", "@typescript-eslint/prefer-optional-chain": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-call": "error", "@typescript-eslint/no-unsafe-return": "error", "@typescript-eslint/no-unsafe-argument": "error", "no-console": ["warn", { "allow": ["error"] }], "prefer-const": "error", "no-var": "error", "complexity": ["error", 10], "max-lines-per-function": [ "error", { "max": 50, "skipBlankLines": true, "skipComments": true } ], "max-depth": ["error", 4], "max-nested-callbacks": ["error", 3], "jest/expect-expect": [ "error", { "assertFunctionNames": ["expect", "request.*.expect"] } ], "jest/no-disabled-tests": "error", "jest/no-focused-tests": "error", "jest/no-identical-title": "error", "jest/valid-expect": "error", "jest/valid-expect-in-promise": "error", "import/order": [ "error", { "groups": ["builtin", "external", "internal", "parent", "sibling", "index"], "newlines-between": "always", "alphabetize": { "order": "asc", "caseInsensitive": true } } ], "import/no-duplicates": "error", "import/no-unresolved": "error", "import/no-cycle": "error", "import/newline-after-import": "error" }, "overrides": [ { "files": ["tests/**/*.test.ts", "tests/**/*.test.js"], "env": { "jest": true } }, { "files": [ "src/utils/cacheKeyBuilder.ts", "src/utils/holidayAggregator.ts", "src/utils/businessHoursHelpers.ts" ], "rules": { "complexity": ["error", 20], "max-lines-per-function": [ "error", { "max": 80, "skipBlankLines": true, "skipComments": true } ], "max-depth": ["error", 5], "no-useless-catch": "off", "security/detect-object-injection": "off" } }, { "files": ["src/tools/calculateBusinessHours.ts", "src/tools/getBusinessDays.ts"], "rules": { "complexity": ["error", 15], "max-lines-per-function": [ "error", { "max": 110, "skipBlankLines": true, "skipComments": true } ] } } ], "ignorePatterns": ["dist", "node_modules", "coverage", "*.js"], "settings": { "import/resolver": { "typescript": { "project": "./tsconfig.eslint.json" } } } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pshempel/mcp-time-server-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server