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:
Iván Ovejero
2022-05-06 23:01:25 +02:00
committed by GitHub
parent 1ef10dd23f
commit 63b6c9f128
689 changed files with 6828 additions and 6935 deletions

View File

@@ -36,7 +36,7 @@ export class If implements INodeType {
multipleValues: true,
sortable: true,
},
description: 'The type of values to compare.',
description: 'The type of values to compare',
default: {},
options: [
{
@@ -48,7 +48,7 @@ export class If implements INodeType {
name: 'value1',
type: 'boolean',
default: false,
description: 'The value to compare with the second one.',
description: 'The value to compare with the second one',
},
{
displayName: 'Operation',
@@ -65,14 +65,14 @@ export class If implements INodeType {
},
],
default: 'equal',
description: 'Operation to decide where the the data should be mapped to.',
description: 'Operation to decide where the the data should be mapped to',
},
{
displayName: 'Value 2',
name: 'value2',
type: 'boolean',
default: false,
description: 'The value to compare with the first one.',
description: 'The value to compare with the first one',
},
],
},
@@ -85,7 +85,7 @@ export class If implements INodeType {
name: 'value1',
type: 'dateTime',
default: '',
description: 'The value to compare with the second one.',
description: 'The value to compare with the second one',
},
{
displayName: 'Operation',
@@ -102,14 +102,14 @@ export class If implements INodeType {
},
],
default: 'after',
description: 'Operation to decide where the the data should be mapped to.',
description: 'Operation to decide where the the data should be mapped to',
},
{
displayName: 'Value 2',
name: 'value2',
type: 'dateTime',
default: '',
description: 'The value to compare with the first one.',
description: 'The value to compare with the first one',
},
],
},
@@ -122,7 +122,7 @@ export class If implements INodeType {
name: 'value1',
type: 'number',
default: 0,
description: 'The value to compare with the second one.',
description: 'The value to compare with the second one',
},
{
displayName: 'Operation',
@@ -163,7 +163,7 @@ export class If implements INodeType {
},
],
default: 'smaller',
description: 'Operation to decide where the the data should be mapped to.',
description: 'Operation to decide where the the data should be mapped to',
},
{
displayName: 'Value 2',
@@ -178,7 +178,7 @@ export class If implements INodeType {
},
},
default: 0,
description: 'The value to compare with the first one.',
description: 'The value to compare with the first one',
},
],
},
@@ -191,7 +191,7 @@ export class If implements INodeType {
name: 'value1',
type: 'string',
default: '',
description: 'The value to compare with the second one.',
description: 'The value to compare with the second one',
},
{
displayName: 'Operation',
@@ -248,7 +248,7 @@ export class If implements INodeType {
},
],
default: 'equal',
description: 'Operation to decide where the the data should be mapped to.',
description: 'Operation to decide where the the data should be mapped to',
},
{
displayName: 'Value 2',
@@ -265,7 +265,7 @@ export class If implements INodeType {
},
},
default: '',
description: 'The value to compare with the first one.',
description: 'The value to compare with the first one',
},
{
displayName: 'Regex',
@@ -281,7 +281,7 @@ export class If implements INodeType {
},
default: '',
placeholder: '/text/i',
description: 'The regex which has to match.',
description: 'The regex which has to match',
},
],
},
@@ -294,17 +294,17 @@ export class If implements INodeType {
options: [
{
name: 'ALL',
description: 'Only if all conditions are meet it goes into "true" branch.',
description: 'Only if all conditions are meet it goes into "true" branch',
value: 'all',
},
{
name: 'ANY',
description: 'If any of the conditions is meet it goes into "true" branch.',
description: 'If any of the conditions is meet it goes into "true" branch',
value: 'any',
},
],
default: 'all',
description: 'If multiple rules got set this settings decides if it is true as soon as ANY condition matches or only if ALL get meet.',
description: 'If multiple rules got set this settings decides if it is true as soon as ANY condition matches or only if ALL get meet',
},
],
};