mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -70,7 +70,7 @@ export const contactFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The email of the contact to create.',
|
||||
description: 'The email of the contact to create',
|
||||
},
|
||||
{
|
||||
displayName: 'Update if exists',
|
||||
@@ -110,7 +110,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Custom Fields',
|
||||
name: 'fieldValues',
|
||||
placeholder: 'Add Custom Fields',
|
||||
description: 'Adds a custom fields to set also values which have not been predefined.',
|
||||
description: 'Adds a custom fields to set also values which have not been predefined',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -129,14 +129,14 @@ export const contactFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getContactCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the field to set.',
|
||||
description: 'ID of the field to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field to set.',
|
||||
description: 'Value of the field to set',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -147,21 +147,21 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The first name of the contact to create.',
|
||||
description: 'The first name of the contact to create',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
name: 'lastName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The last name of the contact to create.',
|
||||
description: 'The last name of the contact to create',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number of the contact.',
|
||||
description: 'Phone number of the contact',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -185,13 +185,13 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
default: 0,
|
||||
required: true,
|
||||
description: 'ID of the contact to update.',
|
||||
description: 'ID of the contact to update',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
name: 'updateFields',
|
||||
type: 'collection',
|
||||
description: 'The fields to update.',
|
||||
description: 'The fields to update',
|
||||
placeholder: 'Add Field',
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -209,7 +209,7 @@ export const contactFields: INodeProperties[] = [
|
||||
displayName: 'Custom Fields',
|
||||
name: 'fieldValues',
|
||||
placeholder: 'Add Custom Fields',
|
||||
description: 'Adds a custom fields to set also values which have not been predefined.',
|
||||
description: 'Adds a custom fields to set also values which have not been predefined',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -228,14 +228,14 @@ export const contactFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getContactCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the field to set.',
|
||||
description: 'ID of the field to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field to set.',
|
||||
description: 'Value of the field to set',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -246,28 +246,28 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Email of the contact.',
|
||||
description: 'Email of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'First name of the contact.',
|
||||
description: 'First name of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
name: 'lastName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Last name of the contact.',
|
||||
description: 'Last name of the contact',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number of the contact.',
|
||||
description: 'Phone number of the contact',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -291,7 +291,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
default: 0,
|
||||
required: true,
|
||||
description: 'ID of the contact to delete.',
|
||||
description: 'ID of the contact to delete',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -313,7 +313,7 @@ export const contactFields: INodeProperties[] = [
|
||||
},
|
||||
default: 0,
|
||||
required: true,
|
||||
description: 'ID of the contact to get.',
|
||||
description: 'ID of the contact to get',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user