refactor: Apply eslint-plugin-n8n-nodes-base autofixable rules (#3174)
* ⚡ Initial setup * 👕 Update `.eslintignore` * 👕 Autofix node-param-default-missing (#3173) * 🔥 Remove duplicate key * 👕 Add exceptions * 📦 Update package-lock.json * 👕 Apply `node-class-description-inputs-wrong-trigger-node` (#3176) * 👕 Apply `node-class-description-inputs-wrong-regular-node` (#3177) * 👕 Apply `node-class-description-outputs-wrong` (#3178) * 👕 Apply `node-execute-block-double-assertion-for-items` (#3179) * 👕 Apply `node-param-default-wrong-for-collection` (#3180) * 👕 Apply node-param-default-wrong-for-boolean (#3181) * Autofixed default missing * Autofixed booleans, worked well * ⚡ Fix params * ⏪ Undo exempted autofixes * 📦 Update package-lock.json * 👕 Apply node-class-description-missing-subtitle (#3182) * ⚡ Fix missing comma * 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3184) * 👕 Add exception for `node-class-description-missing-subtitle` * 👕 Apply `node-param-default-wrong-for-multi-options` (#3185) * 👕 Apply `node-param-collection-type-unsorted-items` (#3186) * Missing coma * 👕 Apply `node-param-default-wrong-for-simplify` (#3187) * 👕 Apply `node-param-description-comma-separated-hyphen` (#3190) * 👕 Apply `node-param-description-empty-string` (#3189) * 👕 Apply `node-param-description-excess-inner-whitespace` (#3191) * Rule looks good * Add whitespace rule in eslint config * :zao: fix * 👕 Apply `node-param-description-identical-to-display-name` (#3193) * 👕 Apply `node-param-description-missing-for-ignore-ssl-issues` (#3195) * ⏪ Revert ":zao: fix" This reverts commit ef8a76f3dfedffd1bdccf3178af8a8d90cf5a55c. * 👕 Apply `node-param-description-missing-for-simplify` (#3196) * 👕 Apply `node-param-description-missing-final-period` (#3194) * Rule working as intended * Add rule to eslint * 👕 Apply node-param-description-missing-for-return-all (#3197) * ⚡ Restore `lintfix` command Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: agobrech <ael.gobrecht@gmail.com> Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -61,7 +61,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Meeting title. The title can be a maximum of 128 characters long',
|
||||
description: 'Meeting title. The title can be a maximum of 128 characters long.',
|
||||
},
|
||||
{
|
||||
displayName: 'Start',
|
||||
@@ -79,7 +79,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Date and time for the start of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'Date and time for the start of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'End',
|
||||
@@ -97,7 +97,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Date and time for the end of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'Date and time for the end of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -121,7 +121,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'agenda',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Meeting agenda. The agenda can be a maximum of 1300 characters long',
|
||||
description: 'Meeting agenda. The agenda can be a maximum of 1300 characters long.',
|
||||
},
|
||||
{
|
||||
displayName: 'Allow Any User To Be Co-Host',
|
||||
@@ -184,14 +184,14 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'hostEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Email address for the meeting host. Can only be set if you're an admin`,
|
||||
description: 'Email address for the meeting host. Can only be set if you\'re an admin.',
|
||||
},
|
||||
{
|
||||
displayName: 'Integration Tags',
|
||||
name: 'integrationTags',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `External keys created by an integration application in its own domain. They could be Zendesk ticket IDs, Jira IDs, Salesforce Opportunity IDs, etc`,
|
||||
description: 'External keys created by an integration application in its own domain. They could be Zendesk ticket IDs, Jira IDs, Salesforce Opportunity IDs, etc.',
|
||||
},
|
||||
{
|
||||
displayName: 'Invitees',
|
||||
@@ -200,7 +200,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
default: '',
|
||||
default: {},
|
||||
placeholder: 'Add Invitee',
|
||||
options: [
|
||||
{
|
||||
@@ -270,7 +270,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'recurrence',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Rule for how the meeting should recur. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>`,
|
||||
description: 'Rule for how the meeting should recur. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Required Registration Info',
|
||||
@@ -355,7 +355,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getSites',
|
||||
},
|
||||
default: '',
|
||||
description: `URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user's preferred site`,
|
||||
description: 'URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user\'s preferred site.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -403,7 +403,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'hostEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes',
|
||||
description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes.',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Email',
|
||||
@@ -458,21 +458,21 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'hostEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes',
|
||||
description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes.',
|
||||
},
|
||||
{
|
||||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Meeting password. It's required when the meeting is protected by a password and the current user is not privileged to view it if they are not a host, co-host or invitee of the meeting`,
|
||||
description: 'Meeting password. It\'s required when the meeting is protected by a password and the current user is not privileged to view it if they are not a host, co-host or invitee of the meeting.',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Email',
|
||||
name: 'sendEmail',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true',
|
||||
description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -542,7 +542,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'from',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Start date and time (inclusive) for the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'Start date and time (inclusive) for the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Host Email',
|
||||
@@ -658,7 +658,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'to',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'End date and time (inclusive) for the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'End date and time (inclusive) for the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Weblink',
|
||||
@@ -713,7 +713,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'agenda',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The meeting's agenda. Cannot be longer that 1300 characters`,
|
||||
description: 'The meeting\'s agenda. Cannot be longer that 1300 characters.',
|
||||
},
|
||||
{
|
||||
displayName: 'Allow Any User To Be Co-Host',
|
||||
@@ -762,7 +762,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'end',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date and time for the end of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'Date and time for the end of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Exclude Password',
|
||||
@@ -776,7 +776,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'hostEmail',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Email address for the meeting host. This attribute should only be set if the user or application calling the API has the admin-level scopes`,
|
||||
description: 'Email address for the meeting host. This attribute should only be set if the user or application calling the API has the admin-level scopes.',
|
||||
},
|
||||
{
|
||||
displayName: 'Invitees',
|
||||
@@ -785,7 +785,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
default: '',
|
||||
default: {},
|
||||
placeholder: 'Add Invitee',
|
||||
options: [
|
||||
{
|
||||
@@ -937,7 +937,7 @@ export const meetingFields: INodeProperties[] = [
|
||||
name: 'sendEmail',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Whether or not to send emails to host and invitees. It is an optional field and default value is true`,
|
||||
description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true.',
|
||||
},
|
||||
{
|
||||
displayName: 'Site URL',
|
||||
@@ -947,14 +947,14 @@ export const meetingFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getSites',
|
||||
},
|
||||
default: '',
|
||||
description: `URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user's preferred site`,
|
||||
description: 'URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user\'s preferred site.',
|
||||
},
|
||||
{
|
||||
displayName: 'Start',
|
||||
name: 'start',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date and time for the start of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>',
|
||||
description: 'Date and time for the start of the meeting. Acceptable <a href="https://datatracker.ietf.org/doc/html/rfc2445"> format</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
|
||||
Reference in New Issue
Block a user