Skip to main content
Glama
project.json1.85 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "#/definitions/Project", "definitions": { "Project": { "type": "object", "additionalProperties": false, "properties": { "ruleDirs": { "type": "array", "items": { "type": "string" }, "title": "Rule directories", "description": "A list of string instructing where to discover ast-grep's YAML rules." }, "testConfigs": { "type": "array", "items": { "$ref": "#/definitions/TestConfig" }, "title": "Test configurations", "description": "A list of object to configure ast-grep's test cases. Each object can have two fields." }, "utilDirs": { "type": "array", "items": { "type": "string" }, "title": "Utility directories", "description": "A list of string instructing where to discover ast-grep's global utility rules." } }, "required": ["ruleDirs"], "title": "ast-grep project configuration" }, "TestConfig": { "type": "object", "additionalProperties": false, "properties": { "testDir": { "type": "string", "description": "A string specifies where to discover test cases for ast-grep." }, "snapshotDir": { "type": "string", "description": "A string path relative to testDir that specifies where to store test snapshots for ast-grep. You can think it like __snapshots___ in popular test framework like jest. If this option is not specified, ast-grep will store the snapshot under the __snapshots__ folder under the testDir." } }, "required": ["testDir"], "title": "Test configuration" } } }

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/sbarron/AmbianceMCP'

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