diff --git a/.rubocop.yml b/.rubocop.yml index 89cdc8d73..d411d2a9a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -254,3 +254,6 @@ Style/TrailingCommaInArrayLiteral: Style/TrailingCommaInHashLiteral: Enabled: false + +Style/YodaExpression: + Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 06504d77b..6e7c678bf 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.41.1. +# using RuboCop version 1.42.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new diff --git a/Gemfile b/Gemfile index 372e57d65..949f401a1 100644 --- a/Gemfile +++ b/Gemfile @@ -103,7 +103,7 @@ group :test do gem "selenium-webdriver", "~> 3.142.7" gem 'webdrivers', '4.6.1', require: false # RuboCop - gem 'rubocop', '~> 1.41.1' + gem 'rubocop', '~> 1.42.0' gem 'rubocop-performance', '~> 1.15.0' gem 'rubocop-rails', '~> 2.17.2' end