Sha256: f30c30ea8ea600dc6d9d0fa64957f3cd478d21858e03c714f3c90a673835be69
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
require_relative 'abstract_text_match_rule' module Precheck class PlaceholderWordsRule < AbstractTextMatchRule def self.key :placeholder_text end def self.env_name "RULE_PLACEHOLDER_TEXT_THINGS" end def self.friendly_name "No placeholder text" end def self.description "using placeholder text (e.g.:\"lorem ipsum\", \"text here\", etc...)" end def lowercased_words_to_look_for [ "hipster ipsum", "bacon ipsum", "lorem ipsum", "placeholder", "text here" ].map(&:downcase) end end end
Version data entries
3 entries across 3 versions & 1 rubygems