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

@@ -331,7 +331,7 @@ export class GoogleSheets implements INodeType {
},
},
default: false,
description: 'If the data should be returned RAW instead of parsed into keys according to their header',
description: 'Whether the data should be returned RAW instead of parsed into keys according to their header',
},
{
displayName: 'Data Property',
@@ -373,7 +373,7 @@ export class GoogleSheets implements INodeType {
},
},
default: false,
description: 'If the data supplied is RAW instead of parsed into keys',
description: 'Whether the data supplied is RAW instead of parsed into keys',
},
{
displayName: 'Data Property',
@@ -563,6 +563,7 @@ export class GoogleSheets implements INodeType {
],
},
},
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
description: 'By default, the workflow stops executing if the lookup/read does not return values',
},
{
@@ -577,6 +578,7 @@ export class GoogleSheets implements INodeType {
],
},
},
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
description: 'By default only the first result gets returned. If options gets set all found matches get returned.',
},
{
@@ -591,7 +593,7 @@ export class GoogleSheets implements INodeType {
],
},
},
description: 'Enable if you want to match the headers as path, for example, the row header "category.name" will match the "category" object and get the field "name" from it. By default "category.name" will match with the field with exact name, not nested object.',
description: 'Whether you want to match the headers as path, for example, the row header "category.name" will match the "category" object and get the field "name" from it. By default "category.name" will match with the field with exact name, not nested object.',
},
{
displayName: 'Value Input Mode',
@@ -768,7 +770,7 @@ export class GoogleSheets implements INodeType {
name: 'hidden',
type: 'boolean',
default: false,
description: 'If the Sheet should be hidden in the UI',
description: 'Whether the Sheet should be hidden in the UI',
},
{
displayName: 'Title',
@@ -901,7 +903,7 @@ export class GoogleSheets implements INodeType {
name: 'columnGroupControlAfter',
type: 'boolean',
default: false,
description: 'True if the column grouping control toggle is shown after the group',
description: 'Whether the column grouping control toggle is shown after the group',
},
{
displayName: 'Frozen Column Count',
@@ -922,7 +924,7 @@ export class GoogleSheets implements INodeType {
name: 'hideGridlines',
type: 'boolean',
default: false,
description: 'True if the grid isn\'t showing gridlines in the UI',
description: 'Whether the grid isn\'t showing gridlines in the UI',
},
{
displayName: 'Row Count',
@@ -936,7 +938,7 @@ export class GoogleSheets implements INodeType {
name: 'rowGroupControlAfter',
type: 'boolean',
default: false,
description: 'True if the row grouping control toggle is shown after the group',
description: 'Whether the row grouping control toggle is shown after the group',
},
],
@@ -947,14 +949,14 @@ export class GoogleSheets implements INodeType {
name: 'hidden',
type: 'boolean',
default: false,
description: 'True if the sheet is hidden in the UI, false if it\'s visible',
description: 'Whether the sheet is hidden in the UI, false if it\'s visible',
},
{
displayName: 'Right To Left',
name: 'rightToLeft',
type: 'boolean',
default: false,
description: 'True if the sheet is an RTL sheet instead of an LTR sheet',
description: 'Whether the sheet is an RTL sheet instead of an LTR sheet',
},
{
displayName: 'Sheet ID',