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:
@@ -119,7 +119,7 @@ export class Rocketchat implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The channel name with the prefix in front of it.',
|
||||
description: 'The channel name with the prefix in front of it',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -136,7 +136,7 @@ export class Rocketchat implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The text of the message to send, is optional because of attachments.',
|
||||
description: 'The text of the message to send, is optional because of attachments',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -176,21 +176,21 @@ export class Rocketchat implements INodeType {
|
||||
name: 'alias',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'This will cause the message’s name to appear as the given alias, but your username will still display.',
|
||||
description: 'This will cause the message’s name to appear as the given alias, but your username will still display',
|
||||
},
|
||||
{
|
||||
displayName: 'Avatar',
|
||||
name: 'avatar',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'If provided, this will make the avatar use the provided image url.',
|
||||
description: 'If provided, this will make the avatar use the provided image url',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
name: 'emoji',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'This will cause the message’s name to appear as the given alias, but your username will still display.',
|
||||
description: 'This will cause the message’s name to appear as the given alias, but your username will still display',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -224,56 +224,56 @@ export class Rocketchat implements INodeType {
|
||||
name: 'color',
|
||||
type: 'color',
|
||||
default: '#ff0000',
|
||||
description: 'The color you want the order on the left side to be, any value background-css supports.',
|
||||
description: 'The color you want the order on the left side to be, any value background-css supports',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The text to display for this attachment, it is different than the message’s text.',
|
||||
description: 'The text to display for this attachment, it is different than the message’s text',
|
||||
},
|
||||
{
|
||||
displayName: 'Timestamp',
|
||||
name: 'ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Displays the time next to the text portion.',
|
||||
description: 'Displays the time next to the text portion',
|
||||
},
|
||||
{
|
||||
displayName: 'Thumb URL',
|
||||
name: 'thumbUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'An image that displays to the left of the text, looks better when this is relatively small.',
|
||||
description: 'An image that displays to the left of the text, looks better when this is relatively small',
|
||||
},
|
||||
{
|
||||
displayName: 'Message Link',
|
||||
name: 'messageLink',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Only applicable if the timestamp is provided, as it makes the time clickable to this link.',
|
||||
description: 'Only applicable if the timestamp is provided, as it makes the time clickable to this link',
|
||||
},
|
||||
{
|
||||
displayName: 'Collapsed',
|
||||
name: 'collapsed',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Causes the image, audio, and video sections to be hiding when collapsed is true.',
|
||||
description: 'Causes the image, audio, and video sections to be hiding when collapsed is true',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Name',
|
||||
name: 'authorName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the author.',
|
||||
description: 'Name of the author',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Link',
|
||||
name: 'authorLink',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Providing this makes the author name clickable and points to this link.',
|
||||
description: 'Providing this makes the author name clickable and points to this link',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Icon',
|
||||
@@ -281,35 +281,35 @@ export class Rocketchat implements INodeType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'https://site.com/img.png',
|
||||
description: 'Displays a tiny icon to the left of the Author’s name.',
|
||||
description: 'Displays a tiny icon to the left of the Author’s name',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Title to display for this attachment, displays under the author.',
|
||||
description: 'Title to display for this attachment, displays under the author',
|
||||
},
|
||||
{
|
||||
displayName: 'Title Link',
|
||||
name: 'titleLink',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Providing this makes the title clickable, pointing to this link.',
|
||||
description: 'Providing this makes the title clickable, pointing to this link',
|
||||
},
|
||||
{
|
||||
displayName: 'Title Link Download',
|
||||
name: 'titleLinkDownload',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When this is true, a download icon appears and clicking this saves the link to file.',
|
||||
description: 'When this is true, a download icon appears and clicking this saves the link to file',
|
||||
},
|
||||
{
|
||||
displayName: 'Image URL',
|
||||
name: 'imageUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The image to display, will be “big” and easy to see.',
|
||||
description: 'The image to display, will be “big” and easy to see',
|
||||
},
|
||||
{
|
||||
displayName: 'Audio URL',
|
||||
@@ -317,7 +317,7 @@ export class Rocketchat implements INodeType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'https://site.com/aud.mp3',
|
||||
description: 'Audio file to play, only supports what html audio does.',
|
||||
description: 'Audio file to play, only supports what html audio does',
|
||||
},
|
||||
{
|
||||
displayName: 'video URL',
|
||||
@@ -325,7 +325,7 @@ export class Rocketchat implements INodeType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'https://site.com/vid.mp4',
|
||||
description: 'Video file to play, only supports what html video does.',
|
||||
description: 'Video file to play, only supports what html video does',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
@@ -346,21 +346,21 @@ export class Rocketchat implements INodeType {
|
||||
name: 'short',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether this field should be a short field.',
|
||||
description: 'Whether this field should be a short field',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of this field.',
|
||||
description: 'The title of this field',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The value of this field, displayed underneath the title value.',
|
||||
description: 'The value of this field, displayed underneath the title value',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -389,7 +389,6 @@ export class Rocketchat implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
required: false,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user