madskristensen / CssAutoPrefixer

A Visual Studio extension
Other
4 stars 1 forks source link

Fails to ignore // comment lines in SCSS #5

Open mspaanem opened 7 years ago

mspaanem commented 7 years ago

Installed product versions

Description

Autoprefixer is evaluating SCSS //comment lines as if they were legit code. I've received errors saying that a commented line didn't end with a ; and also that thee is an unclosed string because a comment line contains a word with a contraction

Steps to recreate

  1. create scss file
  2. make some rule
  3. add a comment line using //
  4. put a single ' in the comment line

Current behavior

parsing commented out code

Expected behavior

ignore commented out code