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

rake lint should respect .puppet-lint.rc in root of module #202

Closed
ghoneycutt opened this issue Jun 6, 2013 · 1 comment · Fixed by #240
Closed

rake lint should respect .puppet-lint.rc in root of module #202

ghoneycutt opened this issue Jun 6, 2013 · 1 comment · Fixed by #240
Milestone

Comments

@ghoneycutt
Copy link
Contributor

Would be great if you could run rake lint and have it respect options from .puppet-lint.rc located in the root of the module.

@dalen
Copy link
Contributor

dalen commented Aug 5, 2013

you can do something similar by modifying your Rakefile to add your desired options:

require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.send("disable_80chars")
PuppetLint.configuration.send("disable_documentation")
PuppetLint.configuration.send("disable_parameterised_classes")
PuppetLint.configuration.send("disable_class_parameter_defaults")
PuppetLint.configuration.send("disable_class_inherits_from_params_class")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants