X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57779fc16fc2ceb83e9b8d36bbdd23aaaa2c3291..aec91e5d36f0eddffa7eb48c26f8804a922a84b3:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index dfd51c01e..75bc2d9d8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,27 +1,29 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 3.0 -Layout/AlignParameters: - Exclude: - - '**/metadata.rb' +ChefModernize/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