mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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:
@@ -66,7 +66,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -84,7 +84,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The content of the comment.',
|
||||
description: 'The content of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -121,7 +121,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -142,7 +142,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -157,7 +157,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -184,7 +184,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -209,14 +209,14 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Mark thread position',
|
||||
name: 'mark_thread_position',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'By default, the position of the thread is marked.',
|
||||
description: 'By default, the position of the thread is marked',
|
||||
},
|
||||
{
|
||||
displayName: 'Recipients',
|
||||
@@ -229,21 +229,21 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that will attached to the comment.',
|
||||
description: 'The users that will attached to the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Temporary ID',
|
||||
name: 'temp_id',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The temporary ID of the comment.',
|
||||
description: 'The temporary ID of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Send as integration',
|
||||
name: 'send_as_integration',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Displays the integration as the comment creator.',
|
||||
description: 'Displays the integration as the comment creator',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -268,7 +268,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the comment.',
|
||||
description: 'The ID of the comment',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -290,7 +290,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -307,7 +307,7 @@ export const commentFields: 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',
|
||||
@@ -331,7 +331,7 @@ export const commentFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -355,28 +355,28 @@ export const commentFields: INodeProperties[] = [
|
||||
name: 'as_ids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, only the ids of the comments are returned.',
|
||||
description: 'If enabled, only the IDs of the comments are returned',
|
||||
},
|
||||
{
|
||||
displayName: 'Ending Object Index',
|
||||
name: 'to_obj_index',
|
||||
type: 'number',
|
||||
default: 50,
|
||||
description: 'Limit comments ending at the specified object index.',
|
||||
description: 'Limit comments ending at the specified object index',
|
||||
},
|
||||
{
|
||||
displayName: 'Newer Than',
|
||||
name: 'newer_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits comments to those newer when the specified Unix time.',
|
||||
description: 'Limits comments to those newer when the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Older Than',
|
||||
name: 'older_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits comments to those older than the specified Unix time.',
|
||||
description: 'Limits comments to those older than the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Order By',
|
||||
@@ -393,14 +393,14 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'ASC',
|
||||
description: 'The order of the comments returned - one of DESC or ASC.',
|
||||
description: 'The order of the comments returned - one of DESC or ASC',
|
||||
},
|
||||
{
|
||||
displayName: 'Starting Object Index',
|
||||
name: 'from_obj_index',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Limit comments starting at the specified object index.',
|
||||
description: 'Limit comments starting at the specified object index',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -424,7 +424,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the comment.',
|
||||
description: 'The ID of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -461,7 +461,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -482,7 +482,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -497,7 +497,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -524,7 +524,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -543,7 +543,7 @@ export const commentFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the comment.',
|
||||
description: 'The content of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Direct Mentions',
|
||||
@@ -556,7 +556,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user