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

@@ -178,32 +178,32 @@ export class Freshdesk implements INodeType {
{
name: 'Email',
value: 'email',
description: `Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.`,
description: 'Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.',
},
{
name: 'Facebook Id',
value: 'facebookId',
description: `Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created.`,
description: 'Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created.',
},
{
name: 'Phone',
value: 'phone',
description: `Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory.`,
description: 'Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory.',
},
{
name: 'Requester Id',
value: 'requesterId',
description: `User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email.`,
description: 'User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester\'s email.',
},
{
name: 'Twitter Id',
value: 'twitterId',
description: `Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact.`,
description: 'Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact.',
},
{
name: 'Unique External Id',
value: 'uniqueExternalId',
description: `External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact.`,
description: 'External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact.',
},
],
default: 'requesterId',
@@ -224,7 +224,7 @@ export class Freshdesk implements INodeType {
},
},
default: '',
description: `Value of the identification selected `,
description: 'Value of the identification selected',
},
{
displayName: 'Status',
@@ -343,7 +343,7 @@ export class Freshdesk implements INodeType {
},
],
default: 'portal',
description: 'The channel through which the ticket was created.',
description: 'The channel through which the ticket was created',
},
// {
// displayName: 'JSON Parameters',
@@ -394,7 +394,7 @@ export class Freshdesk implements INodeType {
name: 'ccEmails',
type: 'string',
default: '',
description: `Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email`,
description: 'Separated by a comma (,) email addresses added in the \'cc\' field of the incoming ticket email',
},
{
displayName: 'Company',
@@ -415,28 +415,28 @@ export class Freshdesk implements INodeType {
rows: 5,
alwaysOpenEditWindow: true,
},
description: 'HTML content of the ticket.',
description: 'HTML content of the ticket',
},
{
displayName: 'Due By',
name: 'dueBy',
type: 'dateTime',
default: '',
description: `Timestamp that denotes when the ticket is due to be resolved`,
description: 'Timestamp that denotes when the ticket is due to be resolved',
},
{
displayName: 'Email config Id',
name: 'emailConfigId',
type: 'number',
default: '',
description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set',
description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set.',
},
{
displayName: 'FR Due By',
name: 'frDueBy',
type: 'dateTime',
default: '',
description: `Timestamp that denotes when the first response is due`,
description: 'Timestamp that denotes when the first response is due',
},
{
displayName: 'Group',
@@ -472,21 +472,21 @@ export class Freshdesk implements INodeType {
type: 'string',
default: '',
placeholder: '',
description: 'Subject of the ticket.',
description: 'Subject of the ticket',
},
{
displayName: 'Tags',
name: 'tags',
type: 'string',
default: '',
description: `separated by a comma (,) tags that have been associated with the ticket`,
description: 'separated by a comma (,) tags that have been associated with the ticket',
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: 'Question',
description: 'Helps categorize the ticket according to the different kinds of issues your support team deals with.',
description: 'Helps categorize the ticket according to the different kinds of issues your support team deals with',
options: [
{
name: 'Feature Request',
@@ -635,7 +635,7 @@ export class Freshdesk implements INodeType {
name: 'ccEmails',
type: 'string',
default: '',
description: `Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email`,
description: 'Separated by a comma (,) email addresses added in the \'cc\' field of the incoming ticket email',
},
{
displayName: 'Company',
@@ -652,21 +652,21 @@ export class Freshdesk implements INodeType {
name: 'dueBy',
type: 'dateTime',
default: '',
description: `Timestamp that denotes when the ticket is due to be resolved`,
description: 'Timestamp that denotes when the ticket is due to be resolved',
},
{
displayName: 'Email config Id',
name: 'emailConfigId',
type: 'number',
default: '',
description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set',
description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set.',
},
{
displayName: 'FR Due By',
name: 'frDueBy',
type: 'dateTime',
default: '',
description: `Timestamp that denotes when the first response is due`,
description: 'Timestamp that denotes when the first response is due',
},
{
displayName: 'Group',
@@ -729,32 +729,32 @@ export class Freshdesk implements INodeType {
{
name: 'Email',
value: 'email',
description: `Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.`,
description: 'Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.',
},
{
name: 'Facebook Id',
value: 'facebookId',
description: `Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created.`,
description: 'Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created.',
},
{
name: 'Phone',
value: 'phone',
description: `Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory.`,
description: 'Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory.',
},
{
name: 'Requester Id',
value: 'requesterId',
description: `User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email.`,
description: 'User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester\'s email.',
},
{
name: 'Twitter Id',
value: 'twitterId',
description: `Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact.`,
description: 'Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact.',
},
{
name: 'Unique External Id',
value: 'uniqueExternalId',
description: `External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact.`,
description: 'External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact.',
},
],
default: 'requesterId',
@@ -764,7 +764,7 @@ export class Freshdesk implements INodeType {
name: 'requesterIdentificationValue',
type: 'string',
default: '',
description: `Value of the identification selected `,
description: 'Value of the identification selected',
},
{
displayName: 'Status',
@@ -828,21 +828,21 @@ export class Freshdesk implements INodeType {
},
],
default: 'portal',
description: 'The channel through which the ticket was created.',
description: 'The channel through which the ticket was created',
},
{
displayName: 'Tags',
name: 'tags',
type: 'string',
default: '',
description: `separated by a comma (,) tags that have been associated with the ticket`,
description: 'separated by a comma (,) tags that have been associated with the ticket',
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: 'Question',
description: 'Helps categorize the ticket according to the different kinds of issues your support team deals with.',
description: 'Helps categorize the ticket according to the different kinds of issues your support team deals with',
options: [
{
name: 'Feature Request',
@@ -900,7 +900,7 @@ export class Freshdesk implements INodeType {
},
},
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',
@@ -924,7 +924,7 @@ export class Freshdesk implements INodeType {
maxValue: 10,
},
default: 5,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -988,7 +988,7 @@ export class Freshdesk implements INodeType {
},
],
default: 'desc',
description: 'Order sort attribute ascending or descending.',
description: 'Order sort attribute ascending or descending',
},
{
displayName: 'Order By',
@@ -1009,7 +1009,7 @@ export class Freshdesk implements INodeType {
},
],
default: '',
description: 'Sort collection by object attribute.',
description: 'Sort collection by object attribute',
},
{
displayName: 'Requester Email',