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

Version Path
fastlane-2.42.0.beta.20170627010007 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.42.0.beta.20170626010017 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.42.0.beta.20170625010032 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.42.0.beta.20170624010047 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.41.0 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.41.0.beta.20170623010027 precheck/lib/precheck/rules/placeholder_words_rule.rb
fastlane-2.40.0 precheck/lib/precheck/rules/placeholder_words_rule.rb