mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
20 lines (19 loc) • 503 B
YAML
rules:
- id: ocamllint-length-list-zero
pattern: List.length $X = 0
message: You probably want $X = [], which is faster.
languages: [ocaml]
severity: WARNING
metadata:
category: performance
technology:
- ocaml
- id: ocamllint-length-more-than-zero
pattern: List.length $X > 0
message: You probably want $X <> [], which is faster.
languages: [ocaml]
severity: WARNING
metadata:
category: performance
technology:
- ocaml