X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b8a8aabcb8c98a61b0c712268eb0fc1ef1d56af7..071a853199b7045f4fe496a12495c52cafad7126:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 12d060a1b..d3e607a06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,20 +1,26 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + 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