erb escape audit for VS Code
io.github.jmshinhwa/erb-escape-audit
15 rules that find every line in a Rails .erb view where output escaping was switched off or was the
client:VS Code
transport:stdio
runtime:npm
Install erb escape audit in VS Code
.vscode/mcp.json
{
"servers": {
"erb-escape-audit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@readystack/erb-escape-audit"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs