X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7d1069eceaa7f33ca4135ae3df82c1badfd51f27..dd7f629ab3f1404a2a3ea5a9c4e28c416ecb6e3b:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 5d25f84c3..80bd36dad 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 ChefModernize/IncludingAptDefaultRecipe: Enabled: false @@ -9,12 +9,15 @@ ChefModernize/IncludingAptDefaultRecipe: 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