mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export class ConvertKitTrigger implements INodeType {
|
||||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The events that can trigger the webhook and whether they are enabled.',
|
||||
description: 'The events that can trigger the webhook and whether they are enabled',
|
||||
options: [
|
||||
{
|
||||
name: 'Form Subscribe',
|
||||
|
||||
@@ -59,7 +59,7 @@ export const customFieldFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of your custom field.',
|
||||
description: 'The ID of your custom field',
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
@@ -78,7 +78,7 @@ export const customFieldFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The label of the custom field.',
|
||||
description: 'The label of the custom field',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -95,7 +95,7 @@ export const customFieldFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -119,6 +119,6 @@ export const customFieldFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -32,7 +32,7 @@ export const formOperations: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'addSubscriber',
|
||||
description: 'The operations to perform.',
|
||||
description: 'The operations to perform',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -74,7 +74,7 @@ export const formFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `The subscriber's email address.`,
|
||||
description: 'The subscriber\'s email address',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -97,7 +97,7 @@ export const formFields: INodeProperties[] = [
|
||||
displayName: 'Custom Fields',
|
||||
name: 'fieldsUi',
|
||||
placeholder: 'Add Custom Field',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here).',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here)',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -114,7 +114,7 @@ export const formFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'last_name',
|
||||
description: `The field's key.`,
|
||||
description: 'The field\'s key',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
@@ -122,7 +122,7 @@ export const formFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'Doe',
|
||||
description: 'Value of the field.',
|
||||
description: 'Value of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -133,7 +133,7 @@ export const formFields: INodeProperties[] = [
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The subscriber's first name.`,
|
||||
description: 'The subscriber\'s first name',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -153,7 +153,7 @@ export const formFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -178,7 +178,7 @@ export const formFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -214,6 +214,6 @@ export const formFields: INodeProperties[] = [
|
||||
default: 'active',
|
||||
},
|
||||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
description: 'Receive only active subscribers or cancelled subscribers',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -32,7 +32,7 @@ export const sequenceOperations: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'addSubscriber',
|
||||
description: 'The operations to perform.',
|
||||
description: 'The operations to perform',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -74,7 +74,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `The subscriber's email address.`,
|
||||
description: 'The subscriber\'s email address',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -92,7 +92,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -117,7 +117,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -140,7 +140,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
displayName: 'Custom Fields',
|
||||
name: 'fieldsUi',
|
||||
placeholder: 'Add Custom Field',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here).',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here)',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -157,7 +157,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'last_name',
|
||||
description: `The field's key.`,
|
||||
description: 'The field\'s key',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
@@ -165,7 +165,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'Doe',
|
||||
description: 'Value of the field.',
|
||||
description: 'Value of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -176,7 +176,7 @@ export const sequenceFields: INodeProperties[] = [
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The subscriber's first name.`,
|
||||
description: 'The subscriber\'s first name',
|
||||
},
|
||||
{
|
||||
displayName: 'Tag IDs',
|
||||
@@ -224,6 +224,6 @@ export const sequenceFields: INodeProperties[] = [
|
||||
default: 'active',
|
||||
},
|
||||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
description: 'Receive only active subscribers or cancelled subscribers',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -65,7 +65,7 @@ export const tagFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -89,6 +89,6 @@ export const tagFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -76,7 +76,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Subscriber email address.',
|
||||
description: 'Subscriber email address',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -99,7 +99,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
displayName: 'Custom Fields',
|
||||
name: 'fields',
|
||||
placeholder: 'Add Custom Field',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here).',
|
||||
description: 'Object of key/value pairs for custom fields (the custom field must exist before you can use it here)',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -116,7 +116,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'last_name',
|
||||
description: `The field's key.`,
|
||||
description: 'The field\'s key',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
@@ -124,7 +124,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'Doe',
|
||||
description: 'Value of the field.',
|
||||
description: 'Value of the field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -135,7 +135,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subscriber first name.',
|
||||
description: 'Subscriber first name',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -154,7 +154,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -178,7 +178,7 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -214,6 +214,6 @@ export const tagSubscriberFields: INodeProperties[] = [
|
||||
default: 'active',
|
||||
},
|
||||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
description: 'Receive only active subscribers or cancelled subscribers',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user