]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
Disable Rubocop Style/Documentation check for type & provider
authorJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 17:45:27 +0000 (10:45 -0700)
committerJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 18:26:53 +0000 (11:26 -0700)
The type & provider are documented using tooling that Rubocop isn't aware
of, so we just disable this cop for those files.

.rubocop.yml
.sync.yml

index 9045e767720dc52e61332e4fe195204120d1dbf3..7dc5efb75540d36ebb073aef628acee0f96b5a30 100644 (file)
@@ -74,6 +74,8 @@ Style/Documentation:
   Exclude:
   - lib/puppet/parser/functions/**/*
   - spec/**/*
+  - lib/puppet/type/**
+  - lib/puppet/provider/**
 Style/WordArray:
   EnforcedStyle: brackets
 Style/CollectionMethods:
index ce056df0f01821472e0d3bc675de8e3190a8905c..dd4f0d1ecc86e12ad7d0fac870a568035238b24f 100644 (file)
--- 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