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:
@@ -147,7 +147,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Amount',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Monetary amount of the deal.',
|
||||
description: 'Monetary amount of the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Closing Date',
|
||||
@@ -160,7 +160,7 @@ export const dealFields: 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('deal'),
|
||||
@@ -175,21 +175,21 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Lead_Conversion_Time',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Next Step',
|
||||
name: 'Next_Step',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Description of the next step in the sales process.',
|
||||
description: 'Description of the next step in the sales process',
|
||||
},
|
||||
{
|
||||
displayName: 'Overall Sales Duration',
|
||||
name: 'Overall_Sales_Duration',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -207,7 +207,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Sales_Cycle_Duration',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Averge number of days for the deal to be won.',
|
||||
description: 'Averge number of days for the deal to be won',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -218,7 +218,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to delete.',
|
||||
description: 'ID of the deal to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -240,7 +240,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to retrieve.',
|
||||
description: 'ID of the deal to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -267,7 +267,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to update.',
|
||||
description: 'ID of the deal to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -304,7 +304,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Amount',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Monetary amount of the deal.',
|
||||
description: 'Monetary amount of the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Closing Date',
|
||||
@@ -317,7 +317,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
},
|
||||
makeCustomFieldsFixedCollection('deal'),
|
||||
{
|
||||
@@ -337,21 +337,21 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Lead_Conversion_Time',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Next Step',
|
||||
name: 'Next_Step',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Description of the next step in the sales process.',
|
||||
description: 'Description of the next step in the sales process',
|
||||
},
|
||||
{
|
||||
displayName: 'Overall Sales Duration',
|
||||
name: 'Overall_Sales_Duration',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -369,7 +369,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Sales_Cycle_Duration',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Averge number of days to win the deal.',
|
||||
description: 'Averge number of days to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Stage',
|
||||
|
||||
Reference in New Issue
Block a user