mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -36,7 +36,7 @@ export const companyOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Users',
|
||||
value: 'users',
|
||||
description: `List company's users`,
|
||||
description: 'List company\'s users',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -67,7 +67,7 @@ export const companyFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'ID',
|
||||
value: 'id',
|
||||
description: 'The Intercom defined id representing the company',
|
||||
description: 'The Intercom defined ID representing the company',
|
||||
},
|
||||
{
|
||||
name: 'Company ID',
|
||||
@@ -110,7 +110,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',
|
||||
@@ -134,7 +134,7 @@ export const companyFields: INodeProperties[] = [
|
||||
maxValue: 60,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -155,7 +155,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',
|
||||
@@ -179,7 +179,7 @@ export const companyFields: INodeProperties[] = [
|
||||
maxValue: 60,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -241,7 +241,7 @@ export const companyFields: INodeProperties[] = [
|
||||
{
|
||||
name: 'ID',
|
||||
value: 'id',
|
||||
description: 'The Intercom defined id representing the company',
|
||||
description: 'The Intercom defined ID representing the company',
|
||||
},
|
||||
{
|
||||
name: 'Name',
|
||||
@@ -250,7 +250,7 @@ export const companyFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'What property to use to query the company.',
|
||||
description: 'What property to use to query the company',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -290,7 +290,7 @@ export const companyFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The company id you have defined for the company',
|
||||
description: 'The company ID you have defined for the company',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
@@ -369,7 +369,7 @@ export const companyFields: INodeProperties[] = [
|
||||
name: 'website',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.`,
|
||||
description: 'The URL for this company\'s website. Please note that the value specified here is not validated. Accepts any string.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -377,7 +377,6 @@ export const companyFields: INodeProperties[] = [
|
||||
displayName: 'Custom Attributes',
|
||||
name: 'customAttributesJson',
|
||||
type: 'json',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -396,7 +395,7 @@ export const companyFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Attributes',
|
||||
@@ -407,7 +406,6 @@ export const companyFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
required: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -442,6 +440,6 @@ export const companyFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user.',
|
||||
description: 'A hash of key/value pairs to represent custom data you want to attribute to a user',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user