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:
@@ -129,13 +129,12 @@ export const analyzerFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the binary property to which to write the data of the read file.',
|
||||
description: 'Name of the binary property to which to write the data of the read file',
|
||||
},
|
||||
{
|
||||
displayName: 'TLP',
|
||||
name: 'tlp',
|
||||
type: 'options',
|
||||
required: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -12,7 +12,7 @@ export const respondersOperations: INodeProperties[] = [
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
required: true,
|
||||
description: 'Choose an operation.',
|
||||
description: 'Choose an operation',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -48,7 +48,7 @@ export const responderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Choose the responder.',
|
||||
description: 'Choose the responder',
|
||||
},
|
||||
{
|
||||
displayName: 'Entity Type',
|
||||
@@ -69,14 +69,14 @@ export const responderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: '',
|
||||
description: 'Choose the Data type.',
|
||||
description: 'Choose the Data type',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON Parameters',
|
||||
name: 'jsonObject',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Choose between providing JSON object or seperated attributes.',
|
||||
description: 'Choose between providing JSON object or seperated attributes',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -107,7 +107,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'parameters',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Parameter',
|
||||
required: false,
|
||||
options: [
|
||||
{
|
||||
displayName: 'Case Attributes',
|
||||
@@ -160,14 +159,14 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'owner',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `User who owns the case. This is automatically set to current user when status is set to InProgress.`,
|
||||
description: 'User who owns the case. This is automatically set to current user when status is set to InProgress.',
|
||||
},
|
||||
{
|
||||
displayName: 'Flag',
|
||||
name: 'flag',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Flag of the case default=false.',
|
||||
description: 'Flag of the case default=false',
|
||||
},
|
||||
{
|
||||
displayName: 'TLP',
|
||||
@@ -238,7 +237,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'parameters',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Parameter',
|
||||
required: false,
|
||||
options: [
|
||||
{
|
||||
displayName: 'Alert Attributes',
|
||||
@@ -284,7 +282,7 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'date',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date and time when the alert was raised default=now.',
|
||||
description: 'Date and time when the alert was raised default=now',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
@@ -347,14 +345,14 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'type',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Type of the alert.',
|
||||
description: 'Type of the alert',
|
||||
},
|
||||
{
|
||||
displayName: 'Source',
|
||||
name: 'source',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Source of the alert.',
|
||||
description: 'Source of the alert',
|
||||
},
|
||||
{
|
||||
displayName: 'SourceRef',
|
||||
@@ -374,7 +372,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'artifacts',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add an artifact',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
multipleValueButtonText: 'Add an Artifact',
|
||||
@@ -531,7 +528,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'parameters',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Parameter',
|
||||
required: false,
|
||||
options: [
|
||||
{
|
||||
displayName: 'Observable Attributes',
|
||||
@@ -626,7 +622,7 @@ export const responderFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the binary property which contains the attachement data.',
|
||||
description: 'Name of the binary property which contains the attachement data',
|
||||
},
|
||||
{
|
||||
displayName: 'Message',
|
||||
@@ -639,7 +635,7 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'startDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date and time of the begin of the case default=now.',
|
||||
description: 'Date and time of the begin of the case default=now',
|
||||
},
|
||||
{
|
||||
displayName: 'TLP',
|
||||
@@ -670,7 +666,7 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'ioc',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Indicates if the observable is an IOC (Indicator of compromise).',
|
||||
description: 'Indicates if the observable is an IOC (Indicator of compromise)',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -687,7 +683,7 @@ export const responderFields: INodeProperties[] = [
|
||||
value: 'Deleted',
|
||||
},
|
||||
],
|
||||
description: 'Status of the observable (Ok or Deleted) default=Ok.',
|
||||
description: 'Status of the observable (Ok or Deleted) default=Ok',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -729,7 +725,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'parameters',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Parameter',
|
||||
required: false,
|
||||
options: [
|
||||
{
|
||||
displayName: 'Task Attributes',
|
||||
@@ -739,9 +734,8 @@ export const responderFields: INodeProperties[] = [
|
||||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: '',
|
||||
description: 'Title of the task.',
|
||||
description: 'Title of the task',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -813,7 +807,6 @@ export const responderFields: INodeProperties[] = [
|
||||
name: 'parameters',
|
||||
type: 'fixedCollection',
|
||||
placeholder: 'Add Parameter',
|
||||
required: false,
|
||||
options: [
|
||||
{
|
||||
displayName: 'Log Attributes',
|
||||
|
||||
Reference in New Issue
Block a user