Skip to main content
Glama

Substack MCP Server

eslint.config.js4.62 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' export default [ eslint.configs.recommended, { ignores: ['dist/**', 'coverage/**', 'node_modules/**', 'samples/**'] }, { files: ['jest.config.js', 'jest.e2e.config.js'], languageOptions: { sourceType: 'module', globals: { module: 'readonly' } } }, { files: ['src/**/*.ts', 'tests/unit/**/*.test.ts'], languageOptions: { parser: tsparser, parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tsconfig.json', './tsconfig.test.json'] }, globals: { fetch: 'readonly', Response: 'readonly', RequestInit: 'readonly', URLSearchParams: 'readonly', Blob: 'readonly', global: 'readonly', console: 'readonly', jest: 'readonly', describe: 'readonly', it: 'readonly', test: 'readonly', expect: 'readonly', beforeAll: 'readonly', afterAll: 'readonly', beforeEach: 'readonly', afterEach: 'readonly' } }, plugins: { '@typescript-eslint': tseslint, prettier: prettier }, rules: { 'semi': ['error', 'never'], 'quotes': ['error', 'single'], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'warn', 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'varsIgnorePattern': '^_' }], 'prettier/prettier': ['error', { 'semi': false, 'singleQuote': true, 'trailingComma': 'none', 'printWidth': 100 }] } }, { files: ['tests/integration/**/*.ts'], languageOptions: { parser: tsparser, parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tsconfig.test.json'] }, globals: { fetch: 'readonly', Response: 'readonly', RequestInit: 'readonly', URLSearchParams: 'readonly', Blob: 'readonly', global: 'readonly', jest: 'readonly', describe: 'readonly', it: 'readonly', test: 'readonly', expect: 'readonly', beforeAll: 'readonly', afterAll: 'readonly', beforeEach: 'readonly', afterEach: 'readonly', console: 'readonly', process: 'readonly' } }, plugins: { '@typescript-eslint': tseslint, prettier: prettier }, rules: { 'semi': ['error', 'never'], 'quotes': ['error', 'single'], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'warn', 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'varsIgnorePattern': '^_' }], 'prettier/prettier': ['error', { 'semi': false, 'singleQuote': true, 'trailingComma': 'none', 'printWidth': 100 }] } }, { files: ['tests/e2e/**/*.ts'], languageOptions: { parser: tsparser, parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tests/e2e/tsconfig.json'] }, globals: { fetch: 'readonly', Response: 'readonly', RequestInit: 'readonly', URLSearchParams: 'readonly', Blob: 'readonly', global: 'readonly', jest: 'readonly', describe: 'readonly', it: 'readonly', test: 'readonly', expect: 'readonly', beforeAll: 'readonly', afterAll: 'readonly', beforeEach: 'readonly', afterEach: 'readonly', console: 'readonly', process: 'readonly' } }, plugins: { '@typescript-eslint': tseslint, prettier: prettier }, rules: { 'semi': ['error', 'never'], 'quotes': ['error', 'single'], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'warn', 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'varsIgnorePattern': '^_' }], 'prettier/prettier': ['error', { 'semi': false, 'singleQuote': true, 'trailingComma': 'none', 'printWidth': 100 }] } } ]

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/danielsimonjr/substack-mcp'

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