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

@@ -63,7 +63,7 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Billing Email',
name: 'BillEmail',
description: 'E-mail address to which the estimate will be sent.',
description: 'E-mail address to which the estimate will be sent',
type: 'string',
default: '',
},
@@ -89,14 +89,14 @@ export const estimateAdditionalFieldsOptions: 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',
},
],
},
@@ -112,7 +112,7 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
{
displayName: 'Document Number',
name: 'DocNumber',
description: 'Reference number for the transaction.',
description: 'Reference number for the transaction',
type: 'string',
default: '',
},
@@ -210,21 +210,21 @@ export const estimateAdditionalFieldsOptions: 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: '',
},
{
displayName: 'Total Tax',
name: 'TotalTax',
description: 'Total amount of tax incurred.',
description: 'Total amount of tax incurred',
type: 'number',
default: 0,
},

View File

@@ -58,7 +58,7 @@ export const estimateFields: INodeProperties[] = [
name: 'CustomerRef',
type: 'options',
required: true,
description: 'The ID of the customer who the estimate is for.',
description: 'The ID of the customer who the estimate is for',
default: [],
typeOptions: {
loadOptionsMethod: 'getCustomers',
@@ -79,7 +79,7 @@ export const estimateFields: 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,
},
@@ -119,14 +119,14 @@ export const estimateFields: 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: {
@@ -136,7 +136,7 @@ export const estimateFields: 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,
},
@@ -170,7 +170,7 @@ export const estimateFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the estimate to delete.',
description: 'The ID of the estimate to delete',
displayOptions: {
show: {
resource: [
@@ -192,7 +192,7 @@ export const estimateFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the estimate to retrieve.',
description: 'The ID of the estimate to retrieve',
displayOptions: {
show: {
resource: [
@@ -210,7 +210,7 @@ export const estimateFields: INodeProperties[] = [
type: 'boolean',
required: true,
default: false,
description: 'Download the estimate as a PDF file.',
description: 'Download the estimate as a PDF file',
displayOptions: {
show: {
resource: [
@@ -228,7 +228,7 @@ export const estimateFields: 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: [
@@ -250,7 +250,7 @@ export const estimateFields: 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: [
@@ -274,7 +274,7 @@ export const estimateFields: 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: [
@@ -291,7 +291,7 @@ export const estimateFields: 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,
@@ -350,7 +350,7 @@ export const estimateFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the estimate to send.',
description: 'The ID of the estimate to send',
displayOptions: {
show: {
resource: [
@@ -368,7 +368,7 @@ export const estimateFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The email of the recipient of the estimate.',
description: 'The email of the recipient of the estimate',
displayOptions: {
show: {
resource: [
@@ -390,7 +390,7 @@ export const estimateFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'The ID of the estimate to update.',
description: 'The ID of the estimate to update',
displayOptions: {
show: {
resource: [