Fix TypeError for baseIndentLevel: 1
option and vue file in indentation
#5677
Labels
status: wip
is being worked on by someone
syntax: html
relates to HTML style tags and attributes
type: bug
a problem with a feature or rule
Hey, guys! I'm sorry if it is a repetition of another issue, but I couldn't anything related to the problem I'm facing.
I got a javascript error when trying to use
stylelint
andpostcss-html
to lint.vue
files (I believe this might happens on html files too) with theindentation
rule configured to have abaseIndentLevel: 1
.A simple single file component is enough to see the bug happening.
CLI with
./node_modules/.bin/stylelint **/*.{vue,css,scss}
Yes, it's related to CSS/SCSS inside HTML syntax.
I was expecting the normal validation with a stylelint error when the root css code was in the same indentation level as the style tag.
I got this error:
The text was updated successfully, but these errors were encountered: