Open ghost opened 7 years ago
When using this processor with .vue files it seems to parse the styles as css. Most of the stylelint rules work but it fails to parse things like double slashes comments, which causes code like
.vue
<style lang='scss'> // comment .foo { color: #ffffff; } </style>
to warn about an unknown // selector. Is it possible to parse code inside <style> tags as scss?
//
<style>
Try
stylelint --syntax scss --config .stylelintrc *.scss
When using this processor with
.vue
files it seems to parse the styles as css. Most of the stylelint rules work but it fails to parse things like double slashes comments, which causes code liketo warn about an unknown
//
selector. Is it possible to parse code inside<style>
tags as scss?