X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b8a8aabcb8c98a61b0c712268eb0fc1ef1d56af7..66fe3610dc3a1cdd31612e75eb61059265250a5f:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 12d060a1b..80bd36dad 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + 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