rubocop 1.91.0

Cops

# 1,019 cops: 613 in RuboCop 1.91.0, the rest in its official plugins.

Bundler 7

Gemspec 10

Layout 100

Lint 160

Metrics 10

Migration 1

  • Migration/DepartmentNameChecks that cop names in rubocop:disable (etc.) comments are given with a department name.on-a0.75

Naming 19

Security 7

  • Security/CompoundHashChecks for hash implementations that combine values manually instead of delegating to Array#hash.pending1.28
  • Security/EvalChecks for the use of Kernel#eval and Binding#eval with dynamic arguments.on0.47
  • Security/IoMethodsChecks for the first argument to IO.read, IO.binread, IO.write, IO.binwrite, IO.foreach, and IO.readlines.pending-A1.22
  • Security/JSONLoadPrefer usage of JSON.parse over JSON.load due to potential security issues. See reference for more information.on-A0.43
  • Security/MarshalLoadAvoid using of Marshal.load or Marshal.restore due to potential security issues. See reference for more information.on0.47
  • Security/OpenChecks for the use of Kernel#open and URI.open with dynamic data.on0.53
  • Security/YAMLLoadPrefer usage of YAML.safe_load over YAML.load due to potential security issues. See reference for more information.on-A0.47

Style 299

Capybara 6 rubocop-capybara 3.0.0

Capybara/RSpec 9 rubocop-capybara 3.0.0

FactoryBot 11 rubocop-factory_bot 2.28.0

Minitest 55 rubocop-minitest 0.41.0

Performance 52 rubocop-performance 1.27.0

RSpec 115 rubocop-rspec 3.10.2

RSpecRails 10 rubocop-rspec_rails 2.33.0

Rails 138 rubocop-rails 2.38.0

ThreadSafety 10 rubocop-thread_safety 0.8.0

on by default pending: off until the next major release, or with NewCops: enable opt-in: off unless enabled -a fixed by rubocop -a -A only by rubocop -A numbers: the version that added it