Skip to content

Commit bd98271

Browse files
committed
Ran eslint --fix on all packages (#2229)
1 parent b2fef09 commit bd98271

562 files changed

Lines changed: 1805 additions & 1835 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/app-utils/src/components/AppBootstrap.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import React, { useContext } from 'react';
22
import { act, render, screen } from '@testing-library/react';
33
import { AUTH_HANDLER_TYPE_ANONYMOUS } from '@deephaven/auth-plugins';
44
import { ApiContext } from '@deephaven/jsapi-bootstrap';
5-
import { PluginModuleMap, PluginsContext } from '@deephaven/plugin';
5+
import type { PluginModuleMap } from '@deephaven/plugin';
6+
import { PluginsContext } from '@deephaven/plugin';
67
import { BROADCAST_LOGIN_MESSAGE } from '@deephaven/jsapi-utils';
78
import type {
89
CoreClient,

packages/app-utils/src/components/AppDashboards.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import React, { useCallback } from 'react';
22
import classNames from 'classnames';
3-
import {
4-
DashboardUtils,
5-
DehydratedDashboardPanelProps,
6-
LazyDashboard,
7-
} from '@deephaven/dashboard';
3+
import type { DehydratedDashboardPanelProps } from '@deephaven/dashboard';
4+
import { DashboardUtils, LazyDashboard } from '@deephaven/dashboard';
85
import { useObjectFetcher } from '@deephaven/jsapi-bootstrap';
9-
import LayoutManager, {
6+
import type {
107
ItemConfig,
118
Settings as LayoutSettings,
129
} from '@deephaven/golden-layout';
10+
import type LayoutManager from '@deephaven/golden-layout';
1311
import { LoadingOverlay } from '@deephaven/components';
1412

1513
interface AppDashboardsProps {

packages/app-utils/src/components/AuthBootstrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useContext, useEffect, useMemo, useState } from 'react';
2+
import type { AuthConfigMap } from '@deephaven/auth-plugins';
23
import {
3-
AuthConfigMap,
44
AuthPluginAnonymous,
55
AuthPluginParent,
66
AuthPluginPsk,

packages/app-utils/src/components/ConnectionBootstrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
LoadingOverlay,
77
LoadingSpinner,
88
} from '@deephaven/components';
9+
import type { ObjectFetchManager } from '@deephaven/jsapi-bootstrap';
910
import {
1011
ObjectFetcherContext,
11-
ObjectFetchManager,
1212
ObjectFetchManagerContext,
1313
sanitizeVariableDescriptor,
1414
useApi,

packages/app-utils/src/plugins/PluginUtils.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { LegacyPlugin, Plugin, PluginType } from '@deephaven/plugin';
1+
import type { LegacyPlugin, Plugin } from '@deephaven/plugin';
2+
import { PluginType } from '@deephaven/plugin';
23
import { getPluginModuleValue } from './PluginUtils';
34

45
describe('getPluginModuleValue', () => {

packages/app-utils/src/plugins/PluginUtils.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
import Log from '@deephaven/log';
2+
import type {
3+
LegacyAuthPlugin,
4+
LegacyPlugin,
5+
Plugin,
6+
PluginModule,
7+
} from '@deephaven/plugin';
28
import {
39
type PluginModuleMap,
410
type AuthPlugin,
511
type AuthPluginComponent,
612
isAuthPlugin,
7-
LegacyAuthPlugin,
8-
LegacyPlugin,
9-
Plugin,
1013
PluginType,
1114
isLegacyAuthPlugin,
1215
isLegacyPlugin,
13-
PluginModule,
1416
isPlugin,
1517
} from '@deephaven/plugin';
1618
import loadRemoteModule from './loadRemoteModule';

packages/app-utils/src/storage/LayoutStorage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ItemConfig } from '@deephaven/golden-layout';
2-
import { FilterSet, Link } from '@deephaven/dashboard-core-plugins';
3-
import { PluginDataMap } from '@deephaven/redux';
2+
import type { FilterSet, Link } from '@deephaven/dashboard-core-plugins';
3+
import type { PluginDataMap } from '@deephaven/redux';
44

55
/**
66
* Have a different version to support legacy layout exports

packages/app-utils/src/storage/LocalWorkspaceStorage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Log from '@deephaven/log';
2-
import {
2+
import type {
33
WorkspaceStorage,
44
WorkspaceStorageLoadOptions,
55
CustomizableWorkspaceData,
@@ -13,7 +13,7 @@ import {
1313
IntegerColumnFormatter,
1414
} from '@deephaven/jsapi-utils';
1515
import UserLayoutUtils from './UserLayoutUtils';
16-
import LayoutStorage from './LayoutStorage';
16+
import type LayoutStorage from './LayoutStorage';
1717

1818
const log = Log.module('LocalWorkspaceStorage');
1919

packages/app-utils/src/storage/UserLayoutUtils.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { FilterSet, Link } from '@deephaven/dashboard-core-plugins';
1+
import type { FilterSet, Link } from '@deephaven/dashboard-core-plugins';
22
import type { ItemConfig } from '@deephaven/golden-layout';
3-
import LayoutStorage, {
3+
import type {
44
ExportedLayout,
55
ExportedLayoutV1,
66
ExportedLayoutV2,
77
} from './LayoutStorage';
8+
import type LayoutStorage from './LayoutStorage';
89
import UserLayoutUtils, {
910
DEFAULT_LAYOUT_CONFIG,
1011
DEFAULT_LAYOUT_CONFIG_NO_CONSOLE,

packages/app-utils/src/storage/UserLayoutUtils.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ import {
55
LogPanel,
66
} from '@deephaven/dashboard-core-plugins';
77
import Log from '@deephaven/log';
8-
import { CustomizableWorkspaceData } from '@deephaven/redux';
9-
import LayoutStorage, {
10-
ExportedLayout,
11-
ExportedLayoutV2,
12-
isLayoutV1,
13-
isLayoutV2,
14-
} from './LayoutStorage';
8+
import type { CustomizableWorkspaceData } from '@deephaven/redux';
9+
import type { ExportedLayout, ExportedLayoutV2 } from './LayoutStorage';
10+
import type LayoutStorage from './LayoutStorage';
11+
import { isLayoutV1, isLayoutV2 } from './LayoutStorage';
1512

1613
const log = Log.module('UserLayoutUtils');
1714

0 commit comments

Comments
 (0)