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

@@ -38,7 +38,7 @@ export const attachmentOperations: INodeProperties[] = [
{
name: 'Get Summary',
value: 'getSummary',
description: `Returns an overview of attachment's metadata.`,
description: 'Returns an overview of attachment\'s metadata',
},
{
name: 'Update',
@@ -108,7 +108,7 @@ export const attachmentFields: INodeProperties[] = [
},
},
placeholder: '',
description: 'Name of the binary property which contains the data for the file to be uploaded.',
description: 'Name of the binary property which contains the data for the file to be uploaded',
},
{
displayName: 'Additional Fields',
@@ -132,14 +132,14 @@ export const attachmentFields: INodeProperties[] = [
name: 'description',
type: 'string',
default: '',
description: `Text description of the Document. Limit: 255 characters.`,
description: 'Text description of the Document. Limit: 255 characters.',
},
{
displayName: 'Is Private',
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false). ',
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false)',
},
{
displayName: 'Owner',
@@ -149,7 +149,7 @@ export const attachmentFields: INodeProperties[] = [
loadOptionsMethod: 'getUsers',
},
default: '',
description: 'ID of the User who owns the attachment.',
description: 'ID of the User who owns the attachment',
},
],
},
@@ -173,7 +173,7 @@ export const attachmentFields: INodeProperties[] = [
],
},
},
description: 'ID of attachment that needs to be fetched.',
description: 'ID of attachment that needs to be fetched',
},
{
displayName: 'Update Fields',
@@ -198,21 +198,21 @@ export const attachmentFields: INodeProperties[] = [
type: 'string',
default: 'data',
placeholder: '',
description: 'Name of the binary property which contains the data for the file to be uploaded.',
description: 'Name of the binary property which contains the data for the file to be uploaded',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: `Text description of the Document. Limit: 255 characters.`,
description: 'Text description of the Document. Limit: 255 characters.',
},
{
displayName: 'Is Private',
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false). ',
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false)',
},
{
displayName: 'Name',
@@ -229,7 +229,7 @@ export const attachmentFields: INodeProperties[] = [
loadOptionsMethod: 'getUsers',
},
default: '',
description: 'ID of the User who owns the attachment.',
description: 'ID of the User who owns the attachment',
},
],
},
@@ -253,7 +253,7 @@ export const attachmentFields: INodeProperties[] = [
],
},
},
description: 'ID of attachment that needs to be fetched.',
description: 'ID of attachment that needs to be fetched',
},
/* -------------------------------------------------------------------------- */
@@ -275,7 +275,7 @@ export const attachmentFields: INodeProperties[] = [
],
},
},
description: 'ID of attachment that needs to be fetched.',
description: 'ID of attachment that needs to be fetched',
},
/* -------------------------------------------------------------------------- */
@@ -296,7 +296,7 @@ export const attachmentFields: INodeProperties[] = [
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -320,7 +320,7 @@ export const attachmentFields: INodeProperties[] = [
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -347,7 +347,7 @@ export const attachmentFields: INodeProperties[] = [
typeOptions: {
multipleValues: true,
},
description: 'The condition to set.',
description: 'The condition to set',
default: {},
options: [
{
@@ -362,7 +362,7 @@ export const attachmentFields: INodeProperties[] = [
loadOptionsMethod: 'getAtachmentFields',
},
default: '',
description: 'For date, number, or boolean, please use expressions.',
description: 'For date, number, or boolean, please use expressions',
},
{
displayName: 'Operation',