You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be in the minority here of using SASS over SCSS but the linter just dies when parsing certain nested keywords:
stylelint css/base/_typography.sass
Error: Expected pseudo-class or pseudo-element
at new error (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/processor.js:29:23)
at Parser.error (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/parser.js:234:15)
at Parser.pseudo (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/parser.js:332:25)
at Parser.parse (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/parser.js:549:22)
at Parser.loop (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/parser.js:517:18)
at new Parser (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/parser.js:104:21)
at Processor.process (/Users/my_project/assets/node_modules/stylelint-rscss/node_modules/postcss-selector-parser/dist/processor.js:26:21)
at flattenRule (/Users/my_project/assets/node_modules/stylelint-rscss/lib/helpers/flatten_rule.js:16:6)
at visitRule (/Users/my_project/assets/node_modules/stylelint-rscss/lib/helpers/walk_selectors.js:40:5)
at visit (/Users/my_project/assets/node_modules/stylelint-rscss/lib/helpers/walk_selectors.js:23:20)
Upon further investigation, it looks like it breaks on this:
// has a sad D:
.my-component
font:
weight: 800
// happy days
.my-component
font-weight: 800
It also notably fails on:
.fail-component
padding:
top: 1rem
// not tested, but theoretically:
.might-die
margin: auto
bottom: 0
The text was updated successfully, but these errors were encountered:
I might be in the minority here of using SASS over SCSS but the linter just dies when parsing certain nested keywords:
Upon further investigation, it looks like it breaks on this:
It also notably fails on:
The text was updated successfully, but these errors were encountered: