X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7d1069eceaa7f33ca4135ae3df82c1badfd51f27..77ec0edabf4ce25c07d356d5fef6db7e1cabd1ef:/.rubocop.yml?ds=inline 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