refactor: Run lintfix (no-changelog) (#7537)

- Fix autofixable violations
- Remove unused directives
- Allow for PascalCased variables - needed for dynamically imported or
assigned classes, decorators, routers, etc.
This commit is contained in:
Iván Ovejero
2023-10-27 14:15:02 +02:00
committed by GitHub
parent 1c4ac02db5
commit 62c096710f
477 changed files with 706 additions and 1003 deletions

View File

@@ -8,6 +8,7 @@ import type {
INodeTypeDescription,
} from 'n8n-workflow';
import { tz } from 'moment-timezone';
import {
adjustAddress,
adjustAgentRoles,
@@ -57,8 +58,6 @@ import {
import type { AddressFixedCollection, LoadedResource, LoadedUser, RolesParameter } from './types';
import { tz } from 'moment-timezone';
export class Freshservice implements INodeType {
description: INodeTypeDescription = {
displayName: 'Freshservice',

View File

@@ -7,6 +7,9 @@ import type {
} from 'n8n-workflow';
import { NodeApiError, NodeOperationError } from 'n8n-workflow';
import type { OptionsWithUri } from 'request';
import { omit } from 'lodash';
import type {
AddressFixedCollection,
FreshserviceCredentials,
@@ -14,10 +17,6 @@ import type {
RolesParameter,
} from './types';
import type { OptionsWithUri } from 'request';
import { omit } from 'lodash';
export async function freshserviceApiRequest(
this: IExecuteFunctions | IHookFunctions | ILoadOptionsFunctions,
method: string,