comment-pattern
コメントのパターンを指定します。
/* comment */
/** ↑
* The pattern of this */
このルールの引数には、message
セカンダリオプション を使用できます。
オプション
正規表現 | 文字列
文字列はnew RegExp(yourString)
のように正規表現に変換されるため、適切にエスケープしてください。
文字列を指定した場合
"foo .+"
次のパターンは問題とみなされます
/*not starting with foo*/
a { color: red; }
次のパターンは問題とみなされません
/*foo at the beginning*/
a { color: red; }