mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
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:
@@ -176,7 +176,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The task to operate on.',
|
||||
description: 'The task to operate on',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -253,21 +253,21 @@ export class Asana implements INodeType {
|
||||
name: 'completed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If the subtask should be marked completed.',
|
||||
description: 'If the subtask should be marked completed',
|
||||
},
|
||||
{
|
||||
displayName: 'Due On',
|
||||
name: 'due_on',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date on which the time is due.',
|
||||
description: 'Date on which the time is due',
|
||||
},
|
||||
{
|
||||
displayName: 'Liked',
|
||||
name: 'liked',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If the task is liked by the authorized user.',
|
||||
description: 'If the task is liked by the authorized user',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
@@ -311,7 +311,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The task to operate on.',
|
||||
description: 'The task to operate on',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -328,7 +328,7 @@ export class Asana implements INodeType {
|
||||
},
|
||||
},
|
||||
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',
|
||||
@@ -352,7 +352,7 @@ export class Asana implements INodeType {
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -383,14 +383,14 @@ export class Asana implements INodeType {
|
||||
'name',
|
||||
'resource_type',
|
||||
],
|
||||
description: 'Defines fields to return.',
|
||||
description: 'Defines fields to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Pretty',
|
||||
name: 'opt_pretty',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Provides “pretty” output.',
|
||||
description: 'Provides “pretty” output',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -512,7 +512,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the task to delete.',
|
||||
description: 'The ID of the task to delete',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -534,7 +534,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the task to get the data of.',
|
||||
description: 'The ID of the task to get the data of',
|
||||
},
|
||||
// ----------------------------------
|
||||
// task:getAll
|
||||
@@ -554,7 +554,7 @@ export class Asana implements INodeType {
|
||||
},
|
||||
},
|
||||
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',
|
||||
@@ -578,7 +578,7 @@ export class Asana implements INodeType {
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -620,14 +620,14 @@ export class Asana implements INodeType {
|
||||
'name',
|
||||
'resource_type',
|
||||
],
|
||||
description: 'Defines fields to return.',
|
||||
description: 'Defines fields to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Pretty',
|
||||
name: 'opt_pretty',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Provides “pretty” output.',
|
||||
description: 'Provides “pretty” output',
|
||||
},
|
||||
{
|
||||
displayName: 'Project',
|
||||
@@ -637,7 +637,7 @@ export class Asana implements INodeType {
|
||||
loadOptionsMethod: 'getProjects',
|
||||
},
|
||||
default: '',
|
||||
description: 'The project to filter tasks on.',
|
||||
description: 'The project to filter tasks on',
|
||||
},
|
||||
{
|
||||
displayName: 'Section',
|
||||
@@ -647,7 +647,7 @@ export class Asana implements INodeType {
|
||||
loadOptionsMethod: 'getSections',
|
||||
},
|
||||
default: '',
|
||||
description: 'The section to filter tasks on.',
|
||||
description: 'The section to filter tasks on',
|
||||
},
|
||||
{
|
||||
displayName: 'Workspace',
|
||||
@@ -664,14 +664,14 @@ export class Asana implements INodeType {
|
||||
name: 'completed_since',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Only return tasks that are either incomplete or that have been completed since this time.',
|
||||
description: 'Only return tasks that are either incomplete or that have been completed since this time',
|
||||
},
|
||||
{
|
||||
displayName: 'Modified Since',
|
||||
name: 'modified_since',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Only return tasks that have been modified since the given time.',
|
||||
description: 'Only return tasks that have been modified since the given time',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -696,7 +696,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the task to be moved.',
|
||||
description: 'The ID of the task to be moved',
|
||||
},
|
||||
{
|
||||
displayName: 'Project',
|
||||
@@ -718,7 +718,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Project to show the sections of.',
|
||||
description: 'Project to show the sections of',
|
||||
},
|
||||
{
|
||||
displayName: 'Section',
|
||||
@@ -765,7 +765,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the task to update the data of.',
|
||||
description: 'The ID of the task to update the data of',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -816,7 +816,7 @@ export class Asana implements INodeType {
|
||||
name: 'completed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If the task is marked completed.',
|
||||
description: 'If the task is marked completed',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -827,7 +827,7 @@ export class Asana implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text to search for in name or notes.',
|
||||
description: 'Text to search for in name or notes',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -893,14 +893,14 @@ export class Asana implements INodeType {
|
||||
name: 'completed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If the task should be marked completed.',
|
||||
description: 'If the task should be marked completed',
|
||||
},
|
||||
{
|
||||
displayName: 'Due On',
|
||||
name: 'due_on',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date on which the time is due.',
|
||||
description: 'Date on which the time is due',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -921,7 +921,7 @@ export class Asana implements INodeType {
|
||||
name: 'liked',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If the task is liked by the authorized user.',
|
||||
description: 'If the task is liked by the authorized user',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
@@ -942,7 +942,7 @@ export class Asana implements INodeType {
|
||||
loadOptionsMethod: 'getProjects',
|
||||
},
|
||||
default: [],
|
||||
description: 'The project to filter tasks on.',
|
||||
description: 'The project to filter tasks on',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1015,7 +1015,7 @@ export class Asana implements INodeType {
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If body is HTML or simple text.',
|
||||
description: 'If body is HTML or simple text',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1088,7 +1088,7 @@ export class Asana implements INodeType {
|
||||
name: 'is_pinned',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Pin the comment.',
|
||||
description: 'Pin the comment',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1210,14 +1210,14 @@ export class Asana implements INodeType {
|
||||
name: 'insert_after',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A task in the project to insert the task after, or null to insert at the beginning of the list.',
|
||||
description: 'A task in the project to insert the task after, or null to insert at the beginning of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Insert Before',
|
||||
name: 'insert_before',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'A task in the project to insert the task before, or null to insert at the end of the list.',
|
||||
description: 'A task in the project to insert the task before, or null to insert at the end of the list',
|
||||
},
|
||||
{
|
||||
displayName: 'Section',
|
||||
@@ -1471,7 +1471,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The workspace in which to get users.',
|
||||
description: 'The workspace in which to get users',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -1583,7 +1583,7 @@ export class Asana implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The team this project will be assigned to.',
|
||||
description: 'The team this project will be assigned to',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -1609,21 +1609,21 @@ export class Asana implements INodeType {
|
||||
type: 'options',
|
||||
options: getColorOptions(),
|
||||
default: 'none',
|
||||
description: 'Color of the project.',
|
||||
description: 'Color of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Due On',
|
||||
name: 'due_on',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The day on which this project is due. This takes a date with format YYYY-MM-DD.\n',
|
||||
description: 'The day on which this project is due. This takes a date with format YYYY-MM-DD.',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'notes',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Basic description or notes for the project.',
|
||||
description: 'Basic description or notes for the project',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1691,7 +1691,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The workspace in which to get users.',
|
||||
description: 'The workspace in which to get users',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -1708,7 +1708,7 @@ export class Asana implements INodeType {
|
||||
},
|
||||
},
|
||||
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',
|
||||
@@ -1732,7 +1732,7 @@ export class Asana implements INodeType {
|
||||
maxValue: 500,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -1757,7 +1757,7 @@ export class Asana implements INodeType {
|
||||
name: 'archived',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Only return projects whose archived field takes on the value of this parameter.',
|
||||
description: 'Only return projects whose archived field takes on the value of this parameter',
|
||||
},
|
||||
{
|
||||
displayName: 'Teams',
|
||||
@@ -1797,7 +1797,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The workspace in which to get users.',
|
||||
description: 'The workspace in which to get users',
|
||||
},
|
||||
{
|
||||
displayName: 'Project ID',
|
||||
@@ -1815,7 +1815,7 @@ export class Asana implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the project to update the data of.',
|
||||
description: 'The ID of the project to update the data of',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -1841,7 +1841,7 @@ export class Asana implements INodeType {
|
||||
type: 'options',
|
||||
options: getColorOptions(),
|
||||
default: 'none',
|
||||
description: 'Color of the project.',
|
||||
description: 'Color of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Due On',
|
||||
@@ -1855,21 +1855,21 @@ export class Asana implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the project.',
|
||||
description: 'The name of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'notes',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Basic description or notes for the project.',
|
||||
description: 'Basic description or notes for the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Owner',
|
||||
name: 'owner',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The new assignee/cardinal for this project.',
|
||||
description: 'The new assignee/cardinal for this project',
|
||||
},
|
||||
{
|
||||
displayName: 'Team',
|
||||
@@ -1882,7 +1882,7 @@ export class Asana implements INodeType {
|
||||
loadOptionsMethod: 'getTeams',
|
||||
},
|
||||
default: '',
|
||||
description: 'The team this project will be assigned to.',
|
||||
description: 'The team this project will be assigned to',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user