mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -247,7 +247,7 @@ export class Gitlab implements INodeType {
|
||||
default: '',
|
||||
required: true,
|
||||
placeholder: 'n8n-io',
|
||||
description: 'User, group or namespace of the project.',
|
||||
description: 'User, group or namespace of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Project Name',
|
||||
@@ -266,7 +266,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
},
|
||||
placeholder: 'n8n',
|
||||
description: 'The name of the project.',
|
||||
description: 'The name of the project',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -292,7 +292,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The title of the issue.',
|
||||
description: 'The title of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -312,7 +312,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The body of the issue.',
|
||||
description: 'The body of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Due Date',
|
||||
@@ -329,7 +329,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Due Date for issue.',
|
||||
description: 'Due Date for issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -356,7 +356,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Label to add to issue.',
|
||||
description: 'Label to add to issue',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -385,7 +385,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'assignee',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'User ID to assign issue to.',
|
||||
description: 'User ID to assign issue to',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -410,7 +410,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue on which to create the comment on.',
|
||||
description: 'The number of the issue on which to create the comment on',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -430,7 +430,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the comment.',
|
||||
description: 'The body of the comment',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -452,7 +452,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue edit.',
|
||||
description: 'The number of the issue edit',
|
||||
},
|
||||
{
|
||||
displayName: 'Edit Fields',
|
||||
@@ -478,7 +478,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of the issue.',
|
||||
description: 'The title of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'Body',
|
||||
@@ -488,7 +488,7 @@ export class Gitlab implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'The body of the issue.',
|
||||
description: 'The body of the issue',
|
||||
},
|
||||
{
|
||||
displayName: 'State',
|
||||
@@ -507,7 +507,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'open',
|
||||
description: 'The state to set.',
|
||||
description: 'The state to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -524,7 +524,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'label',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Label to add to issue.',
|
||||
description: 'Label to add to issue',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -543,7 +543,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'assignee',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'User to assign issue too.',
|
||||
description: 'User to assign issue too',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -552,7 +552,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'due_date',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Due Date for issue.',
|
||||
description: 'Due Date for issue',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -576,7 +576,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue get data of.',
|
||||
description: 'The number of the issue get data of',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -598,7 +598,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The number of the issue to lock.',
|
||||
description: 'The number of the issue to lock',
|
||||
},
|
||||
{
|
||||
displayName: 'Lock Reason',
|
||||
@@ -637,7 +637,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'resolved',
|
||||
description: 'The reason to lock the issue.',
|
||||
description: 'The reason to lock the issue',
|
||||
},
|
||||
|
||||
|
||||
@@ -665,7 +665,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The tag of the release.',
|
||||
description: 'The tag of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -691,7 +691,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the release.',
|
||||
description: 'The name of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
@@ -701,7 +701,7 @@ export class Gitlab implements INodeType {
|
||||
rows: 5,
|
||||
},
|
||||
default: '',
|
||||
description: 'The description of the release.',
|
||||
description: 'The description of the release',
|
||||
},
|
||||
{
|
||||
displayName: 'Ref',
|
||||
@@ -733,7 +733,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID or URL-encoded path of the project.',
|
||||
description: 'The ID or URL-encoded path of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Tag Name',
|
||||
@@ -752,7 +752,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The Git tag the release is associated with.',
|
||||
description: 'The Git tag the release is associated with',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -774,7 +774,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID or URL-encoded path of the project.',
|
||||
description: 'The ID or URL-encoded path of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -791,7 +791,7 @@ export class Gitlab 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',
|
||||
@@ -815,7 +815,7 @@ export class Gitlab implements INodeType {
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 20,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -851,7 +851,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'released_at',
|
||||
description: 'The field to use as order.',
|
||||
description: 'The field to use as order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort',
|
||||
@@ -892,7 +892,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID or URL-encoded path of the project.',
|
||||
description: 'The ID or URL-encoded path of the project',
|
||||
},
|
||||
{
|
||||
displayName: 'Tag Name',
|
||||
@@ -910,7 +910,7 @@ export class Gitlab implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The Git tag the release is associated with.',
|
||||
description: 'The Git tag the release is associated with',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -936,7 +936,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The release name.',
|
||||
description: 'The release name',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
@@ -950,14 +950,14 @@ export class Gitlab implements INodeType {
|
||||
name: 'milestones',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of each milestone to associate with the release (provide a titles list spearated with comma).',
|
||||
description: 'The title of each milestone to associate with the release (provide a titles list spearated with comma)',
|
||||
},
|
||||
{
|
||||
displayName: 'Released At',
|
||||
name: 'released_at',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date when the release is/was ready..',
|
||||
description: 'The date when the release is/was ready',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -992,14 +992,14 @@ export class Gitlab implements INodeType {
|
||||
name: 'assignee_username',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return only issues which are assigned to a specific user.',
|
||||
description: 'Return only issues which are assigned to a specific user',
|
||||
},
|
||||
{
|
||||
displayName: 'Creator',
|
||||
name: 'author_username',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Return only issues which were created by a specific user.',
|
||||
description: 'Return only issues which were created by a specific user',
|
||||
},
|
||||
{
|
||||
displayName: 'Labels',
|
||||
@@ -1013,7 +1013,7 @@ export class Gitlab implements INodeType {
|
||||
name: 'updated_after',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Return only issues updated at or after this time.',
|
||||
description: 'Return only issues updated at or after this time',
|
||||
},
|
||||
{
|
||||
displayName: 'State',
|
||||
@@ -1037,7 +1037,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'opened',
|
||||
description: 'The state to filter by.',
|
||||
description: 'The state to filter by',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort',
|
||||
@@ -1047,21 +1047,21 @@ export class Gitlab implements INodeType {
|
||||
{
|
||||
name: 'Created At',
|
||||
value: 'created_at',
|
||||
description: 'Sort by created date.',
|
||||
description: 'Sort by created date',
|
||||
},
|
||||
{
|
||||
name: 'Updated At',
|
||||
value: 'updated_at',
|
||||
description: 'Sort by updated date.',
|
||||
description: 'Sort by updated date',
|
||||
},
|
||||
{
|
||||
name: 'Priority',
|
||||
value: 'priority',
|
||||
description: 'Sort by priority.',
|
||||
description: 'Sort by priority',
|
||||
},
|
||||
],
|
||||
default: 'created_at',
|
||||
description: 'The order the issues should be returned in.',
|
||||
description: 'The order the issues should be returned in',
|
||||
},
|
||||
{
|
||||
displayName: 'Direction',
|
||||
@@ -1080,7 +1080,7 @@ export class Gitlab implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'desc',
|
||||
description: 'The sort order.',
|
||||
description: 'The sort order',
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user