Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for puppet-lint ignore-paths #450

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Add support for puppet-lint ignore-paths #450

merged 1 commit into from
Aug 26, 2021

Conversation

da-ar
Copy link

@da-ar da-ar commented Aug 26, 2021

Adds the linter_exclusions option to the Rakefile which configures both the Rakefile and .puppet-lint.rc to exclude paths from the linter.

example:

Rakefile:
  linter_exclusions:
    - examples/*.pp
    - manifests/*.pp

@da-ar da-ar requested review from a team as code owners August 26, 2021 15:41
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and I would love to merge so I could get tomcat out tonight, but just can't drop the thought that this needs added to the rakefile section of the README.
Otherwise it might get lost.

Adds the `linter_exclusions` option to the Rakefile which configures both the Rakefile and  `.puppet-lint.rc` to exclude paths from the linter.

example:

```
Rakefile:
  linter_exclusions:
    - examples/*.pp
    - manifests/*.pp
```
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david22swan david22swan merged commit b4d80a6 into puppetlabs:main Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants