mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +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:
@@ -18,7 +18,7 @@ export const mailOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Send',
|
||||
value: 'send',
|
||||
description: 'Send an email.',
|
||||
description: 'Send an email',
|
||||
},
|
||||
],
|
||||
default: 'send',
|
||||
@@ -36,7 +36,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'sender@domain.com',
|
||||
description: 'Email address of the sender of the email.',
|
||||
description: 'Email address of the sender of the email',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -54,7 +54,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'John Smith',
|
||||
description: 'Name of the sender of the email.',
|
||||
description: 'Name of the sender of the email',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -72,7 +72,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'recipient@domain.com',
|
||||
description: 'Comma-separated list of recipient email addresses.',
|
||||
description: 'Comma-separated list of recipient email addresses',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -89,7 +89,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject of the email to send.',
|
||||
description: 'Subject of the email to send',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -110,7 +110,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: false,
|
||||
description: 'Whether this email will contain a dynamic template.',
|
||||
description: 'Whether this email will contain a dynamic template',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -127,7 +127,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'contentType',
|
||||
type: 'options',
|
||||
default: 'text/plain',
|
||||
description: 'MIME type of the email to send.',
|
||||
description: 'MIME type of the email to send',
|
||||
options: [
|
||||
{
|
||||
name: 'Plain Text',
|
||||
@@ -158,7 +158,7 @@ export const mailFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Message body of the email to send.',
|
||||
description: 'Message body of the email to send',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -230,7 +230,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Key of the dynamic template field.',
|
||||
description: 'Key of the dynamic template field',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -272,7 +272,7 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'bccEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Comma-separated list of emails of the recipients of a blind carbon copy of the email.',
|
||||
description: 'Comma-separated list of emails of the recipients of a blind carbon copy of the email',
|
||||
},
|
||||
{
|
||||
displayName: 'Categories',
|
||||
@@ -286,21 +286,21 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'ccEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Comma-separated list of emails of the recipients of a carbon copy of the email.',
|
||||
description: 'Comma-separated list of emails of the recipients of a carbon copy of the email',
|
||||
},
|
||||
{
|
||||
displayName: 'Enable Sandbox',
|
||||
name: 'enableSandbox',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to use to the sandbox for testing out email-sending functionality.',
|
||||
description: 'Whether to use to the sandbox for testing out email-sending functionality',
|
||||
},
|
||||
{
|
||||
displayName: 'IP Pool Name',
|
||||
name: 'ipPoolName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The IP Pool that you would like to send this email from.',
|
||||
description: 'The IP Pool that you would like to send this email from',
|
||||
},
|
||||
{
|
||||
displayName: 'Headers',
|
||||
@@ -321,14 +321,14 @@ export const mailFields: INodeProperties[] = [
|
||||
name: 'key',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Key to set in the header object.',
|
||||
description: 'Key to set in the header object',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value to set in the header object.',
|
||||
description: 'Value to set in the header object',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user