Skip to content

Commit

Permalink
(MAINT) Add Exclude setting
Browse files Browse the repository at this point in the history
When inheriting from a gem, the AllCops/exclude property doesn't seem to
be propagated.

Running rubocop with --degbug confirms that it is recognising the
directive to inherit .rubocop.yml from puppet-line and rules seem to be
valid.

This commit adds the AllCops/Exclude containing a single value that
excludes the "vendor" directory that appears when running in ci.
  • Loading branch information
chelnak committed Oct 19, 2022
1 parent 07ae714 commit 9399d7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
inherit_gem:
puppet-lint: .rubocop.yml
puppet-lint:
- .rubocop.yml
AllCops:
Exclude:
- "vendor/**/*"

0 comments on commit 9399d7c

Please sign in to comment.