mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Clear unused ESLint directives from nodes-base (no-changelog) (#6812)
* refactor: Clear unused ESLint directives from nodes-base (no-changelog) * removed unused disable directives --------- Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -236,7 +236,7 @@ export class Freshservice implements INodeType {
|
||||
fields = fields
|
||||
.concat(...asset_type_fields.map((data) => data.fields))
|
||||
.map((data) => ({ name: data.label, id: data.name }));
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
|
||||
return toOptions(fields);
|
||||
},
|
||||
|
||||
|
||||
@@ -222,8 +222,7 @@ export const agentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-multi-options
|
||||
displayName: 'Member of Group Names/IDs',
|
||||
displayName: 'Group Names or IDs',
|
||||
name: 'member_of',
|
||||
type: 'multiOptions',
|
||||
default: [],
|
||||
@@ -240,7 +239,6 @@ export const agentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-multi-options
|
||||
displayName: 'Observer of Group Names/IDs',
|
||||
name: 'observer_of',
|
||||
type: 'multiOptions',
|
||||
@@ -257,7 +255,7 @@ export const agentFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
description: 'ID of the level of the agent in the Arcade',
|
||||
default: 1,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Beginner',
|
||||
@@ -558,8 +556,7 @@ export const agentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-multi-options
|
||||
displayName: 'Member of Group Names/IDs',
|
||||
displayName: 'Group Names or IDs',
|
||||
name: 'member_of',
|
||||
type: 'multiOptions',
|
||||
default: [],
|
||||
@@ -576,7 +573,6 @@ export const agentFields: INodeProperties[] = [
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-wrong-for-dynamic-multi-options
|
||||
displayName: 'Observer of Group Names/IDs',
|
||||
name: 'observer_of',
|
||||
type: 'multiOptions',
|
||||
@@ -593,7 +589,7 @@ export const agentFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
description: 'ID of the level of the agent in the Arcade',
|
||||
default: 1,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Beginner',
|
||||
|
||||
@@ -259,7 +259,7 @@ export const changeFields: INodeProperties[] = [
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
default: 1,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Open',
|
||||
@@ -610,7 +610,7 @@ export const changeFields: INodeProperties[] = [
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
default: 1,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Open',
|
||||
|
||||
@@ -135,7 +135,7 @@ export const releaseFields: INodeProperties[] = [
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Open',
|
||||
@@ -412,7 +412,7 @@ export const releaseFields: INodeProperties[] = [
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
default: 1,
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-options-type-unsorted-items
|
||||
|
||||
options: [
|
||||
{
|
||||
name: 'Open',
|
||||
|
||||
Reference in New Issue
Block a user