You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of new check requests being developed, some of which are not preferable to be enabled by default. Rather than forcing them out of puppet-lint and into an external gem, which forces someone to maintain the plugin and gem, improve the new_check function to include a enabled boolean.
Currently, there appears to be no way to configure this without editing configuration.rb and adding a line like self.settings['autoloader_layout_disabled'] = true. Direct editing of the defaults is not the preferred method to manage this.
The text was updated successfully, but these errors were encountered:
This commit adds back an 80chars check, but disables it by default. To
do this, I also added the ability to re-enable checks that have been
disabled.
The spec is failing and I don't have time to fix it just now, but it
works when called from the command line. I'll come back to it if nobody
else picks this up.
A better solution than calling `Puppet.configuration` to disable a check
like I did might be to extend the `new_check` method. That's not
orthagonal to this PR though.
Supercedes rodjek#488Fixesrodjek#484
There are a number of new check requests being developed, some of which are not preferable to be enabled by default. Rather than forcing them out of puppet-lint and into an external gem, which forces someone to maintain the plugin and gem, improve the
new_check
function to include aenabled
boolean.Currently, there appears to be no way to configure this without editing configuration.rb and adding a line like
self.settings['autoloader_layout_disabled'] = true
. Direct editing of the defaults is not the preferred method to manage this.The text was updated successfully, but these errors were encountered: