mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
refactor: Remove unused disable directives from nodes-base
(#10825)
This commit is contained in:
parent
0e61d7c2e8
commit
a7ed8ee909
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable n8n-nodes-base/node-dirname-against-convention */
|
||||
import {
|
||||
NodeOperationError,
|
||||
NodeConnectionType,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -82,7 +82,7 @@ const versionDescription: INodeTypeDescription = {
|
|||
activationHint:
|
||||
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
||||
|
||||
inputs: [],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
|
|
|
@ -86,7 +86,7 @@ const versionDescription: INodeTypeDescription = {
|
|||
activationHint:
|
||||
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
||||
|
||||
inputs: [],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||||
import {
|
||||
type IExecuteFunctions,
|
||||
type IDataObject,
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
{
|
||||
|
|
|
@ -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: [
|
||||
{
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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: [
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue