Sha256: 8535378d97fc69b43dbc874cf001f42d47b0f91cb87474a0c6e52c750b76881d
Contents?: true
Size: 421 Bytes
Versions: 204
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true require_relative "utilities" module Primer class Classify # :nodoc: class Validation INVALID_CLASS_NAME_PREFIXES = /text-|box-shadow-|box_shadow-/.freeze class << self def invalid?(class_name) class_name.start_with?(INVALID_CLASS_NAME_PREFIXES) || Primer::Classify::Utilities.supported_selector?(class_name) end end end end end
Version data entries
204 entries across 204 versions & 2 rubygems