#!/bin/bash
set -euo pipefail
args=(
--cache
--cache-strategy content
--cache-location ./node_modules/.cache/eslint
--max-warnings 1000
.
)
if [[ ! -z "${FIX_ESLINT:-}" ]]; then
args+=("--fix")
fi
if [[ ! -z "${GITHUB_ACTIONS:-}" ]]; then
args+=("--max-warnings=0")
fi
# get additional args
while [[ $# -gt 0 ]]; do
args+=("$1")
shift
done
eslint "${args[@]}"
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/cloudflare/mcp-server-cloudflare'
If you have feedback or need assistance with the MCP directory API, please join our Discord server