refactor: Remove unused disable directives from nodes-base (#10825)

This commit is contained in:
Iván Ovejero 2024-09-16 10:58:32 +02:00 committed by GitHub
parent 0e61d7c2e8
commit a7ed8ee909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 17 additions and 20 deletions

View file

@ -1,4 +1,3 @@
/* eslint-disable n8n-nodes-base/node-dirname-against-convention */
import {
NodeOperationError,
NodeConnectionType,

View file

@ -22,11 +22,11 @@ export class CompareDatasets implements INodeType {
version: [1, 2, 2.1, 2.2, 2.3],
description: 'Compare two inputs for changes',
defaults: { name: 'Compare Datasets' },
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [NodeConnectionType.Main, NodeConnectionType.Main],
inputNames: ['Input A', 'Input B'],
requiredInputs: 1,
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
outputs: [
NodeConnectionType.Main,
NodeConnectionType.Main,

View file

@ -23,7 +23,7 @@ export class Cron implements INodeType {
name: 'Cron',
color: '#29a568',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
properties: [

View file

@ -82,7 +82,7 @@ const versionDescription: INodeTypeDescription = {
activationHint:
"Once youve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just wont see those executions here).",
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
credentials: [

View file

@ -86,7 +86,7 @@ const versionDescription: INodeTypeDescription = {
activationHint:
"Once youve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just wont see those executions here).",
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
credentials: [

View file

@ -27,7 +27,7 @@ const descriptionV1: INodeTypeDescription = {
defaults: {
name: 'n8n Form Trigger',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
webhooks: [

View file

@ -38,7 +38,7 @@ const descriptionV2: INodeTypeDescription = {
defaults: {
name: 'n8n Form Trigger',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
webhooks: [

View file

@ -1,4 +1,3 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import {
type IExecuteFunctions,
type IDataObject,

View file

@ -22,7 +22,7 @@ export class Interval implements INodeType {
name: 'Interval',
color: '#00FF00',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
properties: [

View file

@ -20,7 +20,7 @@ export class SplitInBatchesV2 implements INodeType {
color: '#007755',
},
inputs: [NodeConnectionType.Main],
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
outputs: [NodeConnectionType.Main, NodeConnectionType.Main],
outputNames: ['loop', 'done'],
properties: [

View file

@ -21,7 +21,7 @@ export class SplitInBatchesV3 implements INodeType {
color: '#007755',
},
inputs: [NodeConnectionType.Main],
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
outputs: [NodeConnectionType.Main, NodeConnectionType.Main],
outputNames: ['done', 'loop'],
properties: [

View file

@ -20,7 +20,7 @@ export class Start implements INodeType {
name: 'Start',
color: '#00e000',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
properties: [

View file

@ -17,9 +17,9 @@ export class StickyNote implements INodeType {
name: 'Sticky Note',
color: '#FFD233',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
outputs: [],
properties: [
{

View file

@ -26,7 +26,7 @@ export class StopAndError implements INodeType {
color: '#ff0000',
},
inputs: [NodeConnectionType.Main],
// eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong
outputs: [],
properties: [
{

View file

@ -26,7 +26,7 @@ export class WebflowTriggerV1 implements INodeType {
defaults: {
name: 'Webflow Trigger',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
credentials: [

View file

@ -26,7 +26,7 @@ export class WebflowTriggerV2 implements INodeType {
defaults: {
name: 'Webflow Trigger',
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: [NodeConnectionType.Main],
credentials: [

View file

@ -65,7 +65,7 @@ export class Webhook extends Node {
activationHint:
"Once you've finished building your workflow, run it without having to click this button by using the production webhook URL.",
},
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
inputs: [],
outputs: `={{(${configuredOutputs})($parameter)}}`,
credentials: credentialsProperty(this.authPropertyName),

View file

@ -43,7 +43,6 @@ export const looseTypeValidationProperty: INodeProperties = {
};
export const appendAttributionOption: INodeProperties = {
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
displayName: 'Append n8n Attribution',
name: 'appendAttribution',
type: 'boolean',