Skip to main content
Glama
eslint.config.mjs1.83 kB
import js from '@eslint/js'; import tseslintPlugin from '@typescript-eslint/eslint-plugin'; import tsParser from '@typescript-eslint/parser'; import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; const __dirname = dirname(fileURLToPath(import.meta.url)); const tsRecommendedConfigs = tseslintPlugin.configs['flat/recommended'].map((config) => ({ ...config, languageOptions: { ...config.languageOptions, parser: tsParser, parserOptions: { ...(config.languageOptions?.parserOptions ?? {}), ecmaVersion: 2022, sourceType: 'module', tsconfigRootDir: __dirname, }, }, })); export default [ { ignores: [ 'dist/**', 'node_modules/**', '**/*.js', '**/*.d.ts', '**/*.cjs', '**/*.mjs', 'eslint.config.*', 'vitest.config.ts', 'test-*.js', 'tests/**/*.mjs', ], }, js.configs.recommended, ...tsRecommendedConfigs, { files: ['**/*.ts'], rules: { '@typescript-eslint/no-unused-vars': [ 'warn', { args: 'all', argsIgnorePattern: '^_', caughtErrors: 'all', caughtErrorsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_', varsIgnorePattern: '^_', ignoreRestSiblings: true, }, ], '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-non-null-assertion': 'warn', 'no-console': 'off', semi: ['error', 'always'], quotes: ['error', 'single', { avoidEscape: true }], 'no-empty': ['error', { allowEmptyCatch: true }], 'no-useless-escape': 'warn', 'no-case-declarations': 'off', 'prefer-const': 'warn', 'no-unused-vars': 'off', }, }, ];

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/ChiR24/Unreal_mcp'

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