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

@@ -6,7 +6,7 @@ export const paymentAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Transaction Date',
name: 'TxnDate',
description: 'Date when the transaction occurred.',
description: 'Date when the transaction occurred',
type: 'dateTime',
default: '',
},

View File

@@ -62,7 +62,7 @@ export const paymentFields: INodeProperties[] = [
name: 'CustomerRef',
type: 'options',
required: true,
description: 'The ID of the customer who the payment is for.',
description: 'The ID of the customer who the payment is for',
default: [],
typeOptions: {
loadOptionsMethod: 'getCustomers',
@@ -81,7 +81,7 @@ export const paymentFields: INodeProperties[] = [
{
displayName: 'Total Amount',
name: 'TotalAmt',
description: 'Total amount of the transaction.',
description: 'Total amount of the transaction',
type: 'number',
default: 0,
displayOptions: {
@@ -123,7 +123,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the payment to delete.',
description: 'The ID of the payment to delete',
displayOptions: {
show: {
resource: [
@@ -145,7 +145,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the payment to retrieve.',
description: 'The ID of the payment to retrieve',
displayOptions: {
show: {
resource: [
@@ -181,7 +181,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: 'data',
description: 'Name of the binary property to which to write to.',
description: 'Name of the binary property to which to write to',
displayOptions: {
show: {
resource: [
@@ -203,7 +203,7 @@ export const paymentFields: INodeProperties[] = [
required: true,
default: '',
placeholder: 'data.pdf',
description: 'Name of the file that will be downloaded.',
description: 'Name of the file that will be downloaded',
displayOptions: {
show: {
resource: [
@@ -227,7 +227,7 @@ export const paymentFields: INodeProperties[] = [
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Return all results.',
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
@@ -244,7 +244,7 @@ export const paymentFields: INodeProperties[] = [
name: 'limit',
type: 'number',
default: 5,
description: 'The number of results to return.',
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
maxValue: 1000,
@@ -303,7 +303,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the payment to send.',
description: 'The ID of the payment to send',
displayOptions: {
show: {
resource: [
@@ -321,7 +321,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The email of the recipient of the payment.',
description: 'The email of the recipient of the payment',
displayOptions: {
show: {
resource: [
@@ -343,7 +343,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the payment to void.',
description: 'The ID of the payment to void',
displayOptions: {
show: {
resource: [
@@ -365,7 +365,7 @@ export const paymentFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the payment to update.',
description: 'The ID of the payment to update',
displayOptions: {
show: {
resource: [