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