UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

24 lines (23 loc) 636 B
rules: - id: physical-equal pattern: $X == $Y message: You probably want the structural equality operator = languages: [ocaml] severity: WARNING metadata: category: correctness technology: - ocaml references: - https://v2.ocaml.org/api/Stdlib.html#1_Comparisons - id: physical-not-equal pattern: $X != $Y message: You probably want the structural inequality operator <> languages: [ocaml] severity: WARNING metadata: category: correctness technology: - ocaml references: - https://v2.ocaml.org/api/Stdlib.html#1_Comparisons