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:
@@ -153,7 +153,7 @@ export class AffinityTrigger implements INodeType {
|
||||
],
|
||||
default: [],
|
||||
required: true,
|
||||
description: 'Webhook events that will be enabled for that endpoint.',
|
||||
description: 'Webhook events that will be enabled for that endpoint',
|
||||
},
|
||||
],
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ export const listFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list object to be retrieved.',
|
||||
description: 'The unique ID of the list object to be retrieved',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:getAll */
|
||||
@@ -71,7 +71,7 @@ export const listFields: 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',
|
||||
@@ -95,6 +95,6 @@ export const listFields: INodeProperties[] = [
|
||||
maxValue: 10,
|
||||
},
|
||||
default: 5,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -65,7 +65,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list whose list entries are to be retrieved.',
|
||||
description: 'The unique ID of the list whose list entries are to be retrieved',
|
||||
},
|
||||
{
|
||||
displayName: 'Entity ID',
|
||||
@@ -83,7 +83,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the entity (person, organization, or opportunity) to add to this list.',
|
||||
description: 'The unique ID of the entity (person, organization, or opportunity) to add to this list',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -107,7 +107,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
name: 'creator_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The id of a Person resource who should be recorded as adding the entry to the list. Must be a person who can access Affinity. If not provided the creator defaults to the owner of the API key.`,
|
||||
description: 'The ID of a Person resource who should be recorded as adding the entry to the list. Must be a person who can access Affinity. If not provided the creator defaults to the owner of the API key.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -133,7 +133,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list that contains the specified list_entry_id.',
|
||||
description: 'The unique ID of the list that contains the specified list_entry_id',
|
||||
},
|
||||
{
|
||||
displayName: 'List Entry ID',
|
||||
@@ -151,7 +151,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list entry object to be retrieved.',
|
||||
description: 'The unique ID of the list entry object to be retrieved',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* listEntry:getAll */
|
||||
@@ -174,7 +174,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The unique id of the list whose list entries are to be retrieved.',
|
||||
description: 'The unique ID of the list whose list entries are to be retrieved',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -191,7 +191,7 @@ export const listEntryFields: 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',
|
||||
@@ -215,7 +215,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
maxValue: 10,
|
||||
},
|
||||
default: 5,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* listEntry:delete */
|
||||
@@ -239,7 +239,7 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list that contains the specified list_entry_id.',
|
||||
description: 'The unique ID of the list that contains the specified list_entry_id',
|
||||
},
|
||||
{
|
||||
displayName: 'List Entry ID',
|
||||
@@ -257,6 +257,6 @@ export const listEntryFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The unique id of the list entry object to be deleted.',
|
||||
description: 'The unique ID of the list entry object to be deleted',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -67,7 +67,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The name of the organization.',
|
||||
description: 'The name of the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Domain',
|
||||
@@ -85,7 +85,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The domain name of the organization.',
|
||||
description: 'The domain name of the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -112,7 +112,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getPersons',
|
||||
},
|
||||
default: [],
|
||||
description: 'Persons that the new organization will be associated with.',
|
||||
description: 'Persons that the new organization will be associated with',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -135,7 +135,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the organization.',
|
||||
description: 'Unique identifier for the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -159,14 +159,14 @@ export const organizationFields: INodeProperties[] = [
|
||||
name: 'domain',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The domain name of the organization.',
|
||||
description: 'The domain name of the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the organization.',
|
||||
description: 'The name of the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Persons',
|
||||
@@ -176,7 +176,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getPersons',
|
||||
},
|
||||
default: [],
|
||||
description: 'Persons that the new organization will be associated with.',
|
||||
description: 'Persons that the new organization will be associated with',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -199,7 +199,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the organization.',
|
||||
description: 'Unique identifier for the organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -223,7 +223,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
name: 'withInteractionDates',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When true, interaction dates will be present on the returned resources.',
|
||||
description: 'When true, interaction dates will be present on the returned resources',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -245,7 +245,7 @@ export const organizationFields: 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',
|
||||
@@ -269,7 +269,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
maxValue: 10,
|
||||
},
|
||||
default: 5,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -300,7 +300,7 @@ export const organizationFields: INodeProperties[] = [
|
||||
name: 'withInteractionDates',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When true, interaction dates will be present on the returned resources.',
|
||||
description: 'When true, interaction dates will be present on the returned resources',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -323,6 +323,6 @@ export const organizationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the organization.',
|
||||
description: 'Unique identifier for the organization',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -67,7 +67,7 @@ export const personFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The first name of the person.',
|
||||
description: 'The first name of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
@@ -85,7 +85,7 @@ export const personFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The last name of the person.',
|
||||
description: 'The last name of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -112,7 +112,7 @@ export const personFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getOrganizations',
|
||||
},
|
||||
default: [],
|
||||
description: 'Organizations that the person is associated with.',
|
||||
description: 'Organizations that the person is associated with',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -157,7 +157,7 @@ export const personFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the person.',
|
||||
description: 'Unique identifier for the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -181,14 +181,14 @@ export const personFields: INodeProperties[] = [
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The first name of the person.',
|
||||
description: 'The first name of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
name: 'lastName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The last name of the person.',
|
||||
description: 'The last name of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Organizations',
|
||||
@@ -198,7 +198,7 @@ export const personFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getOrganizations',
|
||||
},
|
||||
default: [],
|
||||
description: 'Organizations that the person is associated with.',
|
||||
description: 'Organizations that the person is associated with',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -243,7 +243,7 @@ export const personFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the person.',
|
||||
description: 'Unique identifier for the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -267,7 +267,7 @@ export const personFields: INodeProperties[] = [
|
||||
name: 'withInteractionDates',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When true, interaction dates will be present on the returned resources.',
|
||||
description: 'When true, interaction dates will be present on the returned resources',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -289,7 +289,7 @@ export const personFields: 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',
|
||||
@@ -313,7 +313,7 @@ export const personFields: INodeProperties[] = [
|
||||
maxValue: 10,
|
||||
},
|
||||
default: 5,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -344,7 +344,7 @@ export const personFields: INodeProperties[] = [
|
||||
name: 'withInteractionDates',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When true, interaction dates will be present on the returned resources.',
|
||||
description: 'When true, interaction dates will be present on the returned resources',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -367,6 +367,6 @@ export const personFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Unique identifier for the person.',
|
||||
description: 'Unique identifier for the person',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user