Category "rubocop"

Rubocop – how can I just display auto-correctable results

I would like to run Rubocop and just see auto-correctable results. The documentation (https://docs.rubocop.org/rubocop/usage/basic_usage.html) indicates this sh

Rubocop: Assignment Branch Condition size for method is too high. How can I reduce the method?

This block of code: def set_conversation @conversation = Conversation.find(params[:conversation_id]) .match.origin_target.

VSCode - Rubocop - Settings.json - End of file expected

I am using VisualStudioCode with Ruby and Rubocop. After installation of Rubocop i found out i must change some of the settings in settings.json for Rubocop. Ho

fix `Missing frozen string literal comment` issue

I created a new migration, it looks like this one: class AddCommentsToUsers < ActiveRecord::Migration def change add_column :users, :comments, :text