X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7d1069eceaa7f33ca4135ae3df82c1badfd51f27..5f38bd2d4357288f7d377b817f5eefe2eab7243f:/.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