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

@@ -39,17 +39,17 @@ export class MySql implements INodeType {
{
name: 'Execute Query',
value: 'executeQuery',
description: 'Execute an SQL query.',
description: 'Execute an SQL query',
},
{
name: 'Insert',
value: 'insert',
description: 'Insert rows in database.',
description: 'Insert rows in database',
},
{
name: 'Update',
value: 'update',
description: 'Update rows in database.',
description: 'Update rows in database',
},
],
default: 'insert',
@@ -76,7 +76,7 @@ export class MySql implements INodeType {
default: '',
placeholder: 'SELECT id, name FROM product WHERE id < 40',
required: true,
description: 'The SQL query to execute.',
description: 'The SQL query to execute',
},
@@ -96,7 +96,7 @@ export class MySql implements INodeType {
},
default: '',
required: true,
description: 'Name of the table in which to insert data to.',
description: 'Name of the table in which to insert data to',
},
{
displayName: 'Columns',
@@ -111,7 +111,7 @@ export class MySql implements INodeType {
},
default: '',
placeholder: 'id,name,description',
description: 'Comma-separated list of the properties which should used as columns for the new rows.',
description: 'Comma-separated list of the properties which should used as columns for the new rows',
},
{
displayName: 'Options',
@@ -126,14 +126,14 @@ export class MySql implements INodeType {
},
default: {},
placeholder: 'Add modifiers',
description: 'Modifiers for INSERT statement.',
description: 'Modifiers for INSERT statement',
options: [
{
displayName: 'Ignore',
name: 'ignore',
type: 'boolean',
default: true,
description: 'Ignore any ignorable errors that occur while executing the INSERT statement.',
description: 'Ignore any ignorable errors that occur while executing the INSERT statement',
},
{
displayName: 'Priority',
@@ -143,7 +143,7 @@ export class MySql implements INodeType {
{
name: 'Low Prioirity',
value: 'LOW_PRIORITY',
description: 'Delays execution of the INSERT until no other clients are reading from the table.',
description: 'Delays execution of the INSERT until no other clients are reading from the table',
},
{
name: 'High Priority',
@@ -152,7 +152,7 @@ export class MySql implements INodeType {
},
],
default: 'LOW_PRIORITY',
description: 'Ignore any ignorable errors that occur while executing the INSERT statement.',
description: 'Ignore any ignorable errors that occur while executing the INSERT statement',
},
],
},
@@ -189,6 +189,7 @@ export class MySql implements INodeType {
},
default: 'id',
required: true,
// eslint-disable-next-line n8n-nodes-base/node-param-description-miscased-id
description: 'Name of the property which decides which rows in the database should be updated. Normally that would be "id".',
},
{
@@ -204,7 +205,7 @@ export class MySql implements INodeType {
},
default: '',
placeholder: 'name,description',
description: 'Comma-separated list of the properties which should used as columns for rows to update.',
description: 'Comma-separated list of the properties which should used as columns for rows to update',
},
],