Sha256: 6c7ad186a0c51b0b1765ca4c56beb662031cb2d7d2770fd8f2696d32cd5e8d5c
Contents?: true
Size: 654 Bytes
Versions: 7
Compression:
Stored size: 654 Bytes
Contents
require 'precheck/rule' require 'precheck/rules/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", "todo" ].map(&:downcase) end end end
Version data entries
7 entries across 7 versions & 1 rubygems