fix: apply ESLint rule vue/no-static-inline-styles

This commit is contained in:
iamsivin
2024-07-26 08:47:19 +05:30
parent f2946a8a3f
commit 7f520535dd
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -111,6 +111,12 @@ module.exports = {
'vue/no-empty-component-block': 'error',
'vue/no-multiple-objects-in-class': 'error',
'vue/no-root-v-if': 'warn',
'vue/no-static-inline-styles': [
'error',
{
allowBinding: false,
},
],
'vue/no-required-prop-with-default': [
'error',
{
@@ -394,7 +394,7 @@ export default {
name="widget-view-options"
:items="getWidgetViewOptions"
:action="handleWidgetViewChange"
:style="{ 'text-align': 'center' }"
class="text-center"
/>
<div v-if="isWidgetPreview" class="widget-preview">
<Widget