Sha256: 608e88e6e58a1978613fe65dc7c3a1ae041d4d0195685ac1b10d00d9053e78cb
Contents?: true
Size: 608 Bytes
Versions: 660
Compression:
Stored size: 608 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
660 entries across 660 versions & 5 rubygems