AleshaOleg / AleshaOleg/postcss-sass

Parser doesn't understand the new `@use` syntax

Aberta
#145 10 comentários 2 reações 1 responsável Reivindicada por @algomaster99 Ver no GitHub
help wanted wontfix
Linguagem predominante
JavaScript
Estrelas
92
Forks
12
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The snippet:
```sass
@use "namespace" as alias

selector
prop: alias.$var
```
throws
```
src/components/cover/index.sass
68:1 ✖ Please check validity of the block starting from line #68 CssSyntaxError
```
Checkout the demo [here](https://stylelint.io/demo#N4Igxg9gJgpiBcIACBXAzjABAHRAOwEMBbGNABwLBl0wLVoBsBLO7PNjBmMAFwgCc2mTGX4Qy8RizQA6ACQA3AoLwgANCDQBPPDwIAPBJrpp14CHgBmTAOZHgQnCH4ouaXJOABfNl5BegA).

Further Reference:
- https://github.com/stylelint/stylelint/issues/4711
- https://stackoverflow.com/questions/61293176/sugarss-throwing-unecessary-csssyntaxerror/61305305#61305305

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.