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 moment from 'moment-timezone';
import { getAttachments, webexApiRequest, webexApiRequestAllItems } from './GenericFunctions';
import {
@@ -19,8 +20,6 @@ import {
messageOperations,
} from './descriptions';
import moment from 'moment-timezone';
export class CiscoWebex implements INodeType {
description: INodeTypeDescription = {
displayName: 'Webex by Cisco',

View File

@@ -1,3 +1,4 @@
import { createHmac } from 'crypto';
import type {
IHookFunctions,
IWebhookFunctions,
@@ -15,8 +16,6 @@ import {
webexApiRequestAllItems,
} from './GenericFunctions';
import { createHmac } from 'crypto';
export class CiscoWebexTrigger implements INodeType {
description: INodeTypeDescription = {
displayName: 'Webex by Cisco Trigger',

View File

@@ -1,3 +1,4 @@
import { createHash } from 'crypto';
import type { OptionsWithUri } from 'request';
import type {
@@ -14,8 +15,6 @@ import { NodeApiError } from 'n8n-workflow';
import upperFirst from 'lodash/upperFirst';
import { createHash } from 'crypto';
export async function webexApiRequest(
this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions | IWebhookFunctions,
method: string,