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:
@@ -124,7 +124,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'city',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The city where the company is located.',
|
||||
description: 'The city where the company is located',
|
||||
},
|
||||
{
|
||||
displayName: 'Close Date',
|
||||
@@ -155,7 +155,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'countryRegion',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The country/region in which the company or organization is located.',
|
||||
description: 'The country/region in which the company or organization is located',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Properties',
|
||||
@@ -179,7 +179,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyCustomProperties',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the property.',
|
||||
description: 'Name of the property',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -197,7 +197,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `A short statement about the company's mission and goals.`,
|
||||
description: 'A short statement about the company\'s mission and goals',
|
||||
},
|
||||
{
|
||||
displayName: 'Facebook Fans',
|
||||
@@ -224,14 +224,14 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyIndustries',
|
||||
},
|
||||
default: '',
|
||||
description: 'The type of business the company performs.',
|
||||
description: 'The type of business the company performs',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Public',
|
||||
name: 'isPublic',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Indicates that the company is publicly traded.',
|
||||
description: 'Indicates that the company is publicly traded',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
@@ -241,7 +241,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyleadStatuses',
|
||||
},
|
||||
default: '',
|
||||
description: `The company's sales, prospecting or outreach status`,
|
||||
description: 'The company\'s sales, prospecting or outreach status',
|
||||
},
|
||||
{
|
||||
displayName: 'Lifecycle Stage',
|
||||
@@ -292,7 +292,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'phoneNumber',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `A company's primary phone number. Powered by HubSpot Insights.`,
|
||||
description: 'A company\'s primary phone number. Powered by HubSpot Insights.',
|
||||
},
|
||||
{
|
||||
displayName: 'Postal Code',
|
||||
@@ -385,7 +385,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc.',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc',
|
||||
},
|
||||
{
|
||||
displayName: 'Web Technologies',
|
||||
@@ -476,7 +476,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'city',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The city where the company is located.',
|
||||
description: 'The city where the company is located',
|
||||
},
|
||||
{
|
||||
displayName: 'Close Date',
|
||||
@@ -507,7 +507,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'countryRegion',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The country/region in which the company or organization is located.',
|
||||
description: 'The country/region in which the company or organization is located',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Properties',
|
||||
@@ -531,7 +531,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyCustomProperties',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the property.',
|
||||
description: 'Name of the property',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -549,7 +549,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `A short statement about the company's mission and goals.`,
|
||||
description: 'A short statement about the company\'s mission and goals',
|
||||
},
|
||||
{
|
||||
displayName: 'Facebook Fans',
|
||||
@@ -576,14 +576,14 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyIndustries',
|
||||
},
|
||||
default: '',
|
||||
description: 'The type of business the company performs.',
|
||||
description: 'The type of business the company performs',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Public',
|
||||
name: 'isPublic',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Indicates that the company is publicly traded.',
|
||||
description: 'Indicates that the company is publicly traded',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
@@ -593,7 +593,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyleadStatuses',
|
||||
},
|
||||
default: '',
|
||||
description: `The company's sales, prospecting or outreach status`,
|
||||
description: 'The company\'s sales, prospecting or outreach status',
|
||||
},
|
||||
{
|
||||
displayName: 'Lifecycle Stage',
|
||||
@@ -650,7 +650,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'phoneNumber',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `A company's primary phone number. Powered by HubSpot Insights.`,
|
||||
description: 'A company\'s primary phone number. Powered by HubSpot Insights.',
|
||||
},
|
||||
{
|
||||
displayName: 'Postal Code',
|
||||
@@ -743,7 +743,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc.',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc',
|
||||
},
|
||||
{
|
||||
displayName: 'Web Technologies',
|
||||
@@ -815,7 +815,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'includeMergeAudits',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Returns any merge history if the company has been previously merged with another company record. Defaults to false.`,
|
||||
description: 'Returns any merge history if the company has been previously merged with another company record. Defaults to false.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -838,7 +838,7 @@ export const companyFields: 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',
|
||||
@@ -862,7 +862,7 @@ export const companyFields: INodeProperties[] = [
|
||||
maxValue: 250,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -886,7 +886,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'includeMergeAudits',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Returns any merge history if a company has been previously merged with another company record. Defaults to false.`,
|
||||
description: 'Returns any merge history if a company has been previously merged with another company record. Defaults to false.',
|
||||
},
|
||||
{
|
||||
displayName: 'Properties',
|
||||
@@ -896,14 +896,14 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyProperties',
|
||||
},
|
||||
default: [],
|
||||
description: `<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your companies.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>`,
|
||||
description: '<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your companies.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>',
|
||||
},
|
||||
{
|
||||
displayName: 'Properties With History',
|
||||
name: 'propertiesWithHistory',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value.`,
|
||||
description: 'Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property\'s value.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -949,7 +949,7 @@ export const companyFields: 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',
|
||||
@@ -974,7 +974,7 @@ export const companyFields: INodeProperties[] = [
|
||||
maxValue: 250,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -998,14 +998,14 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'since',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: `Only return companys created after timestamp x`,
|
||||
description: 'Only return companys created after timestamp x',
|
||||
},
|
||||
{
|
||||
displayName: 'Include Property Versions',
|
||||
name: 'includePropertyVersions',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `By default, you will only get data for the most recent version of a property in the "versions" data. If you include this parameter, you will get data for all previous versions.`,
|
||||
description: 'By default, you will only get data for the most recent version of a property in the "versions" data. If you include this parameter, you will get data for all previous versions.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1045,7 +1045,7 @@ export const companyFields: 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',
|
||||
@@ -1069,7 +1069,7 @@ export const companyFields: INodeProperties[] = [
|
||||
maxValue: 250,
|
||||
},
|
||||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -1096,7 +1096,7 @@ export const companyFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCompanyProperties',
|
||||
},
|
||||
default: [],
|
||||
description: `<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>`,
|
||||
description: '<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user