X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57779fc16fc2ceb83e9b8d36bbdd23aaaa2c3291..b3538164e1ccbc85adc78d47cdcd9ba4e456aacf:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index dfd51c01e..d3e607a06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,27 +1,29 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 3.1 -Layout/AlignParameters: - Exclude: - - '**/metadata.rb' +Chef/Modernize/IncludingAptDefaultRecipe: + Enabled: false + +Chef/Modernize/CronDFileOrTemplate: + Enabled: false Layout/ExtraSpacing: AllowForAlignment: true -Layout/IndentHeredoc: - EnforcedStyle: squiggly +Layout/HeredocIndentation: + Enabled: true -Naming/UncommunicativeMethodParamName: +Naming/MethodParameterName: Enabled: false +Style/CommandLiteral: + EnforcedStyle: percent_x + Style/HashSyntax: EnforcedStyle: hash_rockets -Style/IfUnlessModifier: - Enabled: false - Style/NumericPredicate: EnforcedStyle: predicate