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

@@ -617,7 +617,7 @@ export class Pipedrive implements INodeType {
},
],
default: '0',
description: 'Whether the activity is done or not.',
description: 'Whether the activity is done or not',
},
{
displayName: 'Type',
@@ -636,7 +636,7 @@ export class Pipedrive implements INodeType {
},
},
placeholder: 'call',
description: 'Type of the activity like "call", "meeting", ...',
description: 'Type of the activity like "call", "meeting", etc',
},
{
displayName: 'Additional Fields',
@@ -711,7 +711,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -727,14 +727,14 @@ export class Pipedrive implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the property to set.',
description: 'Name of the property to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -762,7 +762,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the activity to delete.',
description: 'ID of the activity to delete',
},
@@ -785,7 +785,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the activity to get.',
description: 'ID of the activity to get',
},
// ----------------------------------
// activity:update
@@ -806,7 +806,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the activity to update.',
description: 'ID of the activity to update',
},
{
displayName: 'Update Fields',
@@ -854,7 +854,7 @@ export class Pipedrive implements INodeType {
},
],
default: '0',
description: 'Whether the activity is done or not.',
description: 'Whether the activity is done or not',
},
{
@@ -898,7 +898,7 @@ export class Pipedrive implements INodeType {
type: 'string',
default: '',
placeholder: 'call',
description: 'Type of the activity like "call", "meeting", ...',
description: 'Type of the activity like "call", "meeting", etc',
},
{
displayName: 'User ID',
@@ -914,7 +914,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -930,14 +930,14 @@ export class Pipedrive implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the property to set.',
description: 'Name of the property to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -1027,7 +1027,7 @@ export class Pipedrive implements INodeType {
name: 'person_id',
type: 'number',
default: 0,
description: 'ID of the person this deal will be associated with.',
description: 'ID of the person this deal will be associated with',
displayOptions: {
show: {
operation: [
@@ -1070,7 +1070,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -1089,14 +1089,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getDealCustomFields',
},
default: '',
description: 'Name of the property to set.',
description: 'Name of the property to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -1116,7 +1116,7 @@ export class Pipedrive implements INodeType {
name: 'lost_reason',
type: 'string',
default: '',
description: 'Reason why the deal was lost.',
description: 'Reason why the deal was lost',
},
{
displayName: 'Organization ID',
@@ -1145,7 +1145,7 @@ export class Pipedrive implements INodeType {
],
},
},
description: 'ID of the person this deal will be associated with.',
description: 'ID of the person this deal will be associated with',
},
{
displayName: 'Probability',
@@ -1156,7 +1156,7 @@ export class Pipedrive implements INodeType {
maxValue: 100,
},
default: 0,
description: 'Deal success probability percentage.',
description: 'Deal success probability percentage',
},
{
displayName: 'Stage ID',
@@ -1249,7 +1249,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the deal to delete.',
description: 'ID of the deal to delete',
},
// ----------------------------------
@@ -1271,7 +1271,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the deal to duplicate.',
description: 'ID of the deal to duplicate',
},
// ----------------------------------
@@ -1293,7 +1293,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the deal to get.',
description: 'ID of the deal to get',
},
// ----------------------------------
@@ -1315,7 +1315,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the deal to update.',
description: 'ID of the deal to update',
},
{
displayName: 'Update Fields',
@@ -1345,7 +1345,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -1364,14 +1364,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getDealCustomFields',
},
default: '',
description: 'Name of the custom field to set.',
description: 'Name of the custom field to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -1401,7 +1401,7 @@ export class Pipedrive implements INodeType {
name: 'lost_reason',
type: 'string',
default: '',
description: 'Reason why the deal was lost.',
description: 'Reason why the deal was lost',
},
{
displayName: 'Organization ID',
@@ -1411,14 +1411,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Person ID',
name: 'person_id',
type: 'number',
default: 0,
description: 'ID of the person this deal will be associated with.',
description: 'ID of the person this deal will be associated with',
},
{
displayName: 'Probability',
@@ -1429,7 +1429,7 @@ export class Pipedrive implements INodeType {
maxValue: 100,
},
default: 0,
description: 'Deal success probability percentage.',
description: 'Deal success probability percentage',
},
{
displayName: 'Stage ID',
@@ -1873,7 +1873,7 @@ export class Pipedrive 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',
@@ -1894,7 +1894,7 @@ export class Pipedrive implements INodeType {
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Additional Fields',
@@ -1925,14 +1925,14 @@ export class Pipedrive implements INodeType {
name: 'organizationId',
type: 'string',
default: '',
description: 'Will filter Deals by the provided Organization ID.',
description: 'Will filter Deals by the provided Organization ID',
},
{
displayName: 'Person ID',
name: 'personId',
type: 'string',
default: '',
description: 'Will filter Deals by the provided Person ID.',
description: 'Will filter Deals by the provided Person ID',
},
{
displayName: 'Search Fields',
@@ -2009,7 +2009,7 @@ export class Pipedrive implements INodeType {
},
placeholder: '',
description: 'Name of the binary property which contains the data for the file to be created.',
description: 'Name of the binary property which contains the data for the file to be created',
},
{
displayName: 'Additional Fields',
@@ -2033,7 +2033,7 @@ export class Pipedrive implements INodeType {
name: 'activity_id',
type: 'number',
default: 0,
description: 'ID of the activite this file will be associated with.',
description: 'ID of the activite this file will be associated with',
},
{
displayName: 'Deal ID',
@@ -2050,21 +2050,21 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Person ID',
name: 'person_id',
type: 'number',
default: 0,
description: 'ID of the person this file will be associated with.',
description: 'ID of the person this file will be associated with',
},
{
displayName: 'Product ID',
name: 'product_id',
type: 'number',
default: 0,
description: 'ID of the person this file will be associated with.',
description: 'ID of the person this file will be associated with',
},
],
},
@@ -2088,7 +2088,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the file to delete.',
description: 'ID of the file to delete',
},
// ----------------------------------
@@ -2110,7 +2110,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the file to download.',
description: 'ID of the file to download',
},
{
displayName: 'Binary Property',
@@ -2128,7 +2128,7 @@ export class Pipedrive implements INodeType {
],
},
},
description: 'Name of the binary property to which to write the data of the downloaded file.',
description: 'Name of the binary property to which to write the data of the downloaded file',
},
// ----------------------------------
@@ -2598,7 +2598,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the note to delete.',
description: 'ID of the note to delete',
},
// ----------------------------------
@@ -2620,7 +2620,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the note to get.',
description: 'ID of the note to get',
},
// ----------------------------------
@@ -2642,7 +2642,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the note to update.',
description: 'ID of the note to update',
},
{
displayName: 'Update Fields',
@@ -2693,14 +2693,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Person ID',
name: 'person_id',
type: 'number',
default: 0,
description: 'ID of the person this note will be associated with.',
description: 'ID of the person this note will be associated with',
},
],
},
@@ -2753,7 +2753,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -2769,14 +2769,14 @@ export class Pipedrive implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the property to set.',
description: 'Name of the property to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -2830,7 +2830,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the organization to delete.',
description: 'ID of the organization to delete',
},
// ----------------------------------
@@ -2852,7 +2852,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the organization to get.',
description: 'ID of the organization to get',
},
// ----------------------------------
@@ -2930,7 +2930,7 @@ export class Pipedrive implements INodeType {
name: 'rawData',
type: 'boolean',
default: false,
description: `Returns the data exactly in the way it got received from the API.`,
description: 'Returns the data exactly in the way it got received from the API',
},
],
},
@@ -2976,7 +2976,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -2992,14 +2992,14 @@ export class Pipedrive implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the property to set.',
description: 'Name of the property to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -3096,7 +3096,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -3115,14 +3115,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getPersonCustomFields',
},
default: '',
description: 'Name of the custom field to set.',
description: 'Name of the custom field to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -3136,7 +3136,7 @@ export class Pipedrive implements INodeType {
multipleValues: true,
},
default: '',
description: 'Email of the person.',
description: 'Email of the person',
},
{
displayName: 'Label',
@@ -3170,7 +3170,7 @@ export class Pipedrive implements INodeType {
},
],
default: 'subscribed',
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one.',
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one',
},
{
displayName: 'Organization ID',
@@ -3180,7 +3180,7 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Phone',
@@ -3190,7 +3190,7 @@ export class Pipedrive implements INodeType {
multipleValues: true,
},
default: '',
description: 'Phone number of the person.',
description: 'Phone number of the person',
},
{
displayName: 'Visible to',
@@ -3217,7 +3217,7 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getUserIds',
},
default: '',
description: 'ID of the User this deal will be associated with.',
description: 'ID of the User this deal will be associated with',
},
],
},
@@ -3241,7 +3241,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the person to delete.',
description: 'ID of the person to delete',
},
// ----------------------------------
@@ -3263,7 +3263,7 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the person to get.',
description: 'ID of the person to get',
},
// ----------------------------------
@@ -3285,13 +3285,13 @@ export class Pipedrive implements INodeType {
},
default: 0,
required: true,
description: 'ID of the person to update.',
description: 'ID of the person to update',
},
{
displayName: 'Update Fields',
name: 'updateFields',
type: 'collection',
description: 'The fields to update.',
description: 'The fields to update',
placeholder: 'Add Field',
displayOptions: {
show: {
@@ -3309,7 +3309,7 @@ export class Pipedrive implements INodeType {
displayName: 'Custom Properties',
name: 'customProperties',
placeholder: 'Add Custom Property',
description: 'Adds a custom property to set also values which have not been predefined.',
description: 'Adds a custom property to set also values which have not been predefined',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -3328,14 +3328,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getPersonCustomFields',
},
default: '',
description: 'Name of the custom field to set.',
description: 'Name of the custom field to set',
},
{
displayName: 'Property Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property to set.',
description: 'Value of the property to set',
},
],
},
@@ -3349,7 +3349,7 @@ export class Pipedrive implements INodeType {
multipleValues: true,
},
default: '',
description: 'Email of the person.',
description: 'Email of the person',
},
{
displayName: 'Label',
@@ -3383,7 +3383,7 @@ export class Pipedrive implements INodeType {
},
],
default: 'subscribed',
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one.',
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one',
},
{
displayName: 'Name',
@@ -3400,7 +3400,7 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Phone',
@@ -3410,7 +3410,7 @@ export class Pipedrive implements INodeType {
multipleValues: true,
},
default: '',
description: 'Phone number of the person.',
description: 'Phone number of the person',
},
{
displayName: 'User ID',
@@ -3420,7 +3420,7 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getUserIds',
},
default: '',
description: 'ID of the User this person will be associated with.',
description: 'ID of the User this person will be associated with',
},
{
displayName: 'Visible to',
@@ -3503,7 +3503,7 @@ export class Pipedrive 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',
@@ -3524,7 +3524,7 @@ export class Pipedrive implements INodeType {
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
// ----------------------------------
@@ -3573,14 +3573,14 @@ export class Pipedrive implements INodeType {
name: 'done',
type: 'boolean',
default: false,
description: 'Whether the activity is done or not.',
description: 'Whether the activity is done or not',
},
{
displayName: 'Exclude Activity IDs',
name: 'exclude',
type: 'string',
default: '',
description: 'A comma-separated Activity Ids, to exclude from result. Ex. 4, 9, 11, ...',
description: 'A comma-separated Activity IDs, to exclude from result. Ex. 4, 9, 11, ...',
},
],
},
@@ -3696,14 +3696,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getFilters',
},
default: '',
description: 'ID of the filter to use.',
description: 'ID of the filter to use',
},
{
displayName: 'First Char',
name: 'firstChar',
type: 'string',
default: '',
description: 'If supplied, only persons whose name starts with the specified letter will be returned ',
description: 'If supplied, only persons whose name starts with the specified letter will be returned',
},
],
},
@@ -3765,21 +3765,21 @@ export class Pipedrive implements INodeType {
name: 'includeFields',
type: 'string',
default: '',
description: 'Supports including optional fields in the results which are not provided by default.',
description: 'Supports including optional fields in the results which are not provided by default',
},
{
displayName: 'Organization ID',
name: 'organizationId',
type: 'string',
default: '',
description: 'Will filter Deals by the provided Organization ID.',
description: 'Will filter Deals by the provided Organization ID',
},
{
displayName: 'RAW Data',
name: 'rawData',
type: 'boolean',
default: false,
description: `Returns the data exactly in the way it got received from the API.`,
description: 'Returns the data exactly in the way it got received from the API',
},
],
},
@@ -3827,14 +3827,14 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getOrganizationIds',
},
default: '',
description: 'ID of the organization this deal will be associated with.',
description: 'ID of the organization this deal will be associated with',
},
{
displayName: 'Person ID',
name: 'person_id',
type: 'number',
default: 0,
description: 'ID of the person this note will be associated with.',
description: 'ID of the person this note will be associated with',
},
],
},
@@ -3897,7 +3897,7 @@ export class Pipedrive implements INodeType {
loadOptionsMethod: 'getActivityTypes',
},
default: [],
description: 'Type of the Activity.',
description: 'Type of the Activity',
},
{
displayName: 'User ID',