Skip to content
Zed

erb escape audit for Zed

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:Zed transport:stdio runtime:npm

Install erb escape audit in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "erb-escape-audit": {
      "command": "npx",
      "args": [
        "-y",
        "@readystack/erb-escape-audit"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

erb escape audit in other clients