Sha256: 11bac374f0f3bbdbb185a83bfc22b07b97de33189d5f163b78844099cebce65c
Contents?: true
Size: 413 Bytes
Versions: 10
Compression:
Stored size: 413 Bytes
Contents
module SCSSLint # Checks for spaces following the name of a property and before the colon # separating the property's name from its value. class Linter::SpaceAfterPropertyName < Linter include LinterRegistry def visit_prop(node) return unless character_at(node.name_source_range.end_pos) != ':' add_lint node, 'Property name should be immediately followed by a colon' end end end
Version data entries
10 entries across 10 versions & 1 rubygems