refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3432)

*  Update `lintfix` script

* 👕 Remove unneeded lint exceptions

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-description-miscased-url` (#3441)

* 👕 Apply `rule node-param-placeholder-miscased-id` (#3443)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446)

* 👕 Apply `node-param-min-value-wrong-for-limit` (#3442)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-wrong-for-dynamic-options` (#3454)

* 🔨 fix

*  Fix `Assigned To` fields

Co-authored-by: Michael Kret <michael.k@radency.com>

* 👕 Apply `rule node-param-default-wrong-for-number` (#3453)

* 👕 Apply `node-param-default-wrong-for-string` (#3452)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-miscased` (#3449)

* 🔨 fix

* 🔨 exceptions

*  review fixes

* 👕 Apply `node-param-description-lowercase-first-char` (#3451)

*  fix

*  review fixes

*  fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456)

* Rule working as intended

* Add rule

* 🔥 Remove repetitions

* 👕 Add exceptions

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Small fix for `node-param-description-wrong-for-dynamic-options`

* 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460)

* 👕 Apply `node-param-description-line-break-html-tag` (#3462)

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-options-type-unsorted-items` (#3459)

*  fix

* 🔨 exceptions

* Add exception for Salesmate and Zoom

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

*  Restore `lintfix` command

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-06-03 19:23:49 +02:00
committed by GitHub
parent 58ecadf53c
commit 70ae90fa3c
501 changed files with 4668 additions and 4555 deletions

View File

@@ -65,7 +65,7 @@ export const incidentFields: INodeProperties[] = [
description: 'A succinct description of the nature, symptoms, cause, or effect of the incident',
},
{
displayName: 'Service ID',
displayName: 'Service Name or ID',
name: 'serviceId',
type: 'options',
typeOptions: {
@@ -83,7 +83,7 @@ export const incidentFields: INodeProperties[] = [
],
},
},
description: 'The incident will be created on this service',
description: 'The incident will be created on this service. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Email',
@@ -121,14 +121,14 @@ export const incidentFields: INodeProperties[] = [
default: {},
options: [
{
displayName: 'Escalation Policy ID',
displayName: 'Escalation Policy Name or ID',
name: 'escalationPolicyId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getEscalationPolicies',
},
default: '',
description: 'Delegate this incident to the specified escalation policy. Cannot be specified if an assignee is given.',
description: 'Delegate this incident to the specified escalation policy. Cannot be specified if an assignee is given. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Incident Details',
@@ -145,14 +145,14 @@ export const incidentFields: INodeProperties[] = [
description: 'Sending subsequent requests referencing the same service and with the same incident_key will result in those requests being rejected if an open incident matches that incident_key',
},
{
displayName: 'Priority ID',
displayName: 'Priority Name or ID',
name: 'priorityId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getPriorities',
},
default: '',
description: 'The incident will be created on this service',
description: 'The incident will be created on this service. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Urgency',
@@ -416,14 +416,14 @@ export const incidentFields: INodeProperties[] = [
description: 'Team IDs. Only results related to these teams will be returned. Account must have the teams ability to use this parameter. (multiples IDs can be added separated by comma)',
},
{
displayName: 'Timezone',
displayName: 'Timezone Name or ID',
name: 'timeZone',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getTimezones',
},
default: '',
description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC.',
description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Until',
@@ -447,7 +447,7 @@ export const incidentFields: INodeProperties[] = [
},
],
default: [],
description: 'urgencies of the incidents to be returned. Defaults to all urgencies. Account must have the urgencies ability to do this',
description: 'Urgencies of the incidents to be returned. Defaults to all urgencies. Account must have the urgencies ability to do this',
},
{
displayName: 'User IDs',
@@ -525,24 +525,24 @@ export const incidentFields: INodeProperties[] = [
description: 'Escalate the incident to this level in the escalation policy',
},
{
displayName: 'Escalation Policy ID',
displayName: 'Escalation Policy Name or ID',
name: 'escalationPolicyId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getEscalationPolicies',
},
default: '',
description: 'Delegate this incident to the specified escalation policy. Cannot be specified if an assignee is given.',
description: 'Delegate this incident to the specified escalation policy. Cannot be specified if an assignee is given. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Priority ID',
displayName: 'Priority Name or ID',
name: 'priorityId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getPriorities',
},
default: '',
description: 'The incident will be created on this service',
description: 'The incident will be created on this service. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Resolution',