Describe the bug
When using an inline CSS custom property inside a Vue template, autofix rewrites the style attribute into broken formatting.
This happens with a simple inline custom property such as --color: #000.
Reproduction
Minimal example:
<template>
<div class="box" style="--color: #000">
Hello
</div>
</template>
After autofix, it becomes:
<template>
<div
class="box" style="
--color: #000"
>
Hello
</div>
</template>
System Info
System:
OS: macOS v26.4
Binaries:
Node: v22.21.1
npm: v10.9.4
Used Package Manager
npm
Validations
Contributions
Describe the bug
When using an inline CSS custom property inside a Vue template, autofix rewrites the
styleattribute into broken formatting.This happens with a simple inline custom property such as
--color: #000.Reproduction
Minimal example:
After autofix, it becomes:
System Info
Used Package Manager
npm
Validations
Contributions