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

@@ -60,7 +60,7 @@ export const draftFields: INodeProperties[] = [
},
},
placeholder: 'r-3254521568507167962',
description: 'The ID of the draft to operate on.',
description: 'The ID of the draft to operate on',
},
{
displayName: 'Subject',
@@ -79,7 +79,7 @@ export const draftFields: INodeProperties[] = [
},
},
placeholder: 'Hello World!',
description: 'The message subject.',
description: 'The message subject',
},
{
displayName: 'HTML',
@@ -96,7 +96,7 @@ export const draftFields: INodeProperties[] = [
},
},
default: false,
description: 'Switch ON if the message should also be included as HTML.',
description: 'Switch ON if the message should also be included as HTML',
},
{
displayName: 'HTML Message',
@@ -117,7 +117,7 @@ export const draftFields: INodeProperties[] = [
],
},
},
description: 'The HTML message body.',
description: 'The HTML message body',
},
{
displayName: 'Message',
@@ -165,13 +165,13 @@ export const draftFields: INodeProperties[] = [
multipleValueButtonText: 'Add To Email',
},
placeholder: 'info@example.com',
description: 'The email addresses of the recipients.',
description: 'The email addresses of the recipients',
},
{
displayName: 'CC Email',
name: 'ccList',
type: 'string',
description: 'The email addresses of the copy recipients.',
description: 'The email addresses of the copy recipients',
typeOptions: {
multipleValues: true,
multipleValueButtonText: 'Add CC Email',
@@ -183,7 +183,7 @@ export const draftFields: INodeProperties[] = [
displayName: 'BCC Email',
name: 'bccList',
type: 'string',
description: 'The email addresses of the blind copy recipients.',
description: 'The email addresses of the blind copy recipients',
typeOptions: {
multipleValues: true,
multipleValueButtonText: 'Add BCC Email',
@@ -209,13 +209,13 @@ export const draftFields: INodeProperties[] = [
name: 'property',
type: 'string',
default: '',
description: `Name of the binary property containing the data to be added to the email as an attachment. Multiple properties can be set separated by comma.`,
description: 'Name of the binary property containing the data to be added to the email as an attachment. Multiple properties can be set separated by comma.',
},
],
},
],
default: {},
description: 'Array of supported attachments to add to the message.',
description: 'Array of supported attachments to add to the message',
},
],
},
@@ -266,7 +266,7 @@ export const draftFields: INodeProperties[] = [
{
name: 'Metadata',
value: 'metadata',
description: 'Returns only email message ID, labels, and email headers.',
description: 'Returns only email message ID, labels, and email headers',
},
{
name: 'Minimal',
@@ -276,12 +276,12 @@ export const draftFields: INodeProperties[] = [
{
name: 'RAW',
value: 'raw',
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used',
},
{
name: 'Resolved',
value: 'resolved',
description: 'Returns the full email with all data resolved and attachments saved as binary data.',
description: 'Returns the full email with all data resolved and attachments saved as binary data',
},
],
default: 'resolved',
@@ -308,7 +308,7 @@ export const draftFields: 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',
@@ -332,7 +332,7 @@ export const draftFields: INodeProperties[] = [
maxValue: 500,
},
default: 10,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Additional Fields',
@@ -387,7 +387,7 @@ export const draftFields: INodeProperties[] = [
{
name: 'Metadata',
value: 'metadata',
description: 'Returns only email message ID, labels, and email headers.',
description: 'Returns only email message ID, labels, and email headers',
},
{
name: 'Minimal',
@@ -397,12 +397,12 @@ export const draftFields: INodeProperties[] = [
{
name: 'RAW',
value: 'raw',
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used',
},
{
name: 'Resolved',
value: 'resolved',
description: 'Returns the full email with all data resolved and attachments saved as binary data.',
description: 'Returns the full email with all data resolved and attachments saved as binary data',
},
],
default: 'resolved',
@@ -413,7 +413,7 @@ export const draftFields: INodeProperties[] = [
name: 'includeSpamTrash',
type: 'boolean',
default: false,
description: 'Include messages from SPAM and TRASH in the results.',
description: 'Include messages from SPAM and TRASH in the results',
},
],
},