X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5a8698d76c0b5a1864f2fb9fb8c793301a0ef77a..49e729f51ae97eb06c651ca23d86582b5f02e27f:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index 5db1a3104..80bd36dad 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,17 +1,23 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.7 + +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