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 invoiceAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Balance',
name: 'Balance',
description: 'The balance reflecting any payments made against the transaction.',
description: 'The balance reflecting any payments made against the transaction',
type: 'number',
default: 0,
},
@@ -64,7 +64,7 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Billing Email',
name: 'BillEmail',
description: 'E-mail address to which the invoice will be sent.',
description: 'E-mail address to which the invoice will be sent',
type: 'string',
default: '',
},
@@ -97,14 +97,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
loadOptionsMethod: 'getCustomFields',
},
default: '',
description: 'ID of the field to set.',
description: 'ID of the field to set',
},
{
displayName: 'Field Value',
name: 'StringValue',
type: 'string',
default: '',
description: 'Value of the field to set.',
description: 'Value of the field to set',
},
],
},
@@ -113,14 +113,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Document Number',
name: 'DocNumber',
description: 'Reference number for the transaction.',
description: 'Reference number for the transaction',
type: 'string',
default: '',
},
{
displayName: 'Due Date',
name: 'DueDate',
description: 'Date when the payment of the transaction is due.',
description: 'Date when the payment of the transaction is due',
type: 'dateTime',
default: '',
},
@@ -173,14 +173,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Total Amount',
name: 'TotalAmt',
description: 'Total amount of the transaction.',
description: 'Total amount of the transaction',
type: 'number',
default: 0,
},
{
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 invoiceFields: INodeProperties[] = [
name: 'CustomerRef',
type: 'options',
required: true,
description: 'The ID of the customer who the invoice is for.',
description: 'The ID of the customer who the invoice is for',
default: [],
typeOptions: {
loadOptionsMethod: 'getCustomers',
@@ -83,7 +83,7 @@ export const invoiceFields: INodeProperties[] = [
name: 'Line',
type: 'collection',
placeholder: 'Add Line Item Property',
description: 'Individual line item of a transaction.',
description: 'Individual line item of a transaction',
typeOptions: {
multipleValues: true,
},
@@ -123,14 +123,14 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Amount',
name: 'Amount',
description: 'Monetary amount of the line item.',
description: 'Monetary amount of the line item',
type: 'number',
default: 0,
},
{
displayName: 'Description',
name: 'Description',
description: 'Textual description of the line item.',
description: 'Textual description of the line item',
type: 'string',
default: '',
typeOptions: {
@@ -140,7 +140,7 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Position',
name: 'LineNum',
description: 'Position of the line item relative to others.',
description: 'Position of the line item relative to others',
type: 'number',
default: 1,
},
@@ -174,7 +174,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the invoice to delete.',
description: 'The ID of the invoice to delete',
displayOptions: {
show: {
resource: [
@@ -196,7 +196,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the invoice to retrieve.',
description: 'The ID of the invoice to retrieve',
displayOptions: {
show: {
resource: [
@@ -214,7 +214,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'boolean',
required: true,
default: false,
description: 'Download the invoice as a PDF file.',
description: 'Download the invoice as a PDF file',
displayOptions: {
show: {
resource: [
@@ -232,7 +232,7 @@ export const invoiceFields: 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: [
@@ -254,7 +254,7 @@ export const invoiceFields: 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: [
@@ -278,7 +278,7 @@ export const invoiceFields: 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: [
@@ -295,7 +295,7 @@ export const invoiceFields: 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,
@@ -354,7 +354,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the invoice to send.',
description: 'The ID of the invoice to send',
displayOptions: {
show: {
resource: [
@@ -372,7 +372,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The email of the recipient of the invoice.',
description: 'The email of the recipient of the invoice',
displayOptions: {
show: {
resource: [
@@ -394,7 +394,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the invoice to void.',
description: 'The ID of the invoice to void',
displayOptions: {
show: {
resource: [
@@ -416,7 +416,7 @@ export const invoiceFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the invoice to update.',
description: 'The ID of the invoice to update',
displayOptions: {
show: {
resource: [