anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.23k stars 50 forks source link

css-not-sel-list error in css module #165

Closed Enivia closed 1 year ago

Enivia commented 1 year ago
.a:not(:global(.b)) {
}

:global is only a global style selector wrapper but also get error

clshortfuse commented 1 year ago

:global isn't part of the CSS spec. It's custom-built syntax.

Like when working with scss you should only pass valid (processed) CSS to doiuse.