mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
@@ -41,17 +41,17 @@ export class Redis implements INodeType {
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a key from Redis.',
|
||||
description: 'Delete a key from Redis',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get the value of a key from Redis.',
|
||||
description: 'Get the value of a key from Redis',
|
||||
},
|
||||
{
|
||||
name: 'Info',
|
||||
value: 'info',
|
||||
description: 'Returns generic information about the Redis instance.',
|
||||
description: 'Returns generic information about the Redis instance',
|
||||
},
|
||||
{
|
||||
name: 'Increment',
|
||||
@@ -61,17 +61,17 @@ export class Redis implements INodeType {
|
||||
{
|
||||
name: 'Keys',
|
||||
value: 'keys',
|
||||
description: 'Returns all the keys matching a pattern.',
|
||||
description: 'Returns all the keys matching a pattern',
|
||||
},
|
||||
{
|
||||
name: 'Set',
|
||||
value: 'set',
|
||||
description: 'Set the value of a key in redis.',
|
||||
description: 'Set the value of a key in redis',
|
||||
},
|
||||
{
|
||||
name: 'Publish',
|
||||
value: 'publish',
|
||||
description: 'Publish message to redis channel.',
|
||||
description: 'Publish message to redis channel',
|
||||
},
|
||||
],
|
||||
default: 'info',
|
||||
@@ -109,7 +109,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Name of the key to delete from Redis.',
|
||||
description: 'Name of the key to delete from Redis',
|
||||
},
|
||||
{
|
||||
displayName: 'Key',
|
||||
@@ -124,7 +124,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Name of the key to get from Redis.',
|
||||
description: 'Name of the key to get from Redis',
|
||||
},
|
||||
{
|
||||
displayName: 'Key Type',
|
||||
@@ -141,31 +141,31 @@ export class Redis implements INodeType {
|
||||
{
|
||||
name: 'Automatic',
|
||||
value: 'automatic',
|
||||
description: 'Requests the type before requesting the data (slower).',
|
||||
description: 'Requests the type before requesting the data (slower)',
|
||||
},
|
||||
{
|
||||
name: 'Hash',
|
||||
value: 'hash',
|
||||
description: 'Data in key is of type "hash".',
|
||||
description: 'Data in key is of type "hash"',
|
||||
},
|
||||
{
|
||||
name: 'String',
|
||||
value: 'string',
|
||||
description: 'Data in key is of type "string".',
|
||||
description: 'Data in key is of type "string"',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: 'list',
|
||||
description: 'Data in key is of type "lists".',
|
||||
description: 'Data in key is of type "lists"',
|
||||
},
|
||||
{
|
||||
name: 'Sets',
|
||||
value: 'sets',
|
||||
description: 'Data in key is of type "sets".',
|
||||
description: 'Data in key is of type "sets"',
|
||||
},
|
||||
],
|
||||
default: 'automatic',
|
||||
description: 'The type of the key to get.',
|
||||
description: 'The type of the key to get',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -187,8 +187,7 @@ export class Redis implements INodeType {
|
||||
name: 'dotNotation',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: `<p>By default, dot-notation is used in property names. This means that "a.b" will set the property "b" underneath "a" so { "a": { "b": value} }.<p></p>If that is not intended this can be deactivated, it will then set { "a.b": value } instead.</p>
|
||||
`,
|
||||
description: '<p>By default, dot-notation is used in property names. This means that "a.b" will set the property "b" underneath "a" so { "a": { "b": value} }.<p></p>If that is not intended this can be deactivated, it will then set { "a.b": value } instead.</p>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -210,7 +209,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Name of the key to increment.',
|
||||
description: 'Name of the key to increment',
|
||||
},
|
||||
{
|
||||
displayName: 'Expire',
|
||||
@@ -244,7 +243,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
},
|
||||
default: 60,
|
||||
description: 'Number of seconds before key expiration.',
|
||||
description: 'Number of seconds before key expiration',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -263,7 +262,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The key pattern for the keys to return.',
|
||||
description: 'The key pattern for the keys to return',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -282,7 +281,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Name of the key to set in Redis.',
|
||||
description: 'Name of the key to set in Redis',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -296,7 +295,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The value to write in Redis.',
|
||||
description: 'The value to write in Redis',
|
||||
},
|
||||
{
|
||||
displayName: 'Key Type',
|
||||
@@ -313,31 +312,31 @@ export class Redis implements INodeType {
|
||||
{
|
||||
name: 'Automatic',
|
||||
value: 'automatic',
|
||||
description: 'Tries to figure out the type automatically depending on the data.',
|
||||
description: 'Tries to figure out the type automatically depending on the data',
|
||||
},
|
||||
{
|
||||
name: 'Hash',
|
||||
value: 'hash',
|
||||
description: 'Data in key is of type "hash".',
|
||||
description: 'Data in key is of type "hash"',
|
||||
},
|
||||
{
|
||||
name: 'String',
|
||||
value: 'string',
|
||||
description: 'Data in key is of type "string".',
|
||||
description: 'Data in key is of type "string"',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: 'list',
|
||||
description: 'Data in key is of type "lists".',
|
||||
description: 'Data in key is of type "lists"',
|
||||
},
|
||||
{
|
||||
name: 'Sets',
|
||||
value: 'sets',
|
||||
description: 'Data in key is of type "sets".',
|
||||
description: 'Data in key is of type "sets"',
|
||||
},
|
||||
],
|
||||
default: 'automatic',
|
||||
description: 'The type of the key to set.',
|
||||
description: 'The type of the key to set',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -373,7 +372,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
},
|
||||
default: 60,
|
||||
description: 'Number of seconds before key expiration.',
|
||||
description: 'Number of seconds before key expiration',
|
||||
},
|
||||
// ----------------------------------
|
||||
// publish
|
||||
@@ -391,7 +390,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Channel name.',
|
||||
description: 'Channel name',
|
||||
},
|
||||
{
|
||||
displayName: 'Data',
|
||||
@@ -409,7 +408,7 @@ export class Redis implements INodeType {
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'Data to publish.',
|
||||
description: 'Data to publish',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user