Skip to content

Files

Latest commit

 

History

History
33 lines (22 loc) · 524 Bytes

comment-pattern.md

File metadata and controls

33 lines (22 loc) · 524 Bytes

Pattern: Invalid comment pattern

Issue: -

Description

Specify a pattern for comments.

/*  comment */
/** ↑
 * The pattern of this */

Examples

The following patterns are considered violations:

/*not starting with foo*/
a { color: red; }

The following patterns are not considered violations:

/*foo at the beginning*/
a { color: red; }

Further Reading