class Chutney::TooManyDifferentTags
service class to lint for too many different tags
Public Instance Methods
lint()
click to toggle source
# File lib/chutney/linter/too_many_different_tags.rb, line 6 def lint tags = all_tags return if tags.length <= maxcount add_issue( I18n.t('linters.too_many_different_tags', count: tags.length, max: maxcount), feature ) end
maxcount()
click to toggle source
# File lib/chutney/linter/too_many_different_tags.rb, line 16 def maxcount configuration['MaxCount']&.to_i || 3 end