blob: 0687814da0e31635b2350789d4acc0a4f92e5aad [file] [log] [blame]
'use strict';
/**
* @param {import('postcss').Comment} comment
* @returns {boolean}
*/
module.exports = function isStandardSyntaxComment(comment) {
// We check both here because the Sass parser uses `raws.inline` to indicate
// inline comments, while the Less parser uses `inline`.
if ('inline' in comment) return false;
if ('inline' in comment.raws) return false;
return true;
};