refactor: Remove unused lint directives (no-changelog) (#9842)

This commit is contained in:
Iván Ovejero
2024-06-24 12:13:18 +02:00
committed by GitHub
parent 16d3083af7
commit 44ea4c73eb
92 changed files with 85 additions and 138 deletions

View File

@@ -22,7 +22,9 @@ Range.prototype.getClientRects = vi.fn(() => ({
export class IntersectionObserver {
root = null;
rootMargin = '';
thresholds = [];
disconnect() {

View File

@@ -38,8 +38,8 @@
:message="$locale.baseText('credentialEdit.credentialConfig.accountConnected')"
:button-label="$locale.baseText('credentialEdit.credentialConfig.reconnect')"
:button-title="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
@click="$emit('oauth')"
data-test-id="oauth-connect-success-banner"
@click="$emit('oauth')"
>
<template v-if="isGoogleOAuthType" #button>
<p
@@ -118,8 +118,8 @@
isOAuthType && requiredPropertiesFilled && !isOAuthConnected && credentialPermissions.update
"
:is-google-o-auth-type="isGoogleOAuthType"
@click="$emit('oauth')"
data-test-id="oauth-connect-button"
@click="$emit('oauth')"
/>
<n8n-text v-if="isMissingCredentials" color="text-base" size="medium">

View File

@@ -665,7 +665,7 @@ export default defineComponent({
};
}
this.credentialName = currentCredentials.name as string;
this.credentialName = currentCredentials.name;
} catch (error) {
this.showError(
error,

View File

@@ -48,7 +48,7 @@ async function onUpdateConnected(value: boolean) {
if (props.beforeUpdate) {
const result = await props.beforeUpdate(value);
if (result === false) {
if (!result) {
saving.value = false;
return;
}

View File

@@ -154,7 +154,7 @@ watch(
</div>
</div>
<div v-else :class="$style.email">
<div :class="$style.input" @keyup.enter="send" data-test-id="nps-survey-email">
<div :class="$style.input" data-test-id="nps-survey-email" @keyup.enter="send">
<n8n-input
v-model="form.email"
:placeholder="YOUR_EMAIL_ADDRESS"

View File

@@ -86,7 +86,7 @@ import { toRefs } from '@vueuse/core';
// ---------------------------------------------------------------------------
const props = defineProps<{
reportError: Boolean;
reportError: boolean;
}>();
// #endregion