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

@@ -62,7 +62,7 @@ export const bucketFields: INodeProperties[] = [
],
},
},
description: 'A succinct description of the nature, symptoms, cause, or effect of the bucket.',
description: 'A succinct description of the nature, symptoms, cause, or effect of the bucket',
},
{
displayName: 'Additional Fields',
@@ -104,56 +104,56 @@ export const bucketFields: INodeProperties[] = [
},
],
default: '',
description: 'The canned ACL to apply to the bucket.',
description: 'The canned ACL to apply to the bucket',
},
{
displayName: 'Bucket Object Lock Enabled',
name: 'bucketObjectLockEnabled',
type: 'boolean',
default: false,
description: 'Specifies whether you want S3 Object Lock to be enabled for the new bucket.',
description: 'Specifies whether you want S3 Object Lock to be enabled for the new bucket',
},
{
displayName: 'Grant Full Control',
name: 'grantFullControl',
type: 'boolean',
default: false,
description: 'Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.',
description: 'Allows grantee the read, write, read ACP, and write ACP permissions on the bucket',
},
{
displayName: 'Grant Read',
name: 'grantRead',
type: 'boolean',
default: false,
description: 'Allows grantee to list the objects in the bucket.',
description: 'Allows grantee to list the objects in the bucket',
},
{
displayName: 'Grant Read ACP',
name: 'grantReadAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to read the bucket ACL.',
description: 'Allows grantee to read the bucket ACL',
},
{
displayName: 'Grant Write',
name: 'grantWrite',
type: 'boolean',
default: false,
description: 'Allows grantee to create, overwrite, and delete any object in the bucket.',
description: 'Allows grantee to create, overwrite, and delete any object in the bucket',
},
{
displayName: 'Grant Write ACP',
name: 'grantWriteAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to write the ACL for the applicable bucket.',
description: 'Allows grantee to write the ACL for the applicable bucket',
},
{
displayName: 'Region',
name: 'region',
type: 'string',
default: '',
description: 'Region you want to create the bucket in, by default the buckets are created on the region defined on the credentials.',
description: 'Region you want to create the bucket in, by default the buckets are created on the region defined on the credentials',
},
],
},
@@ -177,7 +177,7 @@ export const bucketFields: INodeProperties[] = [
],
},
},
description: 'Name of the AWS S3 bucket to delete.',
description: 'Name of the AWS S3 bucket to delete',
},
/* -------------------------------------------------------------------------- */
@@ -198,7 +198,7 @@ export const bucketFields: 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',
@@ -222,7 +222,7 @@ export const bucketFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
/* -------------------------------------------------------------------------- */
/* bucket:search */
@@ -259,7 +259,7 @@ export const bucketFields: 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',
@@ -283,7 +283,7 @@ export const bucketFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Additional Fields',
@@ -307,7 +307,7 @@ export const bucketFields: INodeProperties[] = [
name: 'delimiter',
type: 'string',
default: '',
description: 'A delimiter is a character you use to group keys.',
description: 'A delimiter is a character you use to group keys',
},
{
displayName: 'Encoding Type',
@@ -320,21 +320,21 @@ export const bucketFields: INodeProperties[] = [
},
],
default: '',
description: 'Encoding type used by Amazon S3 to encode object keys in the response.',
description: 'Encoding type used by Amazon S3 to encode object keys in the response',
},
{
displayName: 'Fetch Owner',
name: 'fetchOwner',
type: 'boolean',
default: false,
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true.',
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true',
},
{
displayName: 'Prefix',
name: 'prefix',
type: 'string',
default: '',
description: 'Limits the response to keys that begin with the specified prefix.',
description: 'Limits the response to keys that begin with the specified prefix',
},
{
displayName: 'Requester Pays',

View File

@@ -141,35 +141,35 @@ export const fileFields: INodeProperties[] = [
},
],
default: 'private',
description: 'The canned ACL to apply to the object.',
description: 'The canned ACL to apply to the object',
},
{
displayName: 'Grant Full Control',
name: 'grantFullControl',
type: 'boolean',
default: false,
description: 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.',
description: 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object',
},
{
displayName: 'Grant Read',
name: 'grantRead',
type: 'boolean',
default: false,
description: 'Allows grantee to read the object data and its metadata.',
description: 'Allows grantee to read the object data and its metadata',
},
{
displayName: 'Grant Read ACP',
name: 'grantReadAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to read the object ACL.',
description: 'Allows grantee to read the object ACL',
},
{
displayName: 'Grant Write ACP',
name: 'grantWriteAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to write the ACL for the applicable object.',
description: 'Allows grantee to write the ACL for the applicable object',
},
{
displayName: 'Lock Legal Hold',
@@ -193,14 +193,14 @@ export const fileFields: INodeProperties[] = [
},
],
default: '',
description: 'The Object Lock mode that you want to apply to this object.',
description: 'The Object Lock mode that you want to apply to this object',
},
{
displayName: 'Lock Retain Until Date',
name: 'lockRetainUntilDate',
type: 'dateTime',
default: '',
description: `The date and time when you want this object's Object Lock to expire.`,
description: 'The date and time when you want this object\'s Object Lock to expire',
},
{
displayName: 'Metadata Directive',
@@ -217,7 +217,7 @@ export const fileFields: INodeProperties[] = [
},
],
default: '',
description: 'Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.',
description: 'Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request',
},
{
displayName: 'Requester Pays',
@@ -262,7 +262,7 @@ export const fileFields: INodeProperties[] = [
name: 'serversideEncryptionCustomerAlgorithm',
type: 'string',
default: '',
description: 'Specifies the algorithm to use to when encrypting the object (for example, AES256).',
description: 'Specifies the algorithm to use to when encrypting the object (for example, AES256)',
},
{
displayName: 'Server Side Encryption Customer Key',
@@ -276,7 +276,7 @@ export const fileFields: INodeProperties[] = [
name: 'serversideEncryptionCustomerKeyMD5',
type: 'string',
default: '',
description: 'Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.',
description: 'Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321',
},
{
displayName: 'Storage Class',
@@ -309,7 +309,7 @@ export const fileFields: INodeProperties[] = [
},
],
default: 'standard',
description: 'Amazon S3 storage classes.',
description: 'Amazon S3 storage classes',
},
{
displayName: 'Tagging Directive',
@@ -326,7 +326,7 @@ export const fileFields: INodeProperties[] = [
},
],
default: '',
description: 'Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.',
description: 'Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request',
},
],
},
@@ -389,7 +389,7 @@ export const fileFields: INodeProperties[] = [
],
},
},
description: 'If not set the binary data filename will be used.',
description: 'If not set the binary data filename will be used',
},
{
displayName: 'Binary Data',
@@ -406,7 +406,7 @@ export const fileFields: INodeProperties[] = [
],
},
},
description: 'If the data to upload should be taken from binary field.',
description: 'If the data to upload should be taken from binary field',
},
{
displayName: 'File Content',
@@ -427,7 +427,7 @@ export const fileFields: INodeProperties[] = [
},
},
placeholder: '',
description: 'The text content of the file to upload.',
description: 'The text content of the file to upload',
},
{
displayName: 'Binary Property',
@@ -450,7 +450,7 @@ export const fileFields: 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',
@@ -504,35 +504,35 @@ export const fileFields: INodeProperties[] = [
},
],
default: 'private',
description: 'The canned ACL to apply to the object.',
description: 'The canned ACL to apply to the object',
},
{
displayName: 'Grant Full Control',
name: 'grantFullControl',
type: 'boolean',
default: false,
description: 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.',
description: 'Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object',
},
{
displayName: 'Grant Read',
name: 'grantRead',
type: 'boolean',
default: false,
description: 'Allows grantee to read the object data and its metadata.',
description: 'Allows grantee to read the object data and its metadata',
},
{
displayName: 'Grant Read ACP',
name: 'grantReadAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to read the object ACL.',
description: 'Allows grantee to read the object ACL',
},
{
displayName: 'Grant Write ACP',
name: 'grantWriteAcp',
type: 'boolean',
default: false,
description: 'Allows grantee to write the ACL for the applicable object.',
description: 'Allows grantee to write the ACL for the applicable object',
},
{
displayName: 'Lock Legal Hold',
@@ -556,14 +556,14 @@ export const fileFields: INodeProperties[] = [
},
],
default: '',
description: 'The Object Lock mode that you want to apply to this object.',
description: 'The Object Lock mode that you want to apply to this object',
},
{
displayName: 'Lock Retain Until Date',
name: 'lockRetainUntilDate',
type: 'dateTime',
default: '',
description: `The date and time when you want this object's Object Lock to expire.`,
description: 'The date and time when you want this object\'s Object Lock to expire',
},
{
displayName: 'Parent Folder Key',
@@ -615,7 +615,7 @@ export const fileFields: INodeProperties[] = [
name: 'serversideEncryptionCustomerAlgorithm',
type: 'string',
default: '',
description: 'Specifies the algorithm to use to when encrypting the object (for example, AES256).',
description: 'Specifies the algorithm to use to when encrypting the object (for example, AES256)',
},
{
displayName: 'Server Side Encryption Customer Key',
@@ -629,7 +629,7 @@ export const fileFields: INodeProperties[] = [
name: 'serversideEncryptionCustomerKeyMD5',
type: 'string',
default: '',
description: 'Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.',
description: 'Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321',
},
{
displayName: 'Storage Class',
@@ -662,7 +662,7 @@ export const fileFields: INodeProperties[] = [
},
],
default: 'standard',
description: 'Amazon S3 storage classes.',
description: 'Amazon S3 storage classes',
},
],
},
@@ -705,7 +705,7 @@ export const fileFields: INodeProperties[] = [
],
},
],
description: 'Optional extra headers to add to the message (most headers are allowed).',
description: 'Optional extra headers to add to the message (most headers are allowed)',
},
/* -------------------------------------------------------------------------- */
/* file:download */
@@ -760,7 +760,7 @@ export const fileFields: INodeProperties[] = [
],
},
},
description: 'Name of the binary property to which to write the data of the read file.',
description: 'Name of the binary property to which to write the data of the read file',
},
/* -------------------------------------------------------------------------- */
/* file:delete */
@@ -859,7 +859,7 @@ export const fileFields: 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',
@@ -883,7 +883,7 @@ export const fileFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -907,7 +907,7 @@ export const fileFields: INodeProperties[] = [
name: 'fetchOwner',
type: 'boolean',
default: false,
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true.',
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true',
},
{
displayName: 'Folder Key',

View File

@@ -141,7 +141,7 @@ export const folderFields: INodeProperties[] = [
},
],
default: 'standard',
description: 'Amazon S3 storage classes.',
description: 'Amazon S3 storage classes',
},
],
},
@@ -217,7 +217,7 @@ export const folderFields: 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',
@@ -241,7 +241,7 @@ export const folderFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Options',
@@ -265,7 +265,7 @@ export const folderFields: INodeProperties[] = [
name: 'fetchOwner',
type: 'boolean',
default: false,
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true.',
description: 'The owner field is not present in listV2 by default, if you want to return owner field with each key in the result then set the fetch owner field to true',
},
{
displayName: 'Folder Key',