Reputation: 51
Is there a way to disable checks in puppet-lint using a configuration file as it is in rubocop? The configuration file should be a txt file, a json file or other formats?
Upvotes: 3
Views: 2245
Reputation: 32418
Yes, the file is called .puppet-lint.rc
and should look like this:
--fail-on-warnings
--relative
--no-class_inherits_from_params_class-check
--no-documentation-check
--no-single_quote_string_with_variables-check
It's a list of arguments that you would normally pass as command line arguments. For all checks see documentation.
Upvotes: 7