mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -314,7 +314,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Email address for a subscriber.',
|
||||
description: 'Email address for a subscriber',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -354,7 +354,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: `Subscriber's current status.`,
|
||||
description: 'Subscriber\'s current status',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -411,49 +411,49 @@ export class Mailchimp implements INodeType {
|
||||
name: 'language',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `If set/detected, the subscriber's language.`,
|
||||
description: 'If set/detected, the subscriber\'s language',
|
||||
},
|
||||
{
|
||||
displayName: 'Opt-in IP',
|
||||
name: 'ipOptIn',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The IP address the subscriber used to confirm their opt-in status.',
|
||||
description: 'The IP address the subscriber used to confirm their opt-in status',
|
||||
},
|
||||
{
|
||||
displayName: 'Signup IP',
|
||||
name: 'ipSignup',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'IP address the subscriber signed up from.',
|
||||
description: 'IP address the subscriber signed up from',
|
||||
},
|
||||
{
|
||||
displayName: 'Signup Timestamp',
|
||||
name: 'timestampSignup',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date and time the subscriber signed up for the list in ISO 8601 format.',
|
||||
description: 'The date and time the subscriber signed up for the list in ISO 8601 format',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
name: 'tags',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The tags that are associated with a member separeted by ,.`,
|
||||
description: 'The tags that are associated with a member separeted by ,',
|
||||
},
|
||||
{
|
||||
displayName: 'Vip',
|
||||
name: 'vip',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Vip status for subscribers`,
|
||||
description: 'Vip status for subscribers',
|
||||
},
|
||||
{
|
||||
displayName: 'Opt-in Timestamp',
|
||||
name: 'timestampOpt',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `The date and time the subscribe confirmed their opt-in status in ISO 8601 format.`,
|
||||
description: 'The date and time the subscribe confirmed their opt-in status in ISO 8601 format',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -463,7 +463,7 @@ export class Mailchimp implements INodeType {
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Location',
|
||||
default: {},
|
||||
description: `Subscriber location information.n`,
|
||||
description: 'Subscriber location information.n',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource:[
|
||||
@@ -487,7 +487,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'latitude',
|
||||
type: 'string',
|
||||
required: true,
|
||||
description: 'The location latitude.',
|
||||
description: 'The location latitude',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -495,7 +495,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'longitude',
|
||||
type: 'string',
|
||||
required: true,
|
||||
description: 'The location longitude.',
|
||||
description: 'The location longitude',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -524,7 +524,7 @@ export class Mailchimp implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'An individual merge var and value for a member.',
|
||||
description: 'An individual merge var and value for a member',
|
||||
options: [
|
||||
{
|
||||
name: 'mergeFieldsValues',
|
||||
@@ -553,7 +553,7 @@ export class Mailchimp implements INodeType {
|
||||
required: true,
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Merge field value.',
|
||||
description: 'Merge field value',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -724,7 +724,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: `Member's email`,
|
||||
description: 'Member\'s email',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* member:get */
|
||||
@@ -767,7 +767,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: `Member's email`,
|
||||
description: 'Member\'s email',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -791,14 +791,14 @@ export class Mailchimp implements INodeType {
|
||||
name: 'fields',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A comma-separated list of fields to return.',
|
||||
description: 'A comma-separated list of fields to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Exclude Fields',
|
||||
name: 'excludeFields',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A comma-separated list of fields to exclude.',
|
||||
description: 'A comma-separated list of fields to exclude',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -842,7 +842,7 @@ export class Mailchimp 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',
|
||||
@@ -866,7 +866,7 @@ export class Mailchimp implements INodeType {
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 500,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -890,7 +890,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'beforeLastChanged',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict results to subscribers whose information changed before the set timeframe.',
|
||||
description: 'Restrict results to subscribers whose information changed before the set timeframe',
|
||||
},
|
||||
{
|
||||
displayName: 'Before Timestamp Opt',
|
||||
@@ -957,14 +957,14 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: `Subscriber's current status.`,
|
||||
description: 'Subscriber\'s current status',
|
||||
},
|
||||
{
|
||||
displayName: 'Since Last Changed',
|
||||
name: 'sinceLastChanged',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict results to subscribers whose information changed after the set timeframe.',
|
||||
description: 'Restrict results to subscribers whose information changed after the set timeframe',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1009,7 +1009,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Email address of the subscriber.',
|
||||
description: 'Email address of the subscriber',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -1124,7 +1124,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'language',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `If set/detected, the subscriber's language.`,
|
||||
description: 'If set/detected, the subscriber\'s language',
|
||||
},
|
||||
{
|
||||
displayName: 'Merge Fields',
|
||||
@@ -1148,7 +1148,7 @@ export class Mailchimp implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'An individual merge var and value for a member.',
|
||||
description: 'An individual merge var and value for a member',
|
||||
options: [
|
||||
{
|
||||
name: 'mergeFieldsValues',
|
||||
@@ -1177,7 +1177,7 @@ export class Mailchimp implements INodeType {
|
||||
required: true,
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Merge field value.',
|
||||
description: 'Merge field value',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1188,21 +1188,21 @@ export class Mailchimp implements INodeType {
|
||||
name: 'ipOptIn',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The IP address the subscriber used to confirm their opt-in status.',
|
||||
description: 'The IP address the subscriber used to confirm their opt-in status',
|
||||
},
|
||||
{
|
||||
displayName: 'Signup IP',
|
||||
name: 'ipSignup',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'IP address the subscriber signed up from.',
|
||||
description: 'IP address the subscriber signed up from',
|
||||
},
|
||||
{
|
||||
displayName: 'Signup Timestamp',
|
||||
name: 'timestampSignup',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date and time the subscriber signed up for the list in ISO 8601 format.',
|
||||
description: 'The date and time the subscriber signed up for the list in ISO 8601 format',
|
||||
},
|
||||
{
|
||||
displayName: 'Skip Merge Validation',
|
||||
@@ -1239,14 +1239,14 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: `Subscriber's current status.`,
|
||||
description: 'Subscriber\'s current status',
|
||||
},
|
||||
{
|
||||
displayName: 'Vip',
|
||||
name: 'vip',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Vip status for subscribers`,
|
||||
description: 'Vip status for subscribers',
|
||||
},
|
||||
{
|
||||
displayName: 'Location',
|
||||
@@ -1254,7 +1254,7 @@ export class Mailchimp implements INodeType {
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Location',
|
||||
default: {},
|
||||
description: `Subscriber location information.n`,
|
||||
description: 'Subscriber location information.n',
|
||||
displayOptions: {
|
||||
show: {
|
||||
'/resource':[
|
||||
@@ -1278,7 +1278,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'latitude',
|
||||
type: 'string',
|
||||
required: true,
|
||||
description: 'The location latitude.',
|
||||
description: 'The location latitude',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -1286,7 +1286,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'longitude',
|
||||
type: 'string',
|
||||
required: true,
|
||||
description: 'The location longitude.',
|
||||
description: 'The location longitude',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -1298,7 +1298,7 @@ export class Mailchimp implements INodeType {
|
||||
name: 'timestampOpt',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `The date and time the subscribe confirmed their opt-in status in ISO 8601 format.`,
|
||||
description: 'The date and time the subscribe confirmed their opt-in status in ISO 8601 format',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1411,7 +1411,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Email address of the subscriber.',
|
||||
description: 'Email address of the subscriber',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
@@ -1525,7 +1525,7 @@ export class Mailchimp 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',
|
||||
@@ -1549,7 +1549,7 @@ export class Mailchimp implements INodeType {
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 500,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* campaign:getAll */
|
||||
@@ -1569,7 +1569,7 @@ export class Mailchimp 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',
|
||||
@@ -1593,7 +1593,7 @@ export class Mailchimp implements INodeType {
|
||||
maxValue: 1000,
|
||||
},
|
||||
default: 10,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -1617,14 +1617,14 @@ export class Mailchimp implements INodeType {
|
||||
name: 'beforeCreateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict the response to campaigns created before the set time.',
|
||||
description: 'Restrict the response to campaigns created before the set time',
|
||||
},
|
||||
{
|
||||
displayName: 'Before Send Time',
|
||||
name: 'beforeSendTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict the response to campaigns sent before the set time.',
|
||||
description: 'Restrict the response to campaigns sent before the set time',
|
||||
},
|
||||
{
|
||||
displayName: 'Exclude Fields',
|
||||
@@ -1634,7 +1634,7 @@ export class Mailchimp implements INodeType {
|
||||
loadOptionsMethod: 'getCampaignsFields',
|
||||
},
|
||||
default: [],
|
||||
description: 'A comma-separated list of fields to exclude.',
|
||||
description: 'A comma-separated list of fields to exclude',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
@@ -1651,7 +1651,7 @@ export class Mailchimp implements INodeType {
|
||||
'campaigns.settings.reply_to',
|
||||
'campaigns.settings.title',
|
||||
],
|
||||
description: 'A comma-separated list of fields to return.',
|
||||
description: 'A comma-separated list of fields to return',
|
||||
},
|
||||
{
|
||||
displayName: 'List ID',
|
||||
@@ -1668,14 +1668,14 @@ export class Mailchimp implements INodeType {
|
||||
name: 'sinceCreateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict the response to campaigns created after the set time.',
|
||||
description: 'Restrict the response to campaigns created after the set time',
|
||||
},
|
||||
{
|
||||
displayName: 'Since Send Time',
|
||||
name: 'sinceSendTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Restrict the response to campaigns sent after the set time.',
|
||||
description: 'Restrict the response to campaigns sent after the set time',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort Direction',
|
||||
@@ -1692,7 +1692,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'Determines the order direction for sorted results.',
|
||||
description: 'Determines the order direction for sorted results',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort Field',
|
||||
@@ -1709,7 +1709,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'Returns files sorted by the specified field.',
|
||||
description: 'Returns files sorted by the specified field',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -1734,7 +1734,7 @@ export class Mailchimp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'The status of the campaign.',
|
||||
description: 'The status of the campaign',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user