X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7d1069eceaa7f33ca4135ae3df82c1badfd51f27..cc9bbcf89afcfd13e5e994248f7531a51e280f0c:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 5d25f84c3..d3e607a06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,20 +1,26 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.1 -ChefModernize/IncludingAptDefaultRecipe: +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