X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5a8698d76c0b5a1864f2fb9fb8c793301a0ef77a..d3dc43c96d47c2a49c9a9d2118ae1d3c3d6af02f:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 5db1a3104..d3e607a06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,17 +1,26 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 3.1 + +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