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

@@ -60,7 +60,7 @@ export const taskFields: INodeProperties[] = [
],
},
},
description: 'Create resources under the given workspace.',
description: 'Create resources under the given workspace',
},
{
displayName: 'Name',
@@ -78,7 +78,7 @@ export const taskFields: INodeProperties[] = [
],
},
},
description: 'The title of the task.',
description: 'The title of the task',
},
{
displayName: 'Additional Fields',
@@ -101,16 +101,14 @@ export const taskFields: INodeProperties[] = [
displayName: 'Owner ID',
name: 'ownerid',
type: 'string',
required: false,
default: '',
description: 'The ID of the account to whom this task will be assigned.',
description: 'The ID of the account to whom this task will be assigned',
},
{
displayName: 'List ID',
name: 'listID',
type: 'string',
default: '',
required : false,
description: 'Put the new task in a list ("project"). Omit this param to have the task be private.',
},
{
@@ -118,32 +116,28 @@ export const taskFields: INodeProperties[] = [
name: 'startsOn',
type: 'dateTime',
default: '',
required : false,
description: 'The date on which the task should start.',
description: 'The date on which the task should start',
},
{
displayName: 'Due On',
name: 'dueOn',
type: 'dateTime',
default: '',
required : false,
description: 'The date on which the task should be due.',
description: 'The date on which the task should be due',
},
{
displayName: 'Mirror Parent Subscribers',
name: 'mirrorParentSubscribers',
type: 'boolean',
default: false,
required : false,
description: `If this task will be a subtask, and this is true, the parent tasks's subscribers will be mirrored to this one.`,
description: 'If this task will be a subtask, and this is true, the parent tasks\'s subscribers will be mirrored to this one',
},
{
displayName: 'Mirror Parent Tags',
name: 'mirrorParentTags',
type: 'boolean',
default: false,
required : false,
description: `If this task will be a subtask, and this is true, the parent tasks's tags will be mirrored to this one.`,
description: 'If this task will be a subtask, and this is true, the parent tasks\'s tags will be mirrored to this one',
},
{
displayName: 'Note Content',
@@ -153,8 +147,7 @@ export const taskFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
required : false,
description: `Provide the content for the task's note.`,
description: 'Provide the content for the task\'s note',
},
{
displayName: 'Note Mime Type',
@@ -175,55 +168,49 @@ export const taskFields: INodeProperties[] = [
value: 'text/html',
},
],
description: `Identify which markup language is used to format the given note`,
description: 'Identify which markup language is used to format the given note',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
required : false,
description: `If provided, this task will become a subtask of the given task.`,
description: 'If provided, this task will become a subtask of the given task',
},
{
displayName: 'Position List',
name: 'positionList',
type: 'number',
default: 0,
required : false,
description: `Determines the sort order when showing tasks in, or grouped by, a list.`,
description: 'Determines the sort order when showing tasks in, or grouped by, a list',
},
{
displayName: 'Position Upcoming',
name: 'positionUpcoming',
type: 'number',
default: 0,
required : false,
description: `Determines the sort order when showing tasks grouped by their due_date.`,
description: 'Determines the sort order when showing tasks grouped by their due_date',
},
{
displayName: 'Position',
name: 'position',
type: 'number',
default: 0,
required : false,
description: `Determines the sort order of tasks.`,
description: 'Determines the sort order of tasks',
},
{
displayName: 'Section ID',
name: 'sectionId',
type: 'string',
default: '',
required : false,
description: `Specify which section under which to create this task.`,
description: 'Specify which section under which to create this task',
},
{
displayName: 'Tags',
name: 'tags',
type: 'string',
default: '',
required : false,
description: `A list of tag names to apply to the new task separated by a comma (,)`,
description: 'A list of tag names to apply to the new task separated by a comma (,)',
},
],
},
@@ -247,7 +234,7 @@ export const taskFields: INodeProperties[] = [
],
},
},
description: 'Create resources under the given workspace.',
description: 'Create resources under the given workspace',
},
{
displayName: 'Task ID',
@@ -288,21 +275,21 @@ export const taskFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: 'The title of the task.',
description: 'The title of the task',
},
{
displayName: 'Completed',
name: 'completed',
type: 'boolean',
default: false,
description: `If set to true, will complete the task.`,
description: 'If set to true, will complete the task',
},
{
displayName: 'Owner ID',
name: 'ownerid',
type: 'string',
default: '',
description: 'The ID of the account to whom this task will be assigned.',
description: 'The ID of the account to whom this task will be assigned',
},
{
displayName: 'List ID',
@@ -316,29 +303,28 @@ export const taskFields: INodeProperties[] = [
name: 'startsOn',
type: 'dateTime',
default: '',
description: 'The date on which the task should start.',
description: 'The date on which the task should start',
},
{
displayName: 'Due On',
name: 'dueOn',
type: 'dateTime',
default: '',
description: 'The date on which the task should be due.',
description: 'The date on which the task should be due',
},
{
displayName: 'Mirror Parent Subscribers',
name: 'mirrorParentSubscribers',
type: 'boolean',
default: false,
required : false,
description: `If this task will be a subtask, and this is true, the parent tasks's subscribers will be mirrored to this one.`,
description: 'If this task will be a subtask, and this is true, the parent tasks\'s subscribers will be mirrored to this one',
},
{
displayName: 'Mirror Parent Tags',
name: 'mirrorParentTags',
type: 'boolean',
default: false,
description: `If this task will be a subtask, and this is true, the parent tasks's tags will be mirrored to this one.`,
description: 'If this task will be a subtask, and this is true, the parent tasks\'s tags will be mirrored to this one',
},
{
displayName: 'Note Content',
@@ -348,7 +334,7 @@ export const taskFields: INodeProperties[] = [
alwaysOpenEditWindow: true,
},
default: '',
description: `Provide the content for the task's note.`,
description: 'Provide the content for the task\'s note',
},
{
displayName: 'Note Mime Type',
@@ -369,49 +355,49 @@ export const taskFields: INodeProperties[] = [
value: 'text/html',
},
],
description: `Identify which markup language is used to format the given note`,
description: 'Identify which markup language is used to format the given note',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: `If provided, this task will become a subtask of the given task.`,
description: 'If provided, this task will become a subtask of the given task',
},
{
displayName: 'Position List',
name: 'positionList',
type: 'number',
default: 0,
description: `Determines the sort order when showing tasks in, or grouped by, a list.`,
description: 'Determines the sort order when showing tasks in, or grouped by, a list',
},
{
displayName: 'Position Upcoming',
name: 'positionUpcoming',
type: 'number',
default: 0,
description: `Determines the sort order when showing tasks grouped by their due_date.`,
description: 'Determines the sort order when showing tasks grouped by their due_date',
},
{
displayName: 'Position',
name: 'position',
type: 'number',
default: 0,
description: `Determines the sort order of tasks.`,
description: 'Determines the sort order of tasks',
},
{
displayName: 'Section ID',
name: 'sectionId',
type: 'string',
default: '',
description: `Specify which section under which to create this task.`,
description: 'Specify which section under which to create this task',
},
{
displayName: 'Tags',
name: 'tags',
type: 'string',
default: '',
description: `A list of tag names to apply to the new task separated by a comma (,)`,
description: 'A list of tag names to apply to the new task separated by a comma (,)',
},
],
},
@@ -496,7 +482,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',
@@ -520,7 +506,7 @@ export const taskFields: INodeProperties[] = [
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Filters',
@@ -620,49 +606,49 @@ export const taskFields: INodeProperties[] = [
name: 'workspaceId',
type: 'string',
default: '',
description: 'Create resources under the given workspace.',
description: 'Create resources under the given workspace',
},
{
displayName: 'Created Before',
name: 'createdBefore',
type: 'dateTime',
default: '',
description: 'Select resources created before a certain time.',
description: 'Select resources created before a certain time',
},
{
displayName: 'Created After',
name: 'createdAfter',
type: 'dateTime',
default: '',
description: 'Select resources created after a certain time.',
description: 'Select resources created after a certain time',
},
{
displayName: 'Update Before',
name: 'updateBefore',
type: 'dateTime',
default: '',
description: 'Select resources updated before a certain time.',
description: 'Select resources updated before a certain time',
},
{
displayName: 'Update After',
name: 'updateAfter',
type: 'dateTime',
default: '',
description: 'Select resources updated after a certain time.',
description: 'Select resources updated after a certain time',
},
{
displayName: 'Deleted',
name: 'deleted',
type: 'boolean',
default: false,
description: 'Select deleted resources.',
description: 'Select deleted resources',
},
{
displayName: 'Cleared',
name: 'cleared',
type: 'boolean',
default: false,
description: 'Select cleared resources.',
description: 'Select cleared resources',
},
],
},