Skip to main content
Glama

protolint-mcp

by yoheimuta
ignore.go456 B
package config import "github.com/yoheimuta/protolint/internal/stringsutil" // Ignore represents files ignoring the specific rule. type Ignore struct { ID string `yaml:"id" json:"id" toml:"id"` Files []string `yaml:"files" json:"files" toml:"files"` } func (i Ignore) shouldSkipRule( ruleID string, displayPath string, ) bool { if i.ID != ruleID { return false } return stringsutil.ContainsCrossPlatformPathInSlice(displayPath, i.Files) }

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/yoheimuta/protolint'

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