Inspectopedia 2025.2 Help

RuboCop

Reports issues from the RuboCop linter. Requires the rubocop gem to be installed in the project interpreter. If supported, all RuboCop commands run in server mode.

Use the Severities mapping fields to customize the highlight levels.

Find additional RuboCop settings in Settings | Tools | RuboCop.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

Rubocop
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Ruby | Gems and gem management

Inspection ID: Rubocop

Inspection options

Here you can find the description of settings available for the RuboCop inspection, and the reference of their default values.

Severities mapping

Default value:

None

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection Rubocop

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Inspection Details

By default bundled with:

Qodana for Ruby 2025.2, RubyMine 2025.2,

Last modified: 18 September 2025