I have a file called foo.scss
with contents:
.foo {
font: {
family: arial;
weight: 600;
}
}
Linting with stylelint 8.4.0 on the command line results in this output:
foo.scss
2:5 ✖ Cannot parse selector parseError
However, I expected this sass syntax to work since it's described in the sass documentation at https://sass-lang.com/documentation/file.SASS_REFERENCE.html#nested_properties
Upgrading to stylelint 9.4 (from 8.4) fixed my issue.