diff options
Diffstat (limited to 'spec/ruby/.rubocop.yml')
-rw-r--r-- | spec/ruby/.rubocop.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/spec/ruby/.rubocop.yml b/spec/ruby/.rubocop.yml index 82733c4b4d..5a902e0f01 100644 --- a/spec/ruby/.rubocop.yml +++ b/spec/ruby/.rubocop.yml @@ -1,7 +1,7 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.1 DisplayCopNames: true Exclude: - command_line/fixtures/bad_syntax.rb @@ -33,15 +33,16 @@ Lint/AssignmentInCondition: Lint/BooleanSymbol: Enabled: false +Lint/DeprecatedOpenSSLConstant: + Exclude: + - library/openssl/digest/**/*.rb + Lint/InterpolationCheck: Enabled: false Lint/LiteralAsCondition: Enabled: false -Lint/RedundantRequireStatement: - Enabled: false - Lint/RedundantSplatExpansion: Enabled: false @@ -102,6 +103,9 @@ Lint/OutOfRangeRegexpRef: Lint/InheritException: Enabled: false +Lint/SafeNavigationChain: + Enabled: false + Lint/ElseLayout: Exclude: - 'language/if_spec.rb' |