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

@@ -67,7 +67,7 @@ export const leadFields: INodeProperties[] = [
{
name: 'ID',
value: 'id',
description: 'The Intercom defined id representing the Lead',
description: 'The Intercom defined ID representing the Lead',
},
{
name: 'User ID',
@@ -122,7 +122,7 @@ export const leadFields: INodeProperties[] = [
{
name: 'ID',
value: 'id',
description: 'The Intercom defined id representing the Lead',
description: 'The Intercom defined ID representing the Lead',
},
{
name: 'User ID',
@@ -136,7 +136,7 @@ export const leadFields: INodeProperties[] = [
},
],
default: '',
description: 'The property to select the lead by.',
description: 'The property to select the lead by',
},
{
displayName: 'Value',
@@ -175,7 +175,7 @@ export const leadFields: 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',
@@ -199,7 +199,7 @@ export const leadFields: INodeProperties[] = [
maxValue: 60,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Filters',
@@ -261,11 +261,11 @@ export const leadFields: INodeProperties[] = [
{
name: 'ID',
value: 'id',
description: 'The Intercom defined id representing the Lead',
description: 'The Intercom defined ID representing the Lead',
},
],
default: 'id',
description: 'The property via which to query the lead.',
description: 'The property via which to query the lead',
},
{
displayName: 'Value',
@@ -305,7 +305,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'The email of the user.',
description: 'The email of the user',
},
{
displayName: 'JSON Parameters',
@@ -357,7 +357,7 @@ export const leadFields: INodeProperties[] = [
loadOptionsMethod: 'getCompanies',
},
default: [],
description: 'Identifies the companies this user belongs to.',
description: 'Identifies the companies this user belongs to',
},
{
displayName: 'Email',
@@ -374,7 +374,7 @@ export const leadFields: INodeProperties[] = [
],
},
},
description: 'The email of the user.',
description: 'The email of the user',
},
{
displayName: 'Name',
@@ -445,7 +445,6 @@ export const leadFields: INodeProperties[] = [
displayName: 'Custom Attributes',
name: 'customAttributesJson',
type: 'json',
required: false,
typeOptions: {
alwaysOpenEditWindow: true,
},
@@ -464,7 +463,7 @@ export const leadFields: INodeProperties[] = [
},
},
default: '',
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
},
{
displayName: 'Custom Attributes',
@@ -475,7 +474,6 @@ export const leadFields: INodeProperties[] = [
typeOptions: {
multipleValues: true,
},
required: false,
displayOptions: {
show: {
resource: [
@@ -510,6 +508,6 @@ export const leadFields: INodeProperties[] = [
],
},
],
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
},
];