refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-19 18:46:14 +01:00
committed by GitHub
parent 8c635993bd
commit bafac73eb5
1120 changed files with 2677 additions and 2827 deletions

View File

@@ -1,4 +1,5 @@
import { promisify } from 'util';
import * as fflate from 'fflate';
import * as mime from 'mime-types';
import {
NodeConnectionType,
type IBinaryKeyData,
@@ -7,16 +8,13 @@ import {
type INodeType,
type INodeTypeDescription,
} from 'n8n-workflow';
import * as fflate from 'fflate';
import { promisify } from 'util';
const gunzip = promisify(fflate.gunzip);
const gzip = promisify(fflate.gzip);
const unzip = promisify(fflate.unzip);
const zip = promisify(fflate.zip);
import * as mime from 'mime-types';
const ALREADY_COMPRESSED = [
'7z',
'aifc',

View File

@@ -1,16 +1,16 @@
/* eslint-disable @typescript-eslint/no-loop-func */
import path from 'path';
import os from 'node:os';
import type { IDataObject } from 'n8n-workflow';
import type { WorkflowTestData } from '@test/nodes/types';
import os from 'node:os';
import path from 'path';
import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
import {
getResultNodeData,
setup,
initBinaryDataService,
readJsonFileSync,
} from '@test/nodes/Helpers';
import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
import type { WorkflowTestData } from '@test/nodes/types';
if (os.platform() !== 'win32') {
describe('Execute Compression Node', () => {