shlogg · Early preview
Justin @presidentbeef

Integrating Brakeman Scans Into Code Editors With Ruby-LSP-Brakeman

Introducing ruby-lsp-brakeman: integrate Brakeman scans into code editors via Ruby-LSP, running asynchronously in the background with inline warnings. Install gem 'ruby-lsp-brakeman' and restart Ruby LSP extension for seamless integration.

Announcing the ruby-lsp-brakeman project!
This new gem allows Brakeman scans to be integrated into code editors via ruby-lsp. Scans will run asynchronously in the background and warnings will can be shown inline in the editor.

  
  
  Using Ruby-LSP-Brakeman

Add ruby-lsp-brakeman to your Gemfile:

gem 'ruby-lsp-brakeman', require: false

    
    

    
    




  
  
  In VS Code

If using with VS Code, make sure to install the Ruby LSP extension.
bundle install and then restart the Ruby LSP extension to enable the add-on.
To double-check that Brakeman is running, examine the output tab in...