Skip to main content
Glama

protolint-mcp

by yoheimuta
externalConfig.go785 B
package config // Lint represents the lint configuration. type Lint struct { Ignores Ignores Files Files Directories Directories Rules Rules RulesOption RulesOption `yaml:"rules_option" json:"rules_option" toml:"rules_option"` } // ExternalConfig represents the external configuration. type ExternalConfig struct { SourcePath string Lint Lint } // ShouldSkipRule checks whether to skip applying the rule to the file. func (c ExternalConfig) ShouldSkipRule( ruleID string, displayPath string, defaultRuleIDs []string, ) bool { lint := c.Lint return lint.Ignores.shouldSkipRule(ruleID, displayPath) || lint.Files.shouldSkipRule(displayPath) || lint.Directories.shouldSkipRule(displayPath) || lint.Rules.shouldSkipRule(ruleID, defaultRuleIDs) }

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