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:
Iván Ovejero
2022-05-06 23:01:25 +02:00
committed by GitHub
parent 1ef10dd23f
commit 63b6c9f128
689 changed files with 6828 additions and 6935 deletions

View File

@@ -53,7 +53,7 @@ export const leadOperations: INodeProperties[] = [
{
name: 'Get Summary',
value: 'getSummary',
description: `Returns an overview of Lead's metadata`,
description: 'Returns an overview of Lead\'s metadata',
},
{
name: 'Update',
@@ -93,7 +93,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: `The field to check to see if the lead already exists`,
description: 'The field to check to see if the lead already exists',
},
{
displayName: 'Value to Match',
@@ -177,14 +177,14 @@ export const leadFields: INodeProperties[] = [
numberPrecision: 2,
},
default: '',
description: 'Annual revenue for the company of the lead.',
description: 'Annual revenue for the company of the lead',
},
{
displayName: 'City',
name: 'city',
type: 'string',
default: '',
description: 'City for the address of the lead.',
description: 'City for the address of the lead',
},
{
displayName: 'Custom Fields',
@@ -194,7 +194,7 @@ export const leadFields: INodeProperties[] = [
typeOptions: {
multipleValues: true,
},
description: 'Filter by custom fields ',
description: 'Filter by custom fields',
default: {},
options: [
{
@@ -209,14 +209,14 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getCustomFields',
},
default: '',
description: 'The ID of the field to add custom field to.',
description: 'The ID of the field to add custom field to',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'The value to set on custom field.',
description: 'The value to set on custom field',
},
],
},
@@ -230,14 +230,14 @@ export const leadFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: 'Description of the lead.',
description: 'Description of the lead',
},
{
displayName: 'Email',
name: 'email',
type: 'string',
default: '',
description: 'Email address for the lead.',
description: 'Email address for the lead',
},
{
displayName: 'Fist Name',
@@ -251,7 +251,7 @@ export const leadFields: INodeProperties[] = [
name: 'industry',
type: 'string',
default: '',
description: 'Website for the lead.',
description: 'Website for the lead',
},
{
displayName: 'Is Unread By Owner',
@@ -275,14 +275,14 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadSources',
},
default: '',
description: 'Source from which the lead was obtained.',
description: 'Source from which the lead was obtained',
},
{
displayName: 'Mobile Phone',
name: 'mobilePhone',
type: 'string',
default: '',
description: `Contacts mobile phone number.`,
description: 'Contacts mobile phone number',
},
{
displayName: 'Number Of Employees',
@@ -299,14 +299,14 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadOwners',
},
default: '',
description: 'The owner of the lead.',
description: 'The owner of the lead',
},
{
displayName: 'Phone',
name: 'phone',
type: 'string',
default: '',
description: 'Phone number for the lead.',
description: 'Phone number for the lead',
},
{
displayName: 'Postal Code',
@@ -329,21 +329,21 @@ export const leadFields: INodeProperties[] = [
name: 'rating',
type: 'string',
default: '',
description: 'Rating of the lead.',
description: 'Rating of the lead',
},
{
displayName: 'Salutation',
name: 'salutation',
type: 'string',
default: '',
description: 'Salutation for the lead.',
description: 'Salutation for the lead',
},
{
displayName: 'State',
name: 'state',
type: 'string',
default: '',
description: 'State for the address of the lead.',
description: 'State for the address of the lead',
},
{
displayName: 'Status',
@@ -353,28 +353,28 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadStatuses',
},
default: '',
description: 'Status code for this converted lead.',
description: 'Status code for this converted lead',
},
{
displayName: 'Street',
name: 'street',
type: 'string',
default: '',
description: 'Street number and name for the address of the lead.',
description: 'Street number and name for the address of the lead',
},
{
displayName: 'Title',
name: 'title',
type: 'string',
default: '',
description: 'Title for the lead, for example CFO or CEO.',
description: 'Title for the lead, for example CFO or CEO',
},
{
displayName: 'Website',
name: 'website',
type: 'string',
default: '',
description: 'Website for the lead.',
description: 'Website for the lead',
},
],
},
@@ -398,7 +398,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of Lead that needs to be fetched.',
description: 'ID of Lead that needs to be fetched',
},
{
displayName: 'Update Fields',
@@ -425,14 +425,14 @@ export const leadFields: INodeProperties[] = [
numberPrecision: 2,
},
default: '',
description: 'Annual revenue for the company of the lead.',
description: 'Annual revenue for the company of the lead',
},
{
displayName: 'City',
name: 'city',
type: 'string',
default: '',
description: 'City for the address of the lead.',
description: 'City for the address of the lead',
},
{
displayName: 'Company',
@@ -449,7 +449,7 @@ export const leadFields: INodeProperties[] = [
typeOptions: {
multipleValues: true,
},
description: 'Filter by custom fields ',
description: 'Filter by custom fields',
default: {},
options: [
{
@@ -464,14 +464,14 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getCustomFields',
},
default: '',
description: 'The ID of the field to add custom field to.',
description: 'The ID of the field to add custom field to',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'The value to set on custom field.',
description: 'The value to set on custom field',
},
],
},
@@ -485,14 +485,14 @@ export const leadFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: 'Description of the lead.',
description: 'Description of the lead',
},
{
displayName: 'Email',
name: 'email',
type: 'string',
default: '',
description: 'Email address for the lead.',
description: 'Email address for the lead',
},
{
displayName: 'Fist Name',
@@ -506,7 +506,7 @@ export const leadFields: INodeProperties[] = [
name: 'industry',
type: 'string',
default: '',
description: 'Website for the lead.',
description: 'Website for the lead',
},
{
displayName: 'Is Unread By Owner',
@@ -537,14 +537,14 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadSources',
},
default: '',
description: 'Source from which the lead was obtained.',
description: 'Source from which the lead was obtained',
},
{
displayName: 'Mobile Phone',
name: 'mobilePhone',
type: 'string',
default: '',
description: `Contacts mobile phone number.`,
description: 'Contacts mobile phone number',
},
{
displayName: 'Number Of Employees',
@@ -561,7 +561,7 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadOwners',
},
default: '',
description: 'The owner of the lead.',
description: 'The owner of the lead',
},
{
displayName: 'Postal Code',
@@ -575,7 +575,7 @@ export const leadFields: INodeProperties[] = [
name: 'phone',
type: 'string',
default: '',
description: 'Phone number for the lead.',
description: 'Phone number for the lead',
},
{
displayName: 'Record Type ID',
@@ -591,21 +591,21 @@ export const leadFields: INodeProperties[] = [
name: 'rating',
type: 'string',
default: '',
description: 'Rating of the lead.',
description: 'Rating of the lead',
},
{
displayName: 'Salutation',
name: 'salutation',
type: 'string',
default: '',
description: 'Salutation for the lead.',
description: 'Salutation for the lead',
},
{
displayName: 'State',
name: 'state',
type: 'string',
default: '',
description: 'State for the address of the lead.',
description: 'State for the address of the lead',
},
{
displayName: 'Status',
@@ -615,28 +615,28 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadStatuses',
},
default: '',
description: 'Status code for this converted lead.',
description: 'Status code for this converted lead',
},
{
displayName: 'Street',
name: 'street',
type: 'string',
default: '',
description: 'Street number and name for the address of the lead.',
description: 'Street number and name for the address of the lead',
},
{
displayName: 'Title',
name: 'title',
type: 'string',
default: '',
description: 'Title for the lead, for example CFO or CEO.',
description: 'Title for the lead, for example CFO or CEO',
},
{
displayName: 'Website',
name: 'website',
type: 'string',
default: '',
description: 'Website for the lead.',
description: 'Website for the lead',
},
],
},
@@ -660,7 +660,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of Lead that needs to be fetched.',
description: 'ID of Lead that needs to be fetched',
},
/* -------------------------------------------------------------------------- */
@@ -682,7 +682,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of Lead that needs to be fetched.',
description: 'ID of Lead that needs to be fetched',
},
/* -------------------------------------------------------------------------- */
@@ -703,7 +703,7 @@ export const leadFields: 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',
@@ -727,7 +727,7 @@ export const leadFields: INodeProperties[] = [
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -754,7 +754,7 @@ export const leadFields: INodeProperties[] = [
typeOptions: {
multipleValues: true,
},
description: 'The condition to set.',
description: 'The condition to set',
default: {},
options: [
{
@@ -769,7 +769,7 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getLeadFields',
},
default: '',
description: 'For date, number, or boolean, please use expressions.',
description: 'For date, number, or boolean, please use expressions',
},
{
displayName: 'Operation',
@@ -838,7 +838,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of contact that needs to be fetched.',
description: 'ID of contact that needs to be fetched',
},
{
displayName: 'Campaign',
@@ -859,7 +859,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of the campaign that needs to be fetched.',
description: 'ID of the campaign that needs to be fetched',
},
{
displayName: 'Options',
@@ -883,7 +883,7 @@ export const leadFields: INodeProperties[] = [
name: 'status',
type: 'string',
default: '',
description: 'Controls the HasResponded flag on this object.',
description: 'Controls the HasResponded flag on this object',
},
],
},
@@ -907,7 +907,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'ID of lead that needs to be fetched.',
description: 'ID of lead that needs to be fetched',
},
{
displayName: 'Title',
@@ -925,7 +925,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'Title of the note.',
description: 'Title of the note',
},
{
displayName: 'Options',
@@ -969,7 +969,7 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getUsers',
},
default: '',
description: 'ID of the user who owns the note.',
description: 'ID of the user who owns the note',
},
],
},