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

@@ -105,7 +105,7 @@ export class AwsSes implements INodeType {
{
name: 'Update',
value: 'update',
description: 'Update an existing custom verification email template.',
description: 'Update an existing custom verification email template',
},
],
default: 'create',
@@ -127,7 +127,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'The email address that the custom verification email is sent from.',
description: 'The email address that the custom verification email is sent from',
default: '',
},
{
@@ -145,7 +145,7 @@ export class AwsSes implements INodeType {
},
},
default: '',
description: 'The name of the custom verification email template.',
description: 'The name of the custom verification email template',
},
{
displayName: 'Template Content',
@@ -164,7 +164,7 @@ export class AwsSes implements INodeType {
],
},
},
description: `The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML`,
description: 'The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML',
default: '',
},
{
@@ -183,7 +183,7 @@ export class AwsSes implements INodeType {
},
default: '',
required: true,
description: 'The subject line of the custom verification email.',
description: 'The subject line of the custom verification email',
},
{
displayName: 'Success Redirection URL',
@@ -200,7 +200,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'The URL that the recipient of the verification email is sent to if his or her address is successfully verified.',
description: 'The URL that the recipient of the verification email is sent to if his or her address is successfully verified',
default: '',
},
{
@@ -218,7 +218,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.',
description: 'The URL that the recipient of the verification email is sent to if his or her address is not successfully verified',
default: '',
},
@@ -238,7 +238,7 @@ export class AwsSes implements INodeType {
},
default: '',
required: true,
description: 'The email address to verify.',
description: 'The email address to verify',
},
{
displayName: 'Template Name',
@@ -256,7 +256,7 @@ export class AwsSes implements INodeType {
},
default: '',
required: true,
description: 'The name of the custom verification email template to use when sending the verification email.',
description: 'The name of the custom verification email template to use when sending the verification email',
},
{
displayName: 'Additional Fields',
@@ -279,7 +279,7 @@ export class AwsSes implements INodeType {
displayName: 'Configuration Set Name',
name: 'configurationSetName',
type: 'string',
description: 'Name of a configuration set to use when sending the verification email.',
description: 'Name of a configuration set to use when sending the verification email',
default: '',
},
],
@@ -302,7 +302,7 @@ export class AwsSes implements INodeType {
},
},
default: '',
description: 'The name of the custom verification email template.',
description: 'The name of the custom verification email template',
},
{
displayName: 'Update Fields',
@@ -325,21 +325,21 @@ export class AwsSes implements INodeType {
displayName: 'Failure Redirection URL',
name: 'failureRedirectionURL',
type: 'string',
description: 'The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.',
description: 'The URL that the recipient of the verification email is sent to if his or her address is not successfully verified',
default: '',
},
{
displayName: 'From Email',
name: 'fromEmailAddress',
type: 'string',
description: 'The email address that the custom verification email is sent from.',
description: 'The email address that the custom verification email is sent from',
default: '',
},
{
displayName: 'Success Redirection URL',
name: 'successRedirectionURL',
type: 'string',
description: 'The URL that the recipient of the verification email is sent to if his or her address is successfully verified.',
description: 'The URL that the recipient of the verification email is sent to if his or her address is successfully verified',
default: '',
},
{
@@ -349,7 +349,7 @@ export class AwsSes implements INodeType {
typeOptions: {
alwaysOpenEditWindow: true,
},
description: `The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML`,
description: 'The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML',
default: '',
},
{
@@ -357,7 +357,7 @@ export class AwsSes implements INodeType {
name: 'templateSubject',
type: 'string',
default: '',
description: 'The subject line of the custom verification email.',
description: 'The subject line of the custom verification email',
},
],
},
@@ -376,12 +376,13 @@ export class AwsSes 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',
name: 'limit',
type: 'number',
description: 'Max number of results to return',
default: 20,
displayOptions: {
show: {
@@ -436,7 +437,7 @@ export class AwsSes implements INodeType {
},
},
default: false,
description: 'If body is HTML or simple text.',
description: 'If body is HTML or simple text',
},
{
displayName: 'Subject',
@@ -473,7 +474,7 @@ export class AwsSes implements INodeType {
},
},
default: '',
description: 'The message to be sent.',
description: 'The message to be sent',
required: true,
},
{
@@ -491,7 +492,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'Email address of the sender.',
description: 'Email address of the sender',
placeholder: 'admin@example.com',
default: '',
},
@@ -499,7 +500,7 @@ export class AwsSes implements INodeType {
displayName: 'To Addresses',
name: 'toAddresses',
type: 'string',
description: 'Email addresses of the recipients.',
description: 'Email addresses of the recipients',
typeOptions: {
multipleValues: true,
multipleValueButtonText: 'Add To Email',
@@ -552,7 +553,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'Email address of the sender.',
description: 'Email address of the sender',
placeholder: 'admin@example.com',
default: '',
},
@@ -560,7 +561,7 @@ export class AwsSes implements INodeType {
displayName: 'To Addresses',
name: 'toAddresses',
type: 'string',
description: 'Email addresses of the recipients.',
description: 'Email addresses of the recipients',
typeOptions: {
multipleValues: true,
multipleValueButtonText: 'Add To Email',
@@ -644,7 +645,7 @@ export class AwsSes implements INodeType {
multipleValues: true,
multipleValueButtonText: 'Add Bcc Email',
},
description: 'Bcc Recipients of the email.',
description: 'Bcc Recipients of the email',
default: [],
},
{
@@ -655,14 +656,14 @@ export class AwsSes implements INodeType {
multipleValues: true,
multipleValueButtonText: 'Add Cc Email',
},
description: 'Cc recipients of the email.',
description: 'Cc recipients of the email',
default: [],
},
{
displayName: 'Configuration Set Name',
name: 'configurationSetName',
type: 'string',
description: 'Name of the configuration set to use when you send an email using send.',
description: 'Name of the configuration set to use when you send an email using send',
default: '',
},
{
@@ -674,7 +675,7 @@ export class AwsSes implements INodeType {
multipleValueButtonText: 'Add Reply To Email',
},
placeholder: 'Add Reply Address',
description: 'Reply-to email address(es) for the message.',
description: 'Reply-to email address(es) for the message',
default: [],
},
{
@@ -695,7 +696,7 @@ export class AwsSes implements INodeType {
displayName: 'Source ARN',
name: 'sourceArn',
type: 'string',
description: 'This parameter is used only for sending authorization.',
description: 'This parameter is used only for sending authorization',
default: '',
},
],
@@ -759,7 +760,7 @@ export class AwsSes implements INodeType {
},
},
required: true,
description: 'The name of the template.',
description: 'The name of the template',
default: '',
},
{
@@ -776,7 +777,7 @@ export class AwsSes implements INodeType {
],
},
},
description: 'The subject line of the email.',
description: 'The subject line of the email',
default: '',
},
{
@@ -793,7 +794,7 @@ export class AwsSes implements INodeType {
],
},
},
description: 'The HTML body of the email.',
description: 'The HTML body of the email',
default: '',
},
{
@@ -817,7 +818,7 @@ export class AwsSes implements INodeType {
displayName: 'Text Part',
name: 'textPart',
type: 'string',
description: 'The email body that will be visible to recipients whose email clients do not display HTML.',
description: 'The email body that will be visible to recipients whose email clients do not display HTML',
default: '',
},
],
@@ -843,21 +844,21 @@ export class AwsSes implements INodeType {
displayName: 'Text Part',
name: 'textPart',
type: 'string',
description: 'The email body that will be visible to recipients whose email clients do not display HTML.',
description: 'The email body that will be visible to recipients whose email clients do not display HTML',
default: '',
},
{
displayName: 'Subject Part',
name: 'subjectPart',
type: 'string',
description: 'The subject line of the email.',
description: 'The subject line of the email',
default: '',
},
{
displayName: 'Html Part',
name: 'htmlPart',
type: 'string',
description: 'The HTML body of the email.',
description: 'The HTML body of the email',
default: '',
},
],
@@ -877,12 +878,13 @@ export class AwsSes 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',
name: 'limit',
type: 'number',
description: 'Max number of results to return',
default: 20,
displayOptions: {
show: {