AleshaOleg / AleshaOleg/postcss-sass
Parser doesn't understand the new `@use` syntax
- Langage dominant
- JavaScript
- Étoiles
- 92
- Forks
- 12
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.