X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57779fc16fc2ceb83e9b8d36bbdd23aaaa2c3291..22430d66328dc1d5e794386b88184050341138c1:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index dfd51c01e..80bd36dad 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,27 +1,26 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.7 -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