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,7 @@
import type { SecureContextOptions } from 'tls';
import FormData from 'form-data';
import get from 'lodash/get';
import isPlainObject from 'lodash/isPlainObject';
import set from 'lodash/set';
import {
deepCopy,
type ICredentialDataDecryptedObject,
@@ -8,14 +11,10 @@ import {
type IOAuth2Options,
type IRequestOptions,
} from 'n8n-workflow';
import type { SecureContextOptions } from 'tls';
import set from 'lodash/set';
import isPlainObject from 'lodash/isPlainObject';
import FormData from 'form-data';
import get from 'lodash/get';
import { formatPrivateKey } from '../../utils/utilities';
import type { HttpSslAuthCredentials } from './interfaces';
import { formatPrivateKey } from '../../utils/utilities';
export type BodyParameter = {
name: string;

View File

@@ -1,5 +1,3 @@
import type { Readable } from 'stream';
import type {
IExecuteFunctions,
IDataObject,
@@ -18,6 +16,7 @@ import {
removeCircularRefs,
NodeConnectionType,
} from 'n8n-workflow';
import type { Readable } from 'stream';
import type { IAuthDataSanitizeKeys } from '../GenericFunctions';
import { replaceNullValues, sanitizeUiMessage } from '../GenericFunctions';

View File

@@ -1,5 +1,3 @@
import type { Readable } from 'stream';
import type {
IDataObject,
IExecuteFunctions,
@@ -18,6 +16,7 @@ import {
removeCircularRefs,
NodeConnectionType,
} from 'n8n-workflow';
import type { Readable } from 'stream';
import type { IAuthDataSanitizeKeys } from '../GenericFunctions';
import {

View File

@@ -27,6 +27,7 @@ import type { Readable } from 'stream';
import { keysToLowercase } from '@utils/utilities';
import { mainProperties } from './Description';
import type { BodyParameter, IAuthDataSanitizeKeys } from '../GenericFunctions';
import {
binaryContentTypes,
@@ -38,7 +39,6 @@ import {
sanitizeUiMessage,
setAgentOptions,
} from '../GenericFunctions';
import { mainProperties } from './Description';
function toText<T>(data: T) {
if (typeof data === 'object' && data !== null) {

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import {
setup,
equalityTest,

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import {
setup,
equalityTest,

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import {
setup,
equalityTest,

View File

@@ -1,5 +1,6 @@
import { parse as parseUrl } from 'url';
import nock from 'nock';
import { parse as parseUrl } from 'url';
import {
initBinaryDataService,
setup,