refactor: Apply more eslint-plugin-n8n-nodes-base rules (#3534)

*  Update `lintfix` script

*  Run baseline `lintfix`

* 🔥 Remove unneeded exceptions (#3538)

* 🔥 Remove exceptions for `node-param-default-wrong-for-simplify`

* 🔥 Remove exceptions for `node-param-placeholder-miscased-id`

*  Update version

* 👕 Apply `node-param-placeholder-missing` (#3542)

* 👕 Apply `filesystem-wrong-cred-filename` (#3543)

* 👕 Apply `node-param-description-missing-from-dynamic-options` (#3545)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-class-description-empty-string` (#3546)

* 👕 Apply `node-class-description-icon-not-svg` (#3548)

* 👕 Apply `filesystem-wrong-node-filename` (#3549)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Expand lintings to credentials (#3550)

* 👕 Apply `node-param-multi-options-type-unsorted-items` (#3552)

*  fix

*  Minor fixes

Co-authored-by: Michael Kret <michael.k@radency.com>

* 👕 Apply `node-param-description-wrong-for-dynamic-multi-options` (#3541)

*  Add new lint rule, node-param-description-wrong-for-dynamic-multi-options

*  Fix with updated linting rules

*  Minor fixes

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-boolean-without-whether` (#3553)

*  fix

* Update packages/nodes-base/nodes/Clockify/ProjectDescription.ts

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply node-param-display-name-wrong-for-dynamic-multi-options (#3537)

* 👕 Add exceptions

* 👕 Add exception

* ✏️ Alphabetize rules

*  Restore `lintfix` command

Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-06-20 16:54:01 +02:00
committed by GitHub
parent 3c3b18095a
commit 88dea330b9
552 changed files with 2188 additions and 1367 deletions

View File

@@ -394,7 +394,7 @@ export class Telegram implements INodeType {
name: 'disable_notification',
type: 'boolean',
default: false,
description: 'Do not send a notification to all chat members about the new pinned message',
description: 'Whether to send a notification to all chat members about the new pinned message',
},
],
},
@@ -530,7 +530,7 @@ export class Telegram implements INodeType {
name: 'show_alert',
type: 'boolean',
default: false,
description: 'If true, an alert will be shown by the client instead of a notification at the top of the chat screen',
description: 'Whether an alert will be shown by the client instead of a notification at the top of the chat screen',
},
{
displayName: 'Text',
@@ -623,7 +623,7 @@ export class Telegram implements INodeType {
name: 'show_alert',
type: 'boolean',
default: false,
description: 'If true, an alert will be shown by the client instead of a notification at the top of the chat screen',
description: 'Whether an alert will be shown by the client instead of a notification at the top of the chat screen',
},
{
displayName: 'Text',
@@ -687,7 +687,7 @@ export class Telegram implements INodeType {
},
},
default: true,
description: 'Download the file',
description: 'Whether to download the file',
},
// ----------------------------------
@@ -772,7 +772,7 @@ export class Telegram implements INodeType {
],
},
},
description: 'If the data to upload should be taken from binary field',
description: 'Whether the data to upload should be taken from binary field',
},
{
displayName: 'Binary Property',
@@ -1333,14 +1333,14 @@ export class Telegram implements INodeType {
name: 'force_reply',
type: 'boolean',
default: false,
description: 'Shows reply interface to the user, as if they manually selected the bots message and tapped Reply',
description: 'Whether to show reply interface to the user, as if they manually selected the bots message and tapped Reply',
},
{
displayName: 'Selective',
name: 'selective',
type: 'boolean',
default: false,
description: 'Use this parameter if you want to force reply from specific users only',
description: 'Whether to force reply from specific users only',
},
],
},
@@ -1412,7 +1412,7 @@ export class Telegram implements INodeType {
name: 'pay',
type: 'boolean',
default: false,
description: 'Specify True, to send a Pay button',
description: 'Whether to send a Pay button',
},
{
displayName: 'Switch Inline Query Current Chat',
@@ -1502,14 +1502,14 @@ export class Telegram implements INodeType {
name: 'request_contact',
type: 'boolean',
default: false,
description: 'If True, the user\'s phone number will be sent as a contact when the button is pressed.Available in private chats only',
description: 'Whether the user\'s phone number will be sent as a contact when the button is pressed.Available in private chats only',
},
{
displayName: 'Request Location',
name: 'request_location',
type: 'boolean',
default: false,
description: 'If True, the user\'s request_location',
description: 'Whether the user\'s request_location',
},
],
},
@@ -1541,21 +1541,21 @@ export class Telegram implements INodeType {
name: 'resize_keyboard',
type: 'boolean',
default: false,
description: 'Requests clients to resize the keyboard vertically for optimal fit',
description: 'Whether to request clients to resize the keyboard vertically for optimal fit',
},
{
displayName: 'One Time Keyboard',
name: 'one_time_keyboard',
type: 'boolean',
default: false,
description: 'Requests clients to hide the keyboard as soon as it\'s been used',
description: 'Whether to request clients to hide the keyboard as soon as it\'s been used',
},
{
displayName: 'Selective',
name: 'selective',
type: 'boolean',
default: false,
description: 'Use this parameter if you want to show the keyboard to specific users only',
description: 'Whether to show the keyboard to specific users only',
},
],
},
@@ -1579,14 +1579,14 @@ export class Telegram implements INodeType {
name: 'remove_keyboard',
type: 'boolean',
default: false,
description: 'Requests clients to remove the custom keyboard',
description: 'Whether to request clients to remove the custom keyboard',
},
{
displayName: 'Selective',
name: 'selective',
type: 'boolean',
default: false,
description: 'Use this parameter if you want to force reply from specific users only',
description: 'Whether to force reply from specific users only',
},
],
},
@@ -1650,7 +1650,7 @@ export class Telegram implements INodeType {
],
},
},
description: 'Sends the message silently. Users will receive a notification with no sound.',
description: 'Whether to send the message silently. Users will receive a notification with no sound.',
},
{
displayName: 'Disable WebPage Preview',
@@ -1665,7 +1665,7 @@ export class Telegram implements INodeType {
},
},
default: false,
description: 'Disables link previews for links in this message',
description: 'Whether to disable link previews for links in this message',
},
{
displayName: 'Duration',