From: Jacob Helwig Date: Mon, 25 Jun 2018 17:45:27 +0000 (-0700) Subject: Disable Rubocop Style/Documentation check for type & provider X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9a3a8bf16198197ab89430dda8bc674cbd60fcca;p=puppet-sshkeys_core.git Disable Rubocop Style/Documentation check for type & provider The type & provider are documented using tooling that Rubocop isn't aware of, so we just disable this cop for those files. --- diff --git a/.rubocop.yml b/.rubocop.yml index 9045e76..7dc5efb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -74,6 +74,8 @@ Style/Documentation: Exclude: - lib/puppet/parser/functions/**/* - spec/**/* + - lib/puppet/type/** + - lib/puppet/provider/** Style/WordArray: EnforcedStyle: brackets Style/CollectionMethods: diff --git a/.sync.yml b/.sync.yml index ce056df..dd4f0d1 100644 --- a/.sync.yml +++ b/.sync.yml @@ -31,6 +31,12 @@ Rakefile: default_configs: RSpec/NamedSubject: Enabled: false + Style/Documentation: + Exclude: + - lib/puppet/parser/functions/**/* + - spec/**/* + - lib/puppet/type/** + - lib/puppet/provider/** .gitlab-ci.yml: delete: true