X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.rubocop.yml;h=ef3b9a56c2698eba61231d2db771c90032921883;hb=17b9a4481378fb50b5c3745824ae07ddbdd8e3fa;hp=b35bbcbc34f4c8d1352d8c8138e08b7ed643d49b;hpb=5b83f92099098196e67c8173b47b970c3dbbbdd6;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.rubocop.yml b/.rubocop.yml index b35bbcb..ef3b9a5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,7 @@ --- -require: rubocop-rspec +require: +- rubocop-i18n +- rubocop-rspec AllCops: DisplayCopNames: true TargetRubyVersion: '2.1' @@ -66,8 +68,15 @@ Style/TrailingCommaInLiteral: Style/SymbolArray: Description: Using percent style obscures symbolic intent of array's contents. EnforcedStyle: brackets +inherit_from: ".rubocop_todo.yml" RSpec/MessageSpies: EnforcedStyle: receive +Style/Documentation: + Exclude: + - lib/puppet/parser/functions/**/* + - spec/**/* +Style/WordArray: + EnforcedStyle: brackets Style/CollectionMethods: Enabled: true Style/MethodCalledOnDoEndBlock: @@ -76,6 +85,8 @@ Style/StringMethods: Enabled: true Layout/EndOfLine: Enabled: false +Layout/IndentHeredoc: + Enabled: false Metrics/AbcSize: Enabled: false Metrics/BlockLength: