diff options
author | Benoit Daloze <eregontp@gmail.com> | 2022-04-25 14:53:54 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2022-04-25 14:53:54 +0200 |
commit | 45cf4f218728a15eb36d14a6c9912086525f5e3f (patch) | |
tree | 2aa93fadcb904c226f722dde47827098b87a9846 /spec/ruby/.rubocop.yml | |
parent | 6ae81d49b52563a6720d666a6118ffa6e484f398 (diff) | |
download | ruby-45cf4f218728a15eb36d14a6c9912086525f5e3f.tar.gz |
Update to ruby/spec@3affe1e
Diffstat (limited to 'spec/ruby/.rubocop.yml')
-rw-r--r-- | spec/ruby/.rubocop.yml | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/spec/ruby/.rubocop.yml b/spec/ruby/.rubocop.yml index eab4c3c4a6..e807b59321 100644 --- a/spec/ruby/.rubocop.yml +++ b/spec/ruby/.rubocop.yml @@ -1,11 +1,12 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 DisplayCopNames: true Exclude: - command_line/fixtures/bad_syntax.rb DisabledByDefault: true + NewCops: disable Layout/TrailingWhitespace: Enabled: true @@ -56,12 +57,52 @@ Lint/UnusedMethodArgument: Lint/UselessAssignment: Enabled: false -Lint/UselessComparison: +Lint/BinaryOperatorWithIdenticalOperands: Enabled: false +Lint/EmptyConditionalBody: + Enabled: false # buggy + Lint/Void: Enabled: false +Lint/ConstantDefinitionInBlock: + Enabled: false + +Lint/RaiseException: + Enabled: false + +Lint/FloatComparison: + Enabled: false + +Lint/DeprecatedClassMethods: + Enabled: false + +Lint/UnreachableLoop: + Enabled: false + +Lint/MissingSuper: + Enabled: false + +Lint/UselessMethodDefinition: + Enabled: false + +Lint/UselessTimes: + Enabled: false + +Lint/MixedRegexpCaptureTypes: + Enabled: false + +Lint/DuplicateElsifCondition: + Enabled: false + +Lint/OutOfRangeRegexpRef: + Enabled: false + +Lint/ElseLayout: + Exclude: + - 'language/if_spec.rb' + Lint/EmptyExpression: Exclude: - 'language/**/*.rb' |