mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
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:
@@ -92,7 +92,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'subject',
|
||||
description: 'Subject or title of the sales order.',
|
||||
description: 'Subject or title of the sales order',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -182,7 +182,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -190,7 +190,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -206,7 +206,7 @@ export const salesOrderFields: 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('salesOrder'),
|
||||
@@ -249,7 +249,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
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',
|
||||
@@ -259,14 +259,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Order Number',
|
||||
name: 'SO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the sales order after creating a case.',
|
||||
description: 'ID of the sales order after creating a case',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Commission',
|
||||
@@ -287,7 +287,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSalesOrderStatus',
|
||||
},
|
||||
description: 'Status of the sales order.',
|
||||
description: 'Status of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -297,7 +297,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -307,14 +307,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
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 purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -325,7 +325,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to delete.',
|
||||
description: 'ID of the sales order to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -347,7 +347,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to retrieve.',
|
||||
description: 'ID of the sales order to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -374,7 +374,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to update.',
|
||||
description: 'ID of the sales order to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -414,7 +414,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAccounts',
|
||||
},
|
||||
description: 'ID of the account associated with this invoice.',
|
||||
description: 'ID of the account associated with this invoice',
|
||||
},
|
||||
{
|
||||
displayName: 'Adjustment',
|
||||
@@ -424,7 +424,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -432,7 +432,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -448,7 +448,7 @@ export const salesOrderFields: 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('salesOrder'),
|
||||
@@ -490,7 +490,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
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',
|
||||
@@ -500,14 +500,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Order Number',
|
||||
name: 'SO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the sales order after creating a case.',
|
||||
description: 'ID of the sales order after creating a case',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Commission',
|
||||
@@ -528,7 +528,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSalesOrderStatus',
|
||||
},
|
||||
description: 'Status of the sales order.',
|
||||
description: 'Status of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -538,14 +538,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
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 sales order.',
|
||||
description: 'Subject or title of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -555,14 +555,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
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 purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user