mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
17 lines (16 loc) • 402 B
YAML
rules:
- id: invalid-base-url
patterns:
- pattern: baseURL = "..."
- pattern-not-regex: (.*http).*
severity: WARNING
message: >-
The 'baseURL' is invalid. This may cause links to not work if deployed.
Include the scheme (e.g., http:// or https://).
languages: [generic]
metadata:
references:
- https://gohugo.io/
category: best-practice
technology:
- hugo