Skip to content

Commit

Permalink
Merge pull request #671 from Darhazer/file-per-plugin
Browse files Browse the repository at this point in the history
One file per plugin. Fixes #657
  • Loading branch information
rodjek authored Apr 4, 2017
2 parents 262b729 + e89226d commit 8b5ee3d
Show file tree
Hide file tree
Showing 41 changed files with 1,035 additions and 1,070 deletions.
12 changes: 3 additions & 9 deletions lib/puppet-lint/plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,8 @@ def self.gem_directories
end
end

require 'puppet-lint/plugins/check_classes'
require 'puppet-lint/plugins/check_comments'
require 'puppet-lint/plugins/check_conditionals'
require 'puppet-lint/plugins/check_documentation'
require 'puppet-lint/plugins/check_strings'
require 'puppet-lint/plugins/check_variables'
require 'puppet-lint/plugins/check_whitespace'
require 'puppet-lint/plugins/check_resources'
require 'puppet-lint/plugins/check_nodes'
Dir[File.expand_path('plugins/**/*.rb', File.dirname(__FILE__))].each do |file|
require file
end

PuppetLint::Plugins.load_from_gems
Loading

0 comments on commit 8b5ee3d

Please sign in to comment.