refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -68,15 +68,15 @@ const onAction = ({
v-if="props.workflowVersion"
:workflow="workflowVersionPreview"
:loading="props.isListLoading"
loaderType="spinner"
loader-type="spinner"
/>
<ul :class="$style.info">
<workflow-history-list-item
:class="$style.card"
<WorkflowHistoryListItem
v-if="props.workflowVersion"
:class="$style.card"
:index="-1"
:item="props.workflowVersion"
:isActive="false"
:is-active="false"
:actions="actions"
@action="onAction"
>
@@ -110,7 +110,7 @@ const onAction = ({
<n8n-icon class="ml-3xs" icon="chevron-down" size="small" />
</n8n-button>
</template>
</workflow-history-list-item>
</WorkflowHistoryListItem>
</ul>
</div>
</template>

View File

@@ -105,13 +105,13 @@ const onItemMounted = ({
</script>
<template>
<ul :class="$style.list" ref="listElement" data-test-id="workflow-history-list">
<workflow-history-list-item
<ul ref="listElement" :class="$style.list" data-test-id="workflow-history-list">
<WorkflowHistoryListItem
v-for="(item, index) in props.items"
:key="item.versionId"
:index="index"
:item="item"
:isActive="item.versionId === props.activeItem?.versionId"
:is-active="item.versionId === props.activeItem?.versionId"
:actions="getActions(index)"
@action="onAction"
@preview="onPreview"

View File

@@ -99,7 +99,7 @@ onMounted(() => {
[$style.actionsVisible]: actionsVisible,
}"
>
<slot :formattedCreatedAt="formattedCreatedAt">
<slot :formatted-created-at="formattedCreatedAt">
<p @click="onItemClick">
<time :datetime="item.createdAt">{{ formattedCreatedAt }}</time>
<n8n-tooltip

View File

@@ -60,8 +60,8 @@ const closeModal = () => {
<div :class="$style.footer">
<n8n-button
v-for="(button, index) in props.data.buttons"
size="medium"
:key="index"
size="medium"
:type="button.type"
@click="
() => {