Suppress Error (not inspection) in SCSS

Hello! How can I suppress this error?

It's not an inspection, and turning off highlighting for the file does not help.

This is valid SCSS and compiles just fine.

Thanks!

0
4 comments

It's a new addition to CSS: https://developer.chrome.com/articles/css-nth-child-of-s/. Google reports full browser support but only as of the very latest versions, so I guess JetBrains just hasn't caught up yet.

I thought I was getting the error because of SCSS interpolation, but it's showing up anywhere I use 'of'. So I suppose I will just have to wait (:

1

Could you clarify what is of here? Can't find it in the spec

This is a syntax error, changing the highlighting level to None and re-opening the file is the only way to suppress it

0
Thank you!
The issue is indeed specific to using interpolations; submitted to developers as https://youtrack.jetbrains.com/issue/WEB-61409/Using-variable-interpolation-in-nth-child-of-selector-causes-syntax-errors, please vote for it to get notified on any progress
0

Please sign in to leave a comment.