refactor: Integrate consistent-type-imports in FE packages (no-changelog) (#6060)

* 👕 Move `consistent-type-imports` to top level

* 👕 Apply lintfixes

* 👕 Apply more lintfixes

* 👕 More lintfixes

* 👕 More lintfixes
This commit is contained in:
Iván Ovejero
2023-04-24 12:18:24 +02:00
committed by GitHub
parent eaf7090919
commit 57aab63c10
269 changed files with 624 additions and 569 deletions

View File

@@ -2,7 +2,7 @@ import { afterAll, beforeAll } from 'vitest';
import { setActivePinia, createPinia } from 'pinia';
import { setupServer } from '@/__tests__/server';
import { useEnvironmentsStore } from '@/stores/environments.ee';
import { EnvironmentVariable } from '@/Interface';
import type { EnvironmentVariable } from '@/Interface';
describe('store', () => {
let server: ReturnType<typeof setupServer>;

View File

@@ -4,7 +4,7 @@ import { useUsersStore } from '@/stores/users';
import { useSettingsStore } from '@/stores/settings';
import { useRootStore } from '@/stores/n8nRootStore';
import { useTelemetryStore } from '@/stores/telemetry';
import { IN8nUISettings } from 'n8n-workflow';
import type { IN8nUISettings } from 'n8n-workflow';
const DEFAULT_POSTHOG_SETTINGS: IN8nUISettings['posthog'] = {
enabled: true,

View File

@@ -3,7 +3,7 @@ import { useSettingsStore } from '@/stores/settings';
import { useSSOStore } from '@/stores/sso';
import { merge } from 'lodash-es';
import { SETTINGS_STORE_DEFAULT_STATE } from '@/__tests__/utils';
import { IN8nUISettings } from 'n8n-workflow';
import type { IN8nUISettings } from 'n8n-workflow';
let ssoStore: ReturnType<typeof useSSOStore>;
let settingsStore: ReturnType<typeof useSettingsStore>;