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

@@ -67,7 +67,7 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Subject',
name: 'subject',
description: 'Subject or title of the invoice.',
description: 'Subject or title of the invoice',
type: 'string',
required: true,
default: '',
@@ -157,14 +157,14 @@ export const invoiceFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getAccounts',
},
description: 'ID of the account associated with this invoice.',
description: 'ID of the account associated with this invoice',
},
{
displayName: 'Adjustment',
name: 'Adjustment',
type: 'number',
default: '',
description: 'Adjustment in the grand total, if any.',
description: 'Adjustment in the grand total, if any',
},
billingAddress,
{
@@ -172,7 +172,7 @@ export const invoiceFields: INodeProperties[] = [
name: 'Currency',
type: 'options',
default: 'USD',
description: 'Symbol of the currency in which revenue is generated.',
description: 'Symbol of the currency in which revenue is generated',
options: currencies,
},
makeCustomFieldsFixedCollection('invoice'),
@@ -193,14 +193,14 @@ export const invoiceFields: INodeProperties[] = [
name: 'Exchange_Rate',
type: 'number',
default: '',
description: 'Exchange rate of the default currency to the home currency.',
description: 'Exchange rate of the default currency to the home currency',
},
{
displayName: 'Grand Total',
name: 'Grand_Total',
type: 'number',
default: '',
description: 'Total amount for the product after deducting tax and discounts.',
description: 'Total amount for the product after deducting tax and discounts',
},
{
displayName: 'Invoice Date',
@@ -233,21 +233,21 @@ export const invoiceFields: INodeProperties[] = [
name: 'Sub_Total',
type: 'number',
default: '',
description: 'Total amount for the product excluding tax.',
description: 'Total amount for the product excluding tax',
},
{
displayName: 'Tax',
name: 'Tax',
type: 'number',
default: '',
description: 'Tax amount as the sum of sales tax and value-added tax.',
description: 'Tax amount as the sum of sales tax and value-added tax',
},
{
displayName: 'Terms and Conditions',
name: 'Terms_and_Conditions',
type: 'string',
default: '',
description: 'Terms and conditions associated with the invoice.',
description: 'Terms and conditions associated with the invoice',
},
],
},
@@ -258,7 +258,7 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Invoice ID',
name: 'invoiceId',
description: 'ID of the invoice to delete.',
description: 'ID of the invoice to delete',
type: 'string',
required: true,
default: '',
@@ -280,7 +280,7 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Invoice ID',
name: 'invoiceId',
description: 'ID of the invoice to retrieve.',
description: 'ID of the invoice to retrieve',
type: 'string',
required: true,
default: '',
@@ -307,7 +307,7 @@ export const invoiceFields: INodeProperties[] = [
{
displayName: 'Invoice ID',
name: 'invoiceId',
description: 'ID of the invoice to update.',
description: 'ID of the invoice to update',
type: 'string',
required: true,
default: '',
@@ -347,14 +347,14 @@ export const invoiceFields: INodeProperties[] = [
typeOptions: {
loadOptionsMethod: 'getAccounts',
},
description: 'ID of the account associated with this invoice.',
description: 'ID of the account associated with this invoice',
},
{
displayName: 'Adjustment',
name: 'Adjustment',
type: 'number',
default: '',
description: 'Adjustment in the grand total, if any.',
description: 'Adjustment in the grand total, if any',
},
billingAddress,
{
@@ -362,7 +362,7 @@ export const invoiceFields: INodeProperties[] = [
name: 'Currency',
type: 'options',
default: 'USD',
description: 'Symbol of the currency in which revenue is generated.',
description: 'Symbol of the currency in which revenue is generated',
options: currencies,
},
makeCustomFieldsFixedCollection('invoice'),
@@ -383,14 +383,14 @@ export const invoiceFields: INodeProperties[] = [
name: 'Exchange_Rate',
type: 'number',
default: '',
description: 'Exchange rate of the default currency to the home currency.',
description: 'Exchange rate of the default currency to the home currency',
},
{
displayName: 'Grand Total',
name: 'Grand_Total',
type: 'number',
default: '',
description: 'Total amount for the product after deducting tax and discounts.',
description: 'Total amount for the product after deducting tax and discounts',
},
{
displayName: 'Invoice Date',
@@ -435,28 +435,28 @@ export const invoiceFields: INodeProperties[] = [
name: 'Sub_Total',
type: 'number',
default: '',
description: 'Total amount for the product excluding tax.',
description: 'Total amount for the product excluding tax',
},
{
displayName: 'Subject',
name: 'Subject',
type: 'string',
default: '',
description: 'Subject or title of the invoice.',
description: 'Subject or title of the invoice',
},
{
displayName: 'Tax',
name: 'Tax',
type: 'number',
default: '',
description: 'Tax amount as the sum of sales tax and value-added tax.',
description: 'Tax amount as the sum of sales tax and value-added tax',
},
{
displayName: 'Terms and Conditions',
name: 'Terms_and_Conditions',
type: 'string',
default: '',
description: 'Terms and conditions associated with the invoice.',
description: 'Terms and conditions associated with the invoice',
},
],
},