.sass parser fatal error on &.--
rick-nu opened this issue · 0 comments
rick-nu commented
What version of Sass Lint are you using?
1.12.1
What did you do? Please include the actual source code causing the issue.
_alert.sass
.c-alert
position: relative
padding: 1rem
background: $color-primary
color: $color-primary-text
border-radius: $border-radius-small
display: block
margin-bottom: 1rem
&.--info
background: $color-info
color: $color-info-text
node_modules/.bin/sass-lint -q -v
front-end/shared/sass/6-components/_alert.sass
10:1 error Please check validity of the block starting from line #10 Fatal
What did you expect to happen?
I don't expect a fatal here. All the &.--
references I use in my project break the parser. It does work when I use &.-
, & .--
, but not &.--