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:
@@ -109,7 +109,7 @@ export const linkedResourceFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Field indicating title of the linked entity.',
|
||||
description: 'Field indicating title of the linked entity',
|
||||
},
|
||||
{
|
||||
displayName: 'Application Name',
|
||||
@@ -127,7 +127,7 @@ export const linkedResourceFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'App name of the source that is sending the linked entity.',
|
||||
description: 'App name of the source that is sending the linked entity',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -151,14 +151,14 @@ export const linkedResourceFields: INodeProperties[] = [
|
||||
name: 'externalId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the object that is associated with this task on the third-party/partner system.',
|
||||
description: 'ID of the object that is associated with this task on the third-party/partner system',
|
||||
},
|
||||
{
|
||||
displayName: 'Web URL',
|
||||
name: 'webUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Deeplink to the linked entity.',
|
||||
description: 'Deeplink to the linked entity',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -204,7 +204,7 @@ export const linkedResourceFields: 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',
|
||||
@@ -226,7 +226,7 @@ export const linkedResourceFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -254,28 +254,28 @@ export const linkedResourceFields: INodeProperties[] = [
|
||||
name: 'applicationName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'App name of the source that is sending the linked entity.',
|
||||
description: 'App name of the source that is sending the linked entity',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'displayName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Field indicating title of the linked entity.',
|
||||
description: 'Field indicating title of the linked entity',
|
||||
},
|
||||
{
|
||||
displayName: 'External ID',
|
||||
name: 'externalId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the object that is associated with this task on the third-party/partner system.',
|
||||
description: 'ID of the object that is associated with this task on the third-party/partner system',
|
||||
},
|
||||
{
|
||||
displayName: 'Web URL',
|
||||
name: 'webUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Deeplink to the linked entity.',
|
||||
description: 'Deeplink to the linked entity',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -61,7 +61,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'List display name.',
|
||||
description: 'List display name',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -85,7 +85,7 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox.',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -106,7 +106,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',
|
||||
@@ -128,7 +128,7 @@ export const listFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -150,6 +150,6 @@ export const listFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'List display name.',
|
||||
description: 'List display name',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -64,7 +64,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox.',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
@@ -82,7 +82,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'A brief description of the task.',
|
||||
description: 'A brief description of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -106,14 +106,14 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the task.',
|
||||
description: 'The content of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Due',
|
||||
name: 'dueDateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date in the specified time zone that the task is to be finished.',
|
||||
description: 'The date in the specified time zone that the task is to be finished',
|
||||
},
|
||||
{
|
||||
displayName: 'Importance',
|
||||
@@ -134,7 +134,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'normal',
|
||||
description: 'The importance of the task.',
|
||||
description: 'The importance of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -163,7 +163,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'notStarted',
|
||||
description: 'Indicates the state or progress of the task.',
|
||||
description: 'Indicates the state or progress of the task',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -193,7 +193,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox.',
|
||||
description: 'The identifier of the list, unique in the user\'s mailbox',
|
||||
},
|
||||
{
|
||||
displayName: 'Task ID',
|
||||
@@ -233,7 +233,7 @@ export const taskFields: 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',
|
||||
@@ -255,7 +255,7 @@ export const taskFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -283,14 +283,14 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the task.',
|
||||
description: 'The content of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Due Date Time',
|
||||
name: 'dueDateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date in the specified time zone that the task is to be finished.',
|
||||
description: 'The date in the specified time zone that the task is to be finished',
|
||||
},
|
||||
{
|
||||
displayName: 'Importance',
|
||||
@@ -311,7 +311,7 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'normal',
|
||||
description: 'The importance of the task.',
|
||||
description: 'The importance of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -340,14 +340,14 @@ export const taskFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'notStarted',
|
||||
description: 'Indicates the state or progress of the task.',
|
||||
description: 'Indicates the state or progress of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A brief description of the task.',
|
||||
description: 'A brief description of the task',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user