Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
no-with.js876 B
/** * @fileoverview Rule to flag use of with statement * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ /** @type {import('../shared/types').Rule} */ module.exports = { meta: { type: "suggestion", docs: { description: "Disallow `with` statements", recommended: true, url: "https://eslint.org/docs/latest/rules/no-with" }, schema: [], messages: { unexpectedWith: "Unexpected use of 'with' statement." } }, create(context) { return { WithStatement(node) { context.report({ node, messageId: "unexpectedWith" }); } }; } };

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/waldzellai/mcp-agent-ts'

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