mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +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:
@@ -43,7 +43,7 @@ export const accountOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Summary',
|
||||
value: 'getSummary',
|
||||
description: `Returns an overview of account's metadata.`,
|
||||
description: 'Returns an overview of account\'s metadata',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
@@ -88,7 +88,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `The field to check to see if the account already exists`,
|
||||
description: 'The field to check to see if the account already exists',
|
||||
},
|
||||
{
|
||||
displayName: 'Value to Match',
|
||||
@@ -160,7 +160,7 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getAccountSources',
|
||||
},
|
||||
default: '',
|
||||
description: 'The source of the account record.',
|
||||
description: 'The source of the account record',
|
||||
},
|
||||
{
|
||||
displayName: 'Annual Revenue',
|
||||
@@ -170,7 +170,7 @@ export const accountFields: INodeProperties[] = [
|
||||
numberPrecision: 2,
|
||||
},
|
||||
default: '',
|
||||
description: 'Estimated annual revenue of the account.',
|
||||
description: 'Estimated annual revenue of the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Billing City',
|
||||
@@ -205,7 +205,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'billingStreet',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Street address for the billing address of this account.',
|
||||
description: 'Street address for the billing address of this account',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Fields',
|
||||
@@ -215,7 +215,7 @@ export const accountFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'Filter by custom fields ',
|
||||
description: 'Filter by custom fields',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -230,14 +230,14 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the field to add custom field to.',
|
||||
description: 'The ID of the field to add custom field to',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The value to set on custom field.',
|
||||
description: 'The value to set on custom field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -258,7 +258,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'fax',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Fax number for the account.',
|
||||
description: 'Fax number for the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Jigsaw',
|
||||
@@ -288,14 +288,14 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: '',
|
||||
description: 'The owner of the account.',
|
||||
description: 'The owner of the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number for the account.',
|
||||
description: 'Phone number for the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Record Type ID',
|
||||
@@ -314,7 +314,7 @@ export const accountFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
description: 'A brief description of an organization’s line of business, based on its SIC code.',
|
||||
description: 'A brief description of an organization’s line of business, based on its SIC code',
|
||||
},
|
||||
{
|
||||
displayName: 'Type',
|
||||
@@ -331,7 +331,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'parentId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the parent object, if any.',
|
||||
description: 'ID of the parent object, if any',
|
||||
},
|
||||
{
|
||||
displayName: 'Shipping City',
|
||||
@@ -397,7 +397,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of account that needs to be fetched.',
|
||||
description: 'ID of account that needs to be fetched',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -431,7 +431,7 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getAccountSources',
|
||||
},
|
||||
default: '',
|
||||
description: 'The source of the account record.',
|
||||
description: 'The source of the account record',
|
||||
},
|
||||
{
|
||||
displayName: 'Annual Revenue',
|
||||
@@ -441,7 +441,7 @@ export const accountFields: INodeProperties[] = [
|
||||
numberPrecision: 2,
|
||||
},
|
||||
default: '',
|
||||
description: 'Estimated annual revenue of the account.',
|
||||
description: 'Estimated annual revenue of the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Billing City',
|
||||
@@ -476,7 +476,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'billingStreet',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Street address for the billing address of this account.',
|
||||
description: 'Street address for the billing address of this account',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Fields',
|
||||
@@ -486,7 +486,7 @@ export const accountFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'Filter by custom fields ',
|
||||
description: 'Filter by custom fields',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -501,14 +501,14 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the field to add custom field to.',
|
||||
description: 'The ID of the field to add custom field to',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The value to set on custom field.',
|
||||
description: 'The value to set on custom field',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -529,7 +529,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'fax',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Fax number for the account.',
|
||||
description: 'Fax number for the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry',
|
||||
@@ -553,14 +553,14 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: '',
|
||||
description: 'The owner of the account.',
|
||||
description: 'The owner of the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number for the account.',
|
||||
description: 'Phone number for the account',
|
||||
},
|
||||
{
|
||||
displayName: 'Record Type ID',
|
||||
@@ -599,7 +599,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'parentId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the parent object, if any.',
|
||||
description: 'ID of the parent object, if any',
|
||||
},
|
||||
{
|
||||
displayName: 'SicDesc',
|
||||
@@ -609,7 +609,7 @@ export const accountFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
description: 'A brief description of an organization’s line of business, based on its SIC code.',
|
||||
description: 'A brief description of an organization’s line of business, based on its SIC code',
|
||||
},
|
||||
{
|
||||
displayName: 'Shipping City',
|
||||
@@ -675,7 +675,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of account that needs to be fetched.',
|
||||
description: 'ID of account that needs to be fetched',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -697,7 +697,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of account that needs to be fetched.',
|
||||
description: 'ID of account that needs to be fetched',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -718,7 +718,7 @@ export const accountFields: 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',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -742,7 +742,7 @@ export const accountFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -776,7 +776,7 @@ export const accountFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'The condition to set.',
|
||||
description: 'The condition to set',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -853,7 +853,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of account that needs to be fetched.',
|
||||
description: 'ID of account that needs to be fetched',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
@@ -871,7 +871,7 @@ export const accountFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Title of the note.',
|
||||
description: 'Title of the note',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -915,7 +915,7 @@ export const accountFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the user who owns the note.',
|
||||
description: 'ID of the user who owns the note',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user