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

@@ -21,8 +21,6 @@ import {
sleep,
} from 'n8n-workflow';
import { keysToLowercase } from '@utils/utilities';
import type { OptionsWithUri } from 'request-promise-native';
import type { BodyParameter, IAuthDataSanitizeKeys } from '../GenericFunctions';
@@ -35,6 +33,7 @@ import {
replaceNullValues,
sanitizeUiMessage,
} from '../GenericFunctions';
import { keysToLowercase } from '@utils/utilities';
function toText<T>(data: T) {
if (typeof data === 'object' && data !== null) {

View File

@@ -1,3 +1,4 @@
import nock from 'nock';
import {
initBinaryDataService,
setup,
@@ -6,8 +7,6 @@ import {
getWorkflowFilenames,
} from '@test/nodes/Helpers';
import nock from 'nock';
describe('Test HTTP Request Node', () => {
const workflows = getWorkflowFilenames(__dirname);
const tests = workflowToTests(workflows);