Vetur: SCSS code linted as CSS

Created on 29 Aug 2018  路  2Comments  路  Source: vuejs/vetur

  • [x] I have searched through existing issues
  • [x] I have read through docs
  • [x] I have read FAQ

Info

  • Platform: Linux
  • Vetur version: 0.12.6
  • VS Code version: 1.26.1

Problem

On _some files_ (could not determine why) the style linting fails. Style tags conaining scss rules are linted as css ones. This false negatives are raised.

selection_124

Reproducible Case

Can't really say how to achieve this. I get this "randomly" on Vue components that use SCSS in style tags.

invalid

Most helpful comment

lang="scss", not type.

All 2 comments

lang="scss", not type.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings