V
V
Vlad2020-10-19 22:49:57
Sass
Vlad, 2020-10-19 22:49:57

Emphasizes the scss sector, how can I remove it?

If I'm a beginner, I can say something wrong.
How to remove selector error underseeding in scss files? There is no such underline in plain css.
PS In the SCSS Lint: Empty Rules settings, I set ignore, and the underlining was removed from the empty blocks, but there are no unfinished selectors, this is very annoying for some reason.

spoiler
5f8de6357dff6054135160.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2020-10-20
@RomanTRS

This is not a selector error, but a syntax error. If it is not removed, then compiling SCSS to CSS will be impossible!
In this case, the linter tells you that you can't leave the selector without content!
Add curly braces after the selector and the error will disappear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question