diff --git a/.eslintignore b/.eslintignore index 3de1fdee0..c316cc298 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,8 +2,6 @@ src/**/__mocks__/**/* dist/ Contracts/ -src/Api/Apis.ts -src/AuthType.ts src/Bindings/BindingHandlersRegisterer.ts src/Bindings/ReactBindingHandler.ts src/Common/Constants.ts @@ -129,12 +127,8 @@ src/ReactDevTools.ts src/Shared/Constants.ts src/Shared/DefaultExperienceUtility.test.ts src/Shared/DefaultExperienceUtility.ts -src/Shared/appInsights.ts -src/SparkClusterManager/ArcadiaResourceManager.ts -src/SparkClusterManager/SparkClusterManager.ts src/Terminal/JupyterLabAppFactory.ts src/Terminal/NotebookAppContracts.d.ts -src/applyExplorerBindings.ts src/global.d.ts src/setupTests.ts src/Explorer/Controls/InputTypeahead/InputTypeaheadComponent.tsx @@ -144,13 +138,8 @@ src/Explorer/Controls/NotebookViewer/NotebookViewerComponent.tsx src/Explorer/Controls/TreeComponent/TreeComponent.tsx src/Explorer/Graph/GraphExplorerComponent/GraphExplorer.test.tsx src/Explorer/Graph/GraphExplorerComponent/GraphExplorer.tsx -src/Explorer/Graph/GraphExplorerComponent/GraphVizComponent.tsx -src/Explorer/Graph/GraphExplorerComponent/LeftPaneComponent.tsx -src/Explorer/Graph/GraphExplorerComponent/MiddlePaneComponent.tsx src/Explorer/Graph/GraphExplorerComponent/NodePropertiesComponent.test.tsx src/Explorer/Graph/GraphExplorerComponent/NodePropertiesComponent.tsx -src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx -src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx src/Explorer/Menus/CommandBar/CommandBarUtil.tsx src/Explorer/Notebook/NotebookComponent/NotebookComponentAdapter.tsx src/Explorer/Notebook/NotebookComponent/NotebookComponentBootstrapper.tsx @@ -161,7 +150,6 @@ src/Explorer/Notebook/NotebookRenderer/NotebookRenderer.tsx src/Explorer/Notebook/NotebookRenderer/decorators/draggable/index.tsx src/Explorer/Notebook/NotebookRenderer/decorators/hijack-scroll/index.tsx src/Explorer/Notebook/NotebookRenderer/decorators/kbd-shortcuts/index.tsx -src/Explorer/Notebook/temp/inputs/connected-editors/codemirror.tsx src/Explorer/Tree/ResourceTreeAdapter.tsx __mocks__/monaco-editor.ts src/Explorer/Tree/ResourceTree.tsx \ No newline at end of file diff --git a/src/Contracts/Versions.ts b/src/Contracts/Versions.ts index 9cb767bc9..150a4b31e 100644 --- a/src/Contracts/Versions.ts +++ b/src/Contracts/Versions.ts @@ -1,4 +1,4 @@ /** * Data Explorer version {major.minor.patch} */ -export const DataExplorer: string = "1.0.1"; +export const DataExplorer = "1.0.1"; diff --git a/src/Explorer/Graph/GraphExplorerComponent/LeftPaneComponent.tsx b/src/Explorer/Graph/GraphExplorerComponent/LeftPaneComponent.tsx index f6525e54d..6e3963f06 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/LeftPaneComponent.tsx +++ b/src/Explorer/Graph/GraphExplorerComponent/LeftPaneComponent.tsx @@ -58,7 +58,7 @@ export class LeftPaneComponent extends React.Component { className={className} as="tr" aria-label={node.caption} - onActivated={(e) => this.props.onRootNodeSelected(node.id)} + onActivated={() => this.props.onRootNodeSelected(node.id)} key={node.id} > diff --git a/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx b/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx index d3f14eca1..9df592a22 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx +++ b/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.test.tsx @@ -1,7 +1,6 @@ -import React from "react"; import { shallow } from "enzyme"; +import React from "react"; import { GraphHighlightedNodeData } from "./GraphExplorer"; - import { ReadOnlyNodePropertiesComponent, ReadOnlyNodePropertiesComponentProps, @@ -44,7 +43,7 @@ describe("", () => { const mockNode2 = { ...mockNode, properties: { - key3: ["abcd", 1234, true, false, undefined, null], + key3: ["abcd", 1234, true, false, undefined], }, }; const props: ReadOnlyNodePropertiesComponentProps = { node: mockNode2 }; diff --git a/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx b/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx index df85f718d..953a2bcb4 100644 --- a/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx +++ b/src/Explorer/Graph/GraphExplorerComponent/ReadOnlyNodePropertiesComponent.tsx @@ -60,9 +60,7 @@ export class ReadOnlyNodePropertiesComponent extends React.Component renders properties (with multiple v
renders properties (with multiple v > undefined
-
- null -
diff --git a/src/applyExplorerBindings.ts b/src/applyExplorerBindings.ts index 895bc40ac..8fa7d6f04 100644 --- a/src/applyExplorerBindings.ts +++ b/src/applyExplorerBindings.ts @@ -3,7 +3,7 @@ import { BindingHandlersRegisterer } from "./Bindings/BindingHandlersRegisterer" import Explorer from "./Explorer/Explorer"; export const applyExplorerBindings = (explorer: Explorer) => { - if (!!explorer) { + if (explorer) { window.dataExplorer = explorer; BindingHandlersRegisterer.registerBindingHandlers(); ko.applyBindings(explorer);