aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Helwig <jacob@technosorcery.net>2018-06-25 10:45:27 -0700
committerJacob Helwig <jacob@technosorcery.net>2018-06-25 11:26:53 -0700
commit9a3a8bf16198197ab89430dda8bc674cbd60fcca (patch)
treea8b948c9b6cdd7c8bf07bd9e750da205a01bea84
parent9da73bb9720df51c796dab64267f72fe999c9280 (diff)
downloadpuppet-sshkeys_core-9a3a8bf16198197ab89430dda8bc674cbd60fcca.tar.gz
puppet-sshkeys_core-9a3a8bf16198197ab89430dda8bc674cbd60fcca.tar.bz2
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.
-rw-r--r--.rubocop.yml2
-rw-r--r--.sync.yml6
2 files changed, 8 insertions, 0 deletions
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