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:
@@ -78,6 +78,7 @@ export const dealFields: INodeProperties[] = [
|
||||
displayName: 'Limit',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
description: 'Max number of results to return',
|
||||
default: 20,
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -108,7 +109,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* deal:create */
|
||||
@@ -132,7 +133,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Closing date of deal.',
|
||||
description: 'Closing date of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Expected Value',
|
||||
@@ -157,7 +158,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: 1,
|
||||
description: 'Expected Value of deal.',
|
||||
description: 'Expected Value of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Milestone',
|
||||
@@ -178,7 +179,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Milestone of deal.',
|
||||
description: 'Milestone of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -199,7 +200,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of deal.',
|
||||
description: 'Name of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -224,7 +225,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: 50,
|
||||
description: 'Expected probability.',
|
||||
description: 'Expected probability',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -263,7 +264,7 @@ export const dealFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Object of values to set as described <a href="https://github.com/agilecrm/rest-api#1-deals---companies-api">here</a>.`,
|
||||
description: 'Object of values to set as described <a href="https://github.com/agilecrm/rest-api#1-deals---companies-api">here</a>',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -294,7 +295,7 @@ export const dealFields: INodeProperties[] = [
|
||||
multipleValueButtonText: 'Add ID',
|
||||
},
|
||||
default: [],
|
||||
description: 'Unique contact identifiers.',
|
||||
description: 'Unique contact identifiers',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Data',
|
||||
@@ -315,14 +316,14 @@ export const dealFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'Property name.',
|
||||
description: 'Property name',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Property value.',
|
||||
description: 'Property value',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -372,7 +373,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Id of deal to update',
|
||||
description: 'ID of deal to update',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -412,7 +413,7 @@ export const dealFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
|
||||
description: `Object of values to set as described <a href="https://github.com/agilecrm/rest-api#1-deals---companies-api">here</a>.`,
|
||||
description: 'Object of values to set as described <a href="https://github.com/agilecrm/rest-api#1-deals---companies-api">here</a>',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -443,14 +444,14 @@ export const dealFields: INodeProperties[] = [
|
||||
maxValue: 10000,
|
||||
},
|
||||
default: '',
|
||||
description: 'Expected Value of deal.',
|
||||
description: 'Expected Value of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of deal.',
|
||||
description: 'Name of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -461,7 +462,7 @@ export const dealFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'Expected Value of deal.',
|
||||
description: 'Expected Value of deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact Ids',
|
||||
@@ -472,7 +473,7 @@ export const dealFields: INodeProperties[] = [
|
||||
multipleValueButtonText: 'Add ID',
|
||||
},
|
||||
default: [],
|
||||
description: 'Unique contact identifiers.',
|
||||
description: 'Unique contact identifiers',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Data',
|
||||
@@ -493,14 +494,14 @@ export const dealFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'Property name.',
|
||||
description: 'Property name',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Property value.',
|
||||
description: 'Property value',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user