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

@@ -75,7 +75,7 @@ export const taskFields: INodeProperties[] = [
name: 'title',
type: 'string',
default: '',
description: 'Title of the task.',
description: 'Title of the task',
displayOptions: {
show: {
operation: [
@@ -109,28 +109,28 @@ export const taskFields: INodeProperties[] = [
name: 'completed',
type: 'dateTime',
default: '',
description: `Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.`,
description: 'Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.',
},
{
displayName: 'Deleted',
name: 'deleted',
type: 'boolean',
default: false,
description: 'Flag indicating whether the task has been deleted.',
description: 'Flag indicating whether the task has been deleted',
},
{
displayName: 'Due Date',
name: 'dueDate',
type: 'dateTime',
default: '',
description: 'Due date of the task.',
description: 'Due date of the task',
},
{
displayName: 'Notes',
name: 'notes',
type: 'string',
default: '',
description: 'Additional Notes.',
description: 'Additional Notes',
},
{
displayName: 'Parent',
@@ -161,7 +161,7 @@ export const taskFields: INodeProperties[] = [
},
],
default: '',
description: 'Current status of the task.',
description: 'Current status of the task',
},
],
@@ -284,7 +284,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',
@@ -308,7 +308,7 @@ export const taskFields: INodeProperties[] = [
maxValue: 100,
},
default: 20,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Additional Fields',
@@ -332,34 +332,35 @@ export const taskFields: INodeProperties[] = [
name: 'completedMax',
type: 'dateTime',
default: '',
description: 'Upper bound for a task completion date (as a RFC 3339 timestamp) to filter by.',
description: 'Upper bound for a task completion date (as a RFC 3339 timestamp) to filter by',
},
{
displayName: 'Completed Min',
name: 'completedMin',
type: 'dateTime',
default: '',
description: 'Lower bound for a task completion date (as a RFC 3339 timestamp) to filter by.',
description: 'Lower bound for a task completion date (as a RFC 3339 timestamp) to filter by',
},
{
displayName: 'Due Min',
name: 'dueMin',
type: 'dateTime',
default: '',
description: 'Lower bound for a task due date (as a RFC 3339 timestamp) to filter by.',
description: 'Lower bound for a task due date (as a RFC 3339 timestamp) to filter by',
},
{
displayName: 'Due Max',
name: 'dueMax',
type: 'dateTime',
default: '',
description: 'Upper bound for a task due date (as a RFC 3339 timestamp) to filter by.',
description: 'Upper bound for a task due date (as a RFC 3339 timestamp) to filter by',
},
{
displayName: 'Show Completed',
name: 'showCompleted',
type: 'boolean',
default: true,
// eslint-disable-next-line n8n-nodes-base/node-param-description-unencoded-angle-brackets
description: 'Flag indicating whether completed tasks are returned in the result. <strong>Show Hidden</strong> must also be True to show tasks completed in first party clients such as the web UI or Google\'s mobile apps.',
},
{
@@ -367,21 +368,21 @@ export const taskFields: INodeProperties[] = [
name: 'showDeleted',
type: 'boolean',
default: false,
description: 'Flag indicating whether deleted tasks are returned in the result.',
description: 'Flag indicating whether deleted tasks are returned in the result',
},
{
displayName: 'Show Hidden',
name: 'showHidden',
type: 'boolean',
default: false,
description: 'Flag indicating whether hidden tasks are returned in the result.',
description: 'Flag indicating whether hidden tasks are returned in the result',
},
{
displayName: 'Updated Min',
name: 'updatedMin',
type: 'dateTime',
default: '',
description: 'Lower bound for a task last modification time (as a RFC 3339 timestamp) to filter by.',
description: 'Lower bound for a task last modification time (as a RFC 3339 timestamp) to filter by',
},
],
},
@@ -447,7 +448,7 @@ export const taskFields: INodeProperties[] = [
name: 'completed',
type: 'dateTime',
default: '',
description: `Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.`,
description: 'Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.',
},
{
@@ -455,14 +456,14 @@ export const taskFields: INodeProperties[] = [
name: 'deleted',
type: 'boolean',
default: false,
description: 'Flag indicating whether the task has been deleted.',
description: 'Flag indicating whether the task has been deleted',
},
{
displayName: 'Due Date',
name: 'dueDate',
type: 'dateTime',
default: '',
description: 'Due date of the task.',
description: 'Due date of the task',
},
{
displayName: 'Notes',
@@ -472,7 +473,7 @@ export const taskFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: 'Additional Notes.',
description: 'Additional Notes',
},
{
displayName: 'Previous',
@@ -496,14 +497,14 @@ export const taskFields: INodeProperties[] = [
},
],
default: '',
description: 'Current status of the task.',
description: 'Current status of the task',
},
{
displayName: 'Title',
name: 'title',
type: 'string',
default: '',
description: 'Title of the task.',
description: 'Title of the task',
},
],
},