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

@@ -81,7 +81,7 @@ export const userFields: INodeProperties[] = [
},
},
required: true,
description: `The user's name`,
description: 'The user\'s name',
},
{
displayName: 'Additional Fields',
@@ -105,14 +105,14 @@ export const userFields: INodeProperties[] = [
name: 'alias',
type: 'string',
default: '',
description: `An alias displayed to end users`,
description: 'An alias displayed to end users',
},
{
displayName: 'Custom Role ID',
name: 'custom_role_id',
type: 'number',
default: 0,
description: `A custom role if the user is an agent on the Enterprise plan`,
description: 'A custom role if the user is an agent on the Enterprise plan',
},
{
displayName: 'Details',
@@ -126,7 +126,7 @@ export const userFields: INodeProperties[] = [
name: 'email',
type: 'string',
default: '',
description: `The user's primary email address`,
description: 'The user\'s primary email address',
},
{
displayName: 'External ID',
@@ -143,7 +143,7 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getLocales',
},
default: '',
description: `The user's locale.`,
description: 'The user\'s locale',
},
{
displayName: 'Moderator',
@@ -164,7 +164,7 @@ export const userFields: INodeProperties[] = [
name: 'only_private_comments',
type: 'boolean',
default: false,
description: `true if the user can only create private comments`,
description: 'true if the user can only create private comments',
},
{
displayName: 'Organization ID',
@@ -174,28 +174,28 @@ export const userFields: INodeProperties[] = [
},
type: 'options',
default: '',
description: 'The id of the user\'s organization. If the user has more than one organization memberships, the id of the user\'s default organization.',
description: 'The ID of the user\'s organization. If the user has more than one organization memberships, the ID of the user\'s default organization.',
},
{
displayName: 'Phone',
name: 'phone',
type: 'string',
default: '',
description: `The user's primary phone number.`,
description: 'The user\'s primary phone number',
},
{
displayName: 'Report CSV',
name: 'report_csv',
type: 'boolean',
default: false,
description: `Whether or not the user can access the CSV report on the Search tab of the Reporting page in the Support admin interface.`,
description: 'Whether or not the user can access the CSV report on the Search tab of the Reporting page in the Support admin interface',
},
{
displayName: 'Restricted Agent',
name: 'restricted_agent',
type: 'boolean',
default: false,
description: `If the agent has any restrictions; false for admins and unrestricted agents, true for other agents`,
description: 'If the agent has any restrictions; false for admins and unrestricted agents, true for other agents',
},
{
displayName: 'Role',
@@ -216,7 +216,7 @@ export const userFields: INodeProperties[] = [
},
],
default: '',
description: `The user's role`,
description: 'The user\'s role',
},
{
displayName: 'Signature',
@@ -265,20 +265,20 @@ export const userFields: INodeProperties[] = [
},
],
default: '',
description: `Specifies which tickets the user has access to`,
description: 'Specifies which tickets the user has access to',
},
{
displayName: 'Timezone',
name: 'time_zone',
type: 'string',
default: '',
description: `The user's time zone.`,
description: 'The user\'s time zone',
},
{
displayName: 'User Fields',
name: 'userFieldsUi',
placeholder: 'Add User Field',
description: `Values of custom fields in the user's profile.`,
description: 'Values of custom fields in the user\'s profile',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -297,14 +297,14 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getUserFields',
},
default: '',
description: 'Name of the field to sort on.',
description: 'Name of the field to sort on',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the field.',
description: 'Value of the field',
},
],
},
@@ -315,7 +315,7 @@ export const userFields: INodeProperties[] = [
name: 'verified',
type: 'boolean',
default: false,
description: `The user's primary identity is verified or not`,
description: 'The user\'s primary identity is verified or not',
},
],
},
@@ -361,14 +361,14 @@ export const userFields: INodeProperties[] = [
name: 'alias',
type: 'string',
default: '',
description: `An alias displayed to end users`,
description: 'An alias displayed to end users',
},
{
displayName: 'Custom Role ID',
name: 'custom_role_id',
type: 'number',
default: 0,
description: `A custom role if the user is an agent on the Enterprise plan`,
description: 'A custom role if the user is an agent on the Enterprise plan',
},
{
displayName: 'Details',
@@ -382,7 +382,7 @@ export const userFields: INodeProperties[] = [
name: 'email',
type: 'string',
default: '',
description: `The user's primary email address`,
description: 'The user\'s primary email address',
},
{
displayName: 'External ID',
@@ -399,7 +399,7 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getLocales',
},
default: '',
description: `The user's locale.`,
description: 'The user\'s locale',
},
{
displayName: 'Moderator',
@@ -413,7 +413,7 @@ export const userFields: INodeProperties[] = [
name: 'name',
type: 'string',
default: '',
description: `The user's name`,
description: 'The user\'s name',
},
{
displayName: 'Notes',
@@ -427,7 +427,7 @@ export const userFields: INodeProperties[] = [
name: 'only_private_comments',
type: 'boolean',
default: false,
description: `true if the user can only create private comments`,
description: 'true if the user can only create private comments',
},
{
displayName: 'Organization ID',
@@ -437,28 +437,28 @@ export const userFields: INodeProperties[] = [
},
type: 'options',
default: '',
description: 'The id of the user\'s organization. If the user has more than one organization memberships, the id of the user\'s default organization.',
description: 'The ID of the user\'s organization. If the user has more than one organization memberships, the ID of the user\'s default organization.',
},
{
displayName: 'Phone',
name: 'phone',
type: 'string',
default: '',
description: `The user's primary phone number.`,
description: 'The user\'s primary phone number',
},
{
displayName: 'Report CSV',
name: 'report_csv',
type: 'boolean',
default: false,
description: `Whether or not the user can access the CSV report on the Search tab of the Reporting page in the Support admin interface.`,
description: 'Whether or not the user can access the CSV report on the Search tab of the Reporting page in the Support admin interface',
},
{
displayName: 'Restricted Agent',
name: 'restricted_agent',
type: 'boolean',
default: false,
description: `If the agent has any restrictions; false for admins and unrestricted agents, true for other agents`,
description: 'If the agent has any restrictions; false for admins and unrestricted agents, true for other agents',
},
{
displayName: 'Role',
@@ -479,7 +479,7 @@ export const userFields: INodeProperties[] = [
},
],
default: '',
description: `The user's role`,
description: 'The user\'s role',
},
{
displayName: 'Signature',
@@ -528,20 +528,20 @@ export const userFields: INodeProperties[] = [
},
],
default: '',
description: `Specifies which tickets the user has access to`,
description: 'Specifies which tickets the user has access to',
},
{
displayName: 'Timezone',
name: 'time_zone',
type: 'string',
default: '',
description: `The user's time zone.`,
description: 'The user\'s time zone',
},
{
displayName: 'User Fields',
name: 'userFieldsUi',
placeholder: 'Add User Field',
description: `Values of custom fields in the user's profile.`,
description: 'Values of custom fields in the user\'s profile',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
@@ -560,14 +560,14 @@ export const userFields: INodeProperties[] = [
loadOptionsMethod: 'getUserFields',
},
default: '',
description: 'Name of the field to sort on.',
description: 'Name of the field to sort on',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the field.',
description: 'Value of the field',
},
],
},
@@ -578,7 +578,7 @@ export const userFields: INodeProperties[] = [
name: 'verified',
type: 'boolean',
default: false,
description: `The user's primary identity is verified or not`,
description: 'The user\'s primary identity is verified or not',
},
],
},
@@ -620,7 +620,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',
@@ -644,7 +644,7 @@ export const userFields: INodeProperties[] = [
maxValue: 100,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Filters',
@@ -703,7 +703,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',
@@ -727,7 +727,7 @@ export const userFields: INodeProperties[] = [
maxValue: 100,
},
default: 100,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Filters',