5 * Check whether a at-rule is standard
7 * @param {atRule} postcss at-rule node
8 * @return {boolean} If `true`, the declaration is standard
10 module.exports = function(atRule /*: postcss$atRule*/) /*: boolean*/ {
11 // Ignore scss `@content` inside mixins
12 if (!atRule.nodes && atRule.params === "") {
16 // Ignore detached ruleset `@detached-ruleset: { background: red; }; .top { @detached-ruleset(); }`
19 atRule.raws.afterName === "" &&
20 atRule.params[0] === "("