Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint: no-useless-v-bind and fixes
  • Loading branch information
DrJKL committed Dec 10, 2025
commit a774d7160caa8c724b4118fb506fc2bc4429ffa1
2 changes: 1 addition & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ export default defineConfig([
'vue/match-component-import-name': 'error',
'vue/no-unused-properties': 'error',
'vue/no-useless-mustaches': 'error',
'vue/no-useless-v-bind': 'error',
/* Toggle on to do additional until we can clean up existing violations.
'vue/no-unused-emit-declarations': 'error',
'vue/no-unused-refs': 'error',
'vue/no-use-v-else-with-v-for': 'error',
'vue/no-useless-v-bind': 'error',
// */
'vue/one-component-per-file': 'off', // TODO: fix
'vue/require-default-prop': 'off', // TODO: fix -- this one is very worthwhile
Expand Down
2 changes: 1 addition & 1 deletion src/components/breadcrumb/SubgraphBreadcrumbItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class="icon-[lucide--triangle-alert] text-warning-background"
/>
<span class="p-breadcrumb-item-label px-2">{{ item.label }}</span>
<Tag v-if="item.isBlueprint" :value="'Blueprint'" severity="primary" />
<Tag v-if="item.isBlueprint" value="Blueprint" severity="primary" />
<i v-if="isActive" class="pi pi-angle-down text-[10px]"></i>
</a>
<Menu
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/content/ErrorDialogContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
icon="pi pi-exclamation-circle"
:title="title"
:message="error.exceptionMessage"
:text-class="'break-words max-w-[60vw]'"
text-class="break-words max-w-[60vw]"
/>
<template v-if="error.extensionFile">
<span>{{ t('errorDialog.extensionFileHint') }}:</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/graph/selectionToolbox/NodeOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<Popover
ref="popover"
:append-to="'body'"
append-to="body"
:auto-z-index="true"
:base-z-index="1000"
:dismissable="true"
Expand Down
3 changes: 1 addition & 2 deletions src/components/queue/CompletionSummaryBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
<span class="inline-flex items-center gap-2">
<span v-if="props.mode === 'allFailed'" class="inline-flex items-center">
<i
class="ml-1 icon-[lucide--circle-alert] block size-4 leading-none"
:class="'text-destructive-background'"
class="ml-1 icon-[lucide--circle-alert] block size-4 leading-none text-destructive-background"
/>
</span>

Expand Down
2 changes: 1 addition & 1 deletion src/components/searchbox/NodeSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
auto-option-focus
force-selection
multiple
:option-label="'display_name'"
option-label="display_name"
@complete="search($event.query)"
@option-select="onAddNode($event.value)"
@focused-option-changed="setHoverSuggestion($event)"
Expand Down
2 changes: 1 addition & 1 deletion src/platform/assets/components/MediaAssetSortButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<Popover
ref="popover"
:append-to="'body'"
append-to="body"
:auto-z-index="true"
:base-z-index="1000"
:dismissable="true"
Expand Down