Fix linting 'scss/function-no-unknown' for 'v-bind'

This commit is contained in:
Wolfgang Huß 2024-03-25 11:32:57 +01:00
parent c92ad9fc94
commit 0ae6db07c6

View File

@ -15,7 +15,8 @@ const props = withDefaults(
<style lang="scss">
.svg-color {
// eslint-disable-next-line scss/function-no-unknown
// there should be a '@use' directive to silent stylelint, but I couldn't find this out
// stylelint-disable function-no-unknown
color: v-bind('props.color');
fill: currentcolor;
stroke: currentcolor;