Is there a way to enforce linting on the <style>
segment within a .vue
file while coding? I have set up
eslint (with airbnb ruleset)+prettier
for the <template>
and <script>
sections, which includes some auto-correction upon saving, but I'm unable to apply the same for the style section.
How can I transform this
.range-color {
display: inline-block;
width: 15px;
height: 15px;
vertical-align: middle;
margin: 5px 5px 8px 0;
}
into this
.range-color {
display: inline-block;
width: 15px;
height: 15px;
vertical-align: middle;
margin: 5px 5px 8px 0;
}