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

@@ -72,7 +72,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: '',
description: `Folder's name`,
description: 'Folder\'s name',
},
{
displayName: 'Parent ID',
@@ -116,7 +116,7 @@ export const folderFields: INodeProperties[] = [
{
name: 'Collaborators',
value: 'collaborators',
description: 'Only emails from registered email addresses for collaborators will be accepted.',
description: 'Only emails from registered email addresses for collaborators will be accepted',
},
{
name: 'Open',
@@ -191,7 +191,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: false,
description: 'Delete a folder that is not empty by recursively deleting the folder and all of its content.',
description: 'Delete a folder that is not empty by recursively deleting the folder and all of its content',
},
/* -------------------------------------------------------------------------- */
@@ -229,7 +229,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',
@@ -253,7 +253,7 @@ export const folderFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Additional Fields',
@@ -339,7 +339,7 @@ export const folderFields: INodeProperties[] = [
type: 'string',
default: '',
placeholder: 'pdf,png,gif',
description: 'Limits search results to a comma-separated list of file extensions.',
description: 'Limits search results to a comma-separated list of file extensions',
},
{
displayName: 'Folder IDs',
@@ -363,7 +363,7 @@ export const folderFields: INodeProperties[] = [
},
],
default: '',
description: 'Limits search results to a user scope.',
description: 'Limits search results to a user scope',
},
{
displayName: 'Size Range',
@@ -388,7 +388,7 @@ export const folderFields: INodeProperties[] = [
},
],
default: 'relevance',
description: 'returns the results ordered in descending order by date at which the item was last modified.',
description: 'returns the results ordered in descending order by date at which the item was last modified',
},
{
displayName: 'Trash Content',
@@ -405,7 +405,7 @@ export const folderFields: INodeProperties[] = [
},
],
default: 'non_trashed_only',
description: 'Controls if search results include the trash.',
description: 'Controls if search results include the trash',
},
{
displayName: 'Update At Range',
@@ -465,7 +465,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: '',
description: 'The ID of the folder to share.',
description: 'The ID of the folder to share',
},
{
displayName: 'Accessible By',
@@ -492,7 +492,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: 'user',
description: 'The type of object the file will be shared with.',
description: 'The type of object the file will be shared with',
},
{
displayName: 'Use Email',
@@ -512,7 +512,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: true,
description: 'Whether identify the user by email or ID.',
description: 'Whether identify the user by email or ID',
},
{
displayName: 'Email',
@@ -535,7 +535,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: '',
description: `The user's email address to share the folder with.`,
description: 'The user\'s email address to share the folder with',
},
{
displayName: 'User ID',
@@ -558,7 +558,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: '',
description: `The user's ID to share the folder with.`,
description: 'The user\'s ID to share the folder with',
},
{
displayName: 'Group ID',
@@ -578,7 +578,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: '',
description: `The group's ID to share the folder with.`,
description: 'The group\'s ID to share the folder with',
},
{
displayName: 'Role',
@@ -632,7 +632,7 @@ export const folderFields: INodeProperties[] = [
},
},
default: 'editor',
description: 'The level of access granted.',
description: 'The level of access granted',
},
{
displayName: 'Options',
@@ -656,7 +656,7 @@ export const folderFields: INodeProperties[] = [
name: 'can_view_path',
type: 'boolean',
default: false,
description: `Whether the invited users can see the entire parent path to the associated folder. The user will not gain privileges in any parent folder and therefore cannot see content the user is not collaborated on.`,
description: 'Whether the invited users can see the entire parent path to the associated folder. The user will not gain privileges in any parent folder and therefore cannot see content the user is not collaborated on.',
},
{
displayName: 'Expires At',
@@ -677,7 +677,7 @@ export const folderFields: INodeProperties[] = [
name: 'notify',
type: 'boolean',
default: false,
description: 'Whether if users should receive email notification for the action performed.',
description: 'Whether if users should receive email notification for the action performed',
},
],
},
@@ -724,21 +724,21 @@ export const folderFields: INodeProperties[] = [
name: 'can_non_owners_invite',
type: 'boolean',
default: false,
description: 'Specifies if users who are not the owner of the folder can invite new collaborators to the folder.',
description: 'Specifies if users who are not the owner of the folder can invite new collaborators to the folder',
},
{
displayName: 'Can Non-Owners View Colaborators',
name: 'can_non_owners_view_collaborators',
type: 'boolean',
default: false,
description: 'Restricts collaborators who are not the owner of this folder from viewing other collaborations on this folder.',
description: 'Restricts collaborators who are not the owner of this folder from viewing other collaborations on this folder',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: 'The optional description of this folder.',
description: 'The optional description of this folder',
},
{
displayName: 'Fields',
@@ -759,7 +759,7 @@ export const folderFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: 'The optional new name for this folder.',
description: 'The optional new name for this folder',
},
{
displayName: 'Parent ID',
@@ -775,7 +775,7 @@ export const folderFields: INodeProperties[] = [
typeOptions: {
multipleValues: false,
},
description: 'Share link information.',
description: 'Share link information',
placeholder: 'Add Shared Link Config',
default: {},
options: [
@@ -828,21 +828,21 @@ export const folderFields: INodeProperties[] = [
name: 'can_download',
type: 'boolean',
default: false,
description: 'If the shared link allows for downloading of files.',
description: 'If the shared link allows for downloading of files',
},
{
displayName: 'Unshared At',
name: 'unshared_at',
type: 'dateTime',
default: '',
description: 'The timestamp at which this shared link will expire.',
description: 'The timestamp at which this shared link will expire',
},
{
displayName: 'Vanity Name',
name: 'vanity_name',
type: 'string',
default: '',
description: 'Defines a custom vanity name to use in the shared link URL, for example https://app.box.com/v/my-shared-link.',
description: 'Defines a custom vanity name to use in the shared link URL, for example https://app.box.com/v/my-shared-link',
},
],
},