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

@@ -140,7 +140,7 @@ export const userFields: INodeProperties[] = [
},
},
default: '',
description: `The username that will be set to the user. Example: If you domain is example.com and you set the username to jhon then the user's final email address will be jhon@example.com.`,
description: 'The username that will be set to the user. Example: If you domain is example.com and you set the username to jhon then the user\'s final email address will be jhon@example.com.',
},
{
displayName: 'Make Admin',
@@ -182,7 +182,7 @@ export const userFields: INodeProperties[] = [
name: 'changePasswordAtNextLogin',
type: 'boolean',
default: false,
description: 'Indicates if the user is forced to change their password at next login.',
description: 'Indicates if the user is forced to change their password at next login',
},
{
displayName: 'Phones',
@@ -302,7 +302,7 @@ export const userFields: INodeProperties[] = [
name: 'primary',
type: 'boolean',
default: false,
description: `Indicates if this is the user's primary phone number. A user may only have one primary phone number.`,
description: 'Indicates if this is the user\'s primary phone number. A user may only have one primary phone number.',
},
],
},
@@ -374,7 +374,7 @@ export const userFields: INodeProperties[] = [
},
},
default: '',
description: `The value can be the user's primary email address, alias email address, or unique user ID.`,
description: 'The value can be the user\'s primary email address, alias email address, or unique user ID',
},
/* -------------------------------------------------------------------------- */
/* user:get */
@@ -395,7 +395,7 @@ export const userFields: INodeProperties[] = [
},
},
default: '',
description: `The value can be the user's primary email address, alias email address, or unique user ID.`,
description: 'The value can be the user\'s primary email address, alias email address, or unique user ID',
},
{
displayName: 'Projection',
@@ -464,7 +464,7 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getSchemas',
},
default: [],
description: `A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.`,
description: 'A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.',
},
{
displayName: 'View Type',
@@ -505,7 +505,7 @@ export const userFields: 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',
@@ -529,7 +529,7 @@ export const userFields: INodeProperties[] = [
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Projection',
@@ -598,7 +598,7 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getSchemas',
},
default: [],
description: `A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.`,
description: 'A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.',
},
{
displayName: 'Customer',
@@ -633,7 +633,7 @@ export const userFields: INodeProperties[] = [
},
],
default: '',
description: 'Property to use for sorting results.',
description: 'Property to use for sorting results',
},
{
displayName: 'Query',
@@ -647,7 +647,7 @@ export const userFields: INodeProperties[] = [
name: 'showDeleted',
type: 'boolean',
default: false,
description: 'If set to true, retrieves the list of deleted users.',
description: 'If set to true, retrieves the list of deleted users',
},
{
displayName: 'Sort Order',
@@ -706,7 +706,7 @@ export const userFields: INodeProperties[] = [
},
},
default: '',
description: `The value can be the user's primary email address, alias email address, or unique user ID.`,
description: 'The value can be the user\'s primary email address, alias email address, or unique user ID',
},
{
displayName: 'Update Fields',
@@ -730,14 +730,14 @@ export const userFields: INodeProperties[] = [
name: 'archived',
type: 'boolean',
default: false,
description: 'Indicates if user is archived.',
description: 'Indicates if user is archived',
},
{
displayName: 'Change Password At Next Login',
name: 'changePasswordAtNextLogin',
type: 'boolean',
default: false,
description: 'Indicates if the user is forced to change their password at next login.',
description: 'Indicates if the user is forced to change their password at next login',
},
{
displayName: 'First Name',
@@ -876,7 +876,7 @@ export const userFields: INodeProperties[] = [
name: 'primary',
type: 'boolean',
default: false,
description: `Indicates if this is the user's primary phone number. A user may only have one primary phone number.`,
description: 'Indicates if this is the user\'s primary phone number. A user may only have one primary phone number.',
},
],
},
@@ -887,7 +887,7 @@ export const userFields: INodeProperties[] = [
name: 'primaryEmail',
type: 'string',
default: '',
description: `The user's primary email address. This property is required in a request to create a user account. The primaryEmail must be unique and cannot be an alias of another user.`,
description: 'The user\'s primary email address. This property is required in a request to create a user account. The primaryEmail must be unique and cannot be an alias of another user.',
},
{
displayName: 'Secondary Emails',