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,3 +1,4 @@
import glob from 'fast-glob';
import { NodeApiError } from 'n8n-workflow';
import type {
IExecuteFunctions,
@@ -6,10 +7,10 @@ import type {
JsonObject,
} from 'n8n-workflow';
import glob from 'fast-glob';
import { errorMapper, escapeSpecialCharacters } from '../helpers/utils';
import { updateDisplayOptions } from '@utils/utilities';
import { errorMapper, escapeSpecialCharacters } from '../helpers/utils';
export const properties: INodeProperties[] = [
{
displayName: 'File(s) Selector',

View File

@@ -1,4 +1,3 @@
import type { Readable } from 'stream';
import type {
IExecuteFunctions,
INodeExecutionData,
@@ -6,9 +5,11 @@ import type {
JsonObject,
} from 'n8n-workflow';
import { BINARY_ENCODING, NodeApiError } from 'n8n-workflow';
import type { Readable } from 'stream';
import { updateDisplayOptions } from '@utils/utilities';
import { errorMapper } from '../helpers/utils';
import { updateDisplayOptions } from '@utils/utilities';
export const properties: INodeProperties[] = [
{

View File

@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-loop-func */
import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
import * as Helpers from '@test/nodes/Helpers';
import type { WorkflowTestData } from '@test/nodes/types';
import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
describe('Test ReadWriteFile Node', () => {
beforeEach(async () => {