X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57779fc16fc2ceb83e9b8d36bbdd23aaaa2c3291..68e068818d559ef35bdf2a138a93596337828ef9:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index dfd51c01e..c4b812d92 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,27 +1,29 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 3.1 -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