Silviu Mar
Silviu Mar

Reputation: 51

Puppet-lint configuration file

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

Answers (1)

Tombart
Tombart

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

Related Questions