(node: Node)
| 229 | }; |
| 230 | |
| 231 | function getParentRule(node: Node): undefined | Node { |
| 232 | const {parent} = node; |
| 233 | if (!parent) return undefined; |
| 234 | if (parent.type === 'rule') return parent; |
| 235 | |
| 236 | return getParentRule(parent); |
| 237 | } |
| 238 | |
| 239 | const AT_RULES_WITH_SELECTORS = new Set([ |
| 240 | 'container', |
no outgoing calls
no test coverage detected