Skip to main content
Glama
eslint.config.js1.77 kB
import eslint from "@eslint/js"; import tseslint from "@typescript-eslint/eslint-plugin"; import tsparser from "@typescript-eslint/parser"; import prettier from "eslint-plugin-prettier"; import prettierConfig from "eslint-config-prettier"; export default [ eslint.configs.recommended, { files: ["src/**/*.ts"], languageOptions: { parser: tsparser, parserOptions: { ecmaVersion: "latest", sourceType: "module", project: "./tsconfig.json", }, globals: { console: "readonly", process: "readonly", Buffer: "readonly", __dirname: "readonly", __filename: "readonly", URL: "readonly", crypto: "readonly", }, }, plugins: { "@typescript-eslint": tseslint, prettier: prettier, }, rules: { ...tseslint.configs.recommended.rules, ...prettierConfig.rules, "prettier/prettier": "error", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-unused-vars": [ "error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", }, ], "@typescript-eslint/no-non-null-assertion": "warn", "no-console": ["warn", { allow: ["error", "warn"] }], "prefer-const": "error", "no-var": "error", }, }, { files: ["**/*.test.ts", "**/__tests__/**"], rules: { "@typescript-eslint/no-explicit-any": "off", "no-console": "off", }, }, { ignores: [ "dist/**", "node_modules/**", "coverage/**", "*.config.js", "*.config.ts", ], }, ];

Latest Blog Posts

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/hummbl-dev/mcp-server'

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