数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
392 B

'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;
};