refactor(core): Enable import/order eslint rule (#10794)

This commit is contained in:
Tomi Turtiainen
2024-09-12 19:07:18 +03:00
committed by GitHub
parent 6530620e9d
commit 5156313074
569 changed files with 3019 additions and 2523 deletions

View File

@@ -1,38 +1,39 @@
import fs from 'node:fs';
import { Container, Service } from 'typedi';
import uniq from 'lodash/uniq';
import { GlobalConfig } from '@n8n/config';
import { createWriteStream } from 'fs';
import { mkdir } from 'fs/promises';
import path from 'path';
import { GlobalConfig } from '@n8n/config';
import uniq from 'lodash/uniq';
import { InstanceSettings } from 'n8n-core';
import type {
ICredentialType,
IN8nUISettings,
INodeTypeBaseDescription,
ITelemetrySettings,
} from 'n8n-workflow';
import { InstanceSettings } from 'n8n-core';
import fs from 'node:fs';
import path from 'path';
import { Container, Service } from 'typedi';
import config from '@/config';
import { LICENSE_FEATURES } from '@/constants';
import { CredentialsOverwrites } from '@/credentials-overwrites';
import { CredentialTypes } from '@/credential-types';
import { LoadNodesAndCredentials } from '@/load-nodes-and-credentials';
import { License } from '@/license';
import { getCurrentAuthenticationMethod } from '@/sso/sso-helpers';
import { getLdapLoginLabel } from '@/ldap/helpers.ee';
import { getSamlLoginLabel } from '@/sso/saml/saml-helpers';
import { CredentialsOverwrites } from '@/credentials-overwrites';
import { getVariablesLimit } from '@/environments/variables/environment-helpers';
import { EventService } from '@/events/event.service';
import { getLdapLoginLabel } from '@/ldap/helpers.ee';
import { License } from '@/license';
import { LoadNodesAndCredentials } from '@/load-nodes-and-credentials';
import { Logger } from '@/logger';
import { isApiEnabled } from '@/public-api';
import type { CommunityPackagesService } from '@/services/community-packages.service';
import { getSamlLoginLabel } from '@/sso/saml/saml-helpers';
import { getCurrentAuthenticationMethod } from '@/sso/sso-helpers';
import { UserManagementMailer } from '@/user-management/email';
import {
getWorkflowHistoryLicensePruneTime,
getWorkflowHistoryPruneTime,
} from '@/workflows/workflow-history/workflow-history-helper.ee';
import { UserManagementMailer } from '@/user-management/email';
import type { CommunityPackagesService } from '@/services/community-packages.service';
import { Logger } from '@/logger';
import { UrlService } from './url.service';
import { EventService } from '@/events/event.service';
import { isApiEnabled } from '@/public-api';
@Service()
export class FrontendService {