mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3432)
* ⚡ Update `lintfix` script * 👕 Remove unneeded lint exceptions * 👕 Run baseline `lintfix` * 👕 Apply `node-param-description-miscased-url` (#3441) * 👕 Apply `rule node-param-placeholder-miscased-id` (#3443) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446) * 👕 Apply `node-param-min-value-wrong-for-limit` (#3442) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-wrong-for-dynamic-options` (#3454) * 🔨 fix * ⚡ Fix `Assigned To` fields Co-authored-by: Michael Kret <michael.k@radency.com> * 👕 Apply `rule node-param-default-wrong-for-number` (#3453) * 👕 Apply `node-param-default-wrong-for-string` (#3452) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-miscased` (#3449) * 🔨 fix * 🔨 exceptions * ⚡ review fixes * 👕 Apply `node-param-description-lowercase-first-char` (#3451) * ⚡ fix * ⚡ review fixes * ⚡ fix Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456) * Rule working as intended * Add rule * 🔥 Remove repetitions * 👕 Add exceptions Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Small fix for `node-param-description-wrong-for-dynamic-options` * 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460) * 👕 Apply `node-param-description-line-break-html-tag` (#3462) * 👕 Run baseline `lintfix` * 👕 Apply `node-param-options-type-unsorted-items` (#3459) * ⚡ fix * 🔨 exceptions * Add exception for Salesmate and Zoom Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * ⚡ Restore `lintfix` command Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com> Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
@@ -76,7 +76,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'External checkout ID',
|
||||
displayName: 'External Checkout ID',
|
||||
name: 'externalcheckoutid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
@@ -93,7 +93,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order source',
|
||||
displayName: 'Order Source',
|
||||
name: 'source',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
@@ -129,7 +129,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The email address of the customer who placed the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Total price',
|
||||
displayName: 'Total Price',
|
||||
name: 'totalPrice',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
@@ -147,7 +147,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order currency',
|
||||
displayName: 'Order Currency',
|
||||
name: 'currency',
|
||||
type: 'options',
|
||||
default: 'eur',
|
||||
@@ -280,7 +280,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The quantity ordered',
|
||||
},
|
||||
{
|
||||
displayName: 'Product external ID',
|
||||
displayName: 'Product External ID',
|
||||
name: 'externalid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
@@ -370,7 +370,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The URL for the order in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'External updated date',
|
||||
displayName: 'External Updated Date',
|
||||
name: 'externalUpdatedDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
@@ -440,14 +440,14 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'External checkout ID',
|
||||
displayName: 'External Checkout ID',
|
||||
name: 'externalcheckoutid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order source',
|
||||
displayName: 'Order Source',
|
||||
name: 'source',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
@@ -461,14 +461,14 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The email address of the customer who placed the order',
|
||||
},
|
||||
{
|
||||
displayName: 'Total price',
|
||||
displayName: 'Total Price',
|
||||
name: 'totalPrice',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero.',
|
||||
},
|
||||
{
|
||||
displayName: 'Order currency',
|
||||
displayName: 'Order Currency',
|
||||
name: 'currency',
|
||||
type: 'options',
|
||||
default: 'eur',
|
||||
@@ -533,7 +533,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The URL for the order in the external service',
|
||||
},
|
||||
{
|
||||
displayName: 'External updated date',
|
||||
displayName: 'External Updated Date',
|
||||
name: 'externalUpdatedDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
@@ -588,7 +588,7 @@ export const ecomOrderFields: INodeProperties[] = [
|
||||
description: 'The quantity ordered',
|
||||
},
|
||||
{
|
||||
displayName: 'Product external ID',
|
||||
displayName: 'Product External ID',
|
||||
name: 'externalid',
|
||||
type: 'string',
|
||||
default: '',
|
||||
|
||||
Reference in New Issue
Block a user