Bug 1690742 - [devtools] - Manual eslint fixes r=nchevobbe,bomsy draft
authorAlexandre Poirot <poirot.alex@gmail.com>
Thu, 18 Feb 2021 18:33:11 +0000
changeset 3548190 49565da3c06f39f95fadf8b181806840ebd493fc
parent 3548189 649955c31f5f594774fbcee5fd09d04708318310
child 3548191 f88120c4a32e19785d16b349d41c2a6423b5ff36
push id656942
push userreviewbot
push dateThu, 18 Feb 2021 18:33:35 +0000
treeherdertry@f88120c4a32e [default view] [failures only]
reviewersnchevobbe, bomsy
bugs1690742
milestone87.0a1
Bug 1690742 - [devtools] - Manual eslint fixes r=nchevobbe,bomsy `./mach eslint` wasn't able to auto-address all issues. I'm going over all of them here. Differential Revision: https://phabricator.services.mozilla.com/D105326 Differential Diff: PHID-DIFF-tt76mcjieyclms5y6udf
devtools/client/debugger/packages/devtools-source-map/src/utils/fetchSourceMap.js
devtools/client/debugger/src/actions/pause/mapFrames.js
devtools/client/debugger/src/actions/sources/blackbox.js
devtools/client/debugger/src/actions/sources/prettyPrint.js
devtools/client/debugger/src/actions/types/ASTAction.js
devtools/client/debugger/src/actions/types/BreakpointAction.js
devtools/client/debugger/src/actions/types/PauseAction.js
devtools/client/debugger/src/actions/types/PreviewAction.js
devtools/client/debugger/src/actions/types/SourceAction.js
devtools/client/debugger/src/actions/types/SourceActorAction.js
devtools/client/debugger/src/actions/types/UIAction.js
devtools/client/debugger/src/actions/types/index.js
devtools/client/debugger/src/client/firefox/types.js
devtools/client/debugger/src/components/Editor/InlinePreview.js
devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointHeadingsContextMenu.js
devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointsContextMenu.js
devtools/client/debugger/src/components/SecondaryPanes/Frames/Frame.js
devtools/client/debugger/src/components/SecondaryPanes/Frames/Group.js
devtools/client/debugger/src/components/SecondaryPanes/index.js
devtools/client/debugger/src/reducers/types.js
devtools/client/debugger/src/types.js
devtools/client/debugger/src/utils/bootstrap.js
devtools/client/debugger/src/utils/editor/source-documents.js
devtools/client/debugger/src/utils/editor/types.js
devtools/client/debugger/src/utils/pause/scopes/types.js
devtools/client/debugger/src/utils/source-maps.js
devtools/client/debugger/src/utils/sources-tree/types.js
devtools/client/debugger/src/workers/parser/types.js
--- a/devtools/client/debugger/packages/devtools-source-map/src/utils/fetchSourceMap.js
+++ b/devtools/client/debugger/packages/devtools-source-map/src/utils/fetchSourceMap.js
@@ -1,16 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 const { networkRequest } = require("devtools-utils");
 const { getSourceMap, setSourceMap } = require("./sourceMapRequests");
 const { WasmRemap } = require("./wasmRemap");
-const { SourceMapConsumer } = require("source-map");
 const { convertToJSON } = require("devtools-wasm-dwarf");
 const { createConsumer } = require("./createConsumer");
 
 // URLs which have been seen in a completed source map request.
 const originalURLs = new Set();
 
 function clearOriginalURLs() {
   originalURLs.clear();
--- a/devtools/client/debugger/src/actions/pause/mapFrames.js
+++ b/devtools/client/debugger/src/actions/pause/mapFrames.js
@@ -1,17 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import { getFrames, getSource, getSelectedFrame } from "../../selectors";
 
 import assert from "../../utils/assert";
 
-import SourceMaps, { isGeneratedId } from "devtools-source-map";
+import { isGeneratedId } from "devtools-source-map";
 
 function isFrameBlackboxed(state, frame) {
   const source = getSource(state, frame.location.sourceId);
   return !!source?.isBlackBoxed;
 }
 
 function getSelectedFrameId(state, thread, frames) {
   let selectedFrame = getSelectedFrame(state, thread);
--- a/devtools/client/debugger/src/actions/sources/blackbox.js
+++ b/devtools/client/debugger/src/actions/sources/blackbox.js
@@ -2,17 +2,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 /**
  * Redux actions for the sources state
  * @module actions/sources
  */
 
-import SourceMaps, {
+import {
   isOriginalId,
   originalToGeneratedId,
 } from "devtools-source-map";
 import { recordEvent } from "../../utils/telemetry";
 import { features } from "../../utils/prefs";
 import { getSourceActorsForSource } from "../../selectors";
 
 import { PROMISE } from "../utils/middleware/promise";
--- a/devtools/client/debugger/src/actions/sources/prettyPrint.js
+++ b/devtools/client/debugger/src/actions/sources/prettyPrint.js
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
-import SourceMaps, { generatedToOriginalId } from "devtools-source-map";
+import { generatedToOriginalId } from "devtools-source-map";
 
 import assert from "../../utils/assert";
 import { recordEvent } from "../../utils/telemetry";
 import { remapBreakpoints } from "../breakpoints";
 
 import { setSymbols } from "./symbols";
 import { prettyPrint } from "../../workers/pretty-print";
 import {
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/ASTAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/BreakpointAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/PauseAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/PreviewAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/SourceAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/SourceActorAction.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-import {} from "../utils/middleware/promise";
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/UIAction.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/actions/types/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-import { clientCommands } from "../../client/firefox";
-
-/**
- * Flow types
- * @module actions/types
- */
-
-/**
- * Argument parameters via Thunk middleware for {@link https://github.com/gaearon/redux-thunk|Redux Thunk}
- *
- * @memberof actions/breakpoints
- * @static
- * @typedef {Object} ThunkArgs
- */
-
-/**
- * Actions: Source, Breakpoint, and Navigation
- *
- * @memberof actions/types
- * @static
- */
deleted file mode 100644
--- a/devtools/client/debugger/src/client/firefox/types.js
+++ /dev/null
@@ -1,143 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-/**
- * These are Firefox specific types that allow us to type check
- * the packet information exchanged using the Firefox Remote Debug Protocol
- * https://wiki.mozilla.org/Remote_Debugging_Protocol
- */
-
-/**
- * The protocol is carried by a reliable, bi-directional byte stream; data sent
- * in both directions consists of JSON objects, called packets. A packet is a
- * top-level JSON object, not contained inside any other value.
- *
- * Every packet sent to the client has the form:
- *  `{ "to":actor, "type":type, ... }`
- *
- * where actor is the name of the actor to whom the packet is directed and type
- * is a string specifying what sort of packet it is. Additional properties may
- * be present, depending on type.
- *
- * Every packet sent from the server has the form:
- *  `{ "from":actor, ... }`
- *
- * where actor is the name of the actor that sent it. The packet may have
- * additional properties, depending on the situation.
- *
- * If a packet is directed to an actor that no longer exists, the server
- * sends a packet to the client of the following form:
- *  `{ "from":actor, "error":"noSuchActor" }`
- *
- * where actor is the name of the non-existent actor. (It is strange to receive
- * messages from actors that do not exist, but the client evidently believes
- * that actor exists, and this reply allows the client to pair up the error
- * report with the source of the problem.)
- *
- * Clients should silently ignore packet properties they do not recognize. We
- * expect that, as the protocol evolves, we will specify new properties that
- * can appear in existing packets, and experimental implementations will do
- * the same.
- *
- * @see https://wiki.mozilla.org/Remote_Debugging_Protocol#Packets
- * @memberof firefox/packets
- * @static
- */
-
-/**
- * Frame Packet
- * @memberof firefox/packets
- * @static
- */
-
-/**
- * Firefox Source File payload
- * introductionType can be a "scriptElement"
- * @memberof firefox/payloads
- * @static
- */
-
-/**
- * Source Packet sent when there is a "new source" event
- * coming from the debug server
- * @memberof firefox/packets
- * @static
- */
-
-/**
- * Sources Packet from calling threadFront.getSources();
- * @memberof firefox/packets
- * @static
- */
-
-/**
- * Pause Packet sent when the server is in a "paused" state
- *
- * @memberof firefox
- * @static
- */
-
-/**
- * Response from the `getFrames` function call
- * @memberof firefox
- * @static
- */
-
-/**
- * Tab Target gives access to the browser tabs
- * @memberof firefox
- * @static
- */
-
-/**
- * Clients for accessing the Firefox debug server and browser
- * @memberof firefox/clients
- * @static
- */
-
-/**
- * DevToolsClient
- * @memberof firefox
- * @static
- */
-
-/**
- * DevToolsClient
- * @memberof firefox
- * @static
- */
-
-/**
- * A grip is a JSON value that refers to a specific JavaScript value in the
- * debuggee. Grips appear anywhere an arbitrary value from the debuggee needs
- * to be conveyed to the client: stack frames, object property lists, lexical
- * environments, paused packets, and so on.
- *
- * For mutable values like objects and arrays, grips do not merely convey the
- * value's current state to the client. They also act as references to the
- * original value, by including an actor to which the client can send messages
- * to modify the value in the debuggee.
- *
- * @see https://wiki.mozilla.org/Remote_Debugging_Protocol#Grips
- * @memberof firefox
- * @static
- */
-
-/**
- * SourceClient
- * @memberof firefox
- * @static
- */
-
-/**
- * ObjectFront
- * @memberof firefox
- * @static
- */
-
-/**
- * ThreadFront
- * @memberof firefox
- * @static
- */
--- a/devtools/client/debugger/src/components/Editor/InlinePreview.js
+++ b/devtools/client/debugger/src/components/Editor/InlinePreview.js
@@ -1,17 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import React, { PureComponent } from "react";
 import Reps from "devtools/client/shared/components/reps/index";
 
-import actions from "../../actions";
-
 const {
   REPS: {
     Rep,
     ElementNode: { supportsObject: isElement },
   },
   MODE,
 } = Reps;
 
--- a/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointHeadingsContextMenu.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointHeadingsContextMenu.js
@@ -1,16 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import { buildMenu, showMenu } from "../../../context-menu/menu";
 
-import actions from "../../../actions";
-
 export default function showContextMenu(props) {
   const {
     cx,
     source,
     breakpointsForSource,
     disableBreakpointsInSource,
     enableBreakpointsInSource,
     removeBreakpointsInSource,
--- a/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointsContextMenu.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/BreakpointsContextMenu.js
@@ -1,15 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import { buildMenu, showMenu } from "../../../context-menu/menu";
 import { getSelectedLocation } from "../../../utils/selected-location";
-import actions from "../../../actions";
 import { features } from "../../../utils/prefs";
 import { formatKeyShortcut } from "../../../utils/text";
 
 export default function showContextMenu(props) {
   const {
     cx,
     breakpoint,
     breakpoints,
--- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frame.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/Frame.js
@@ -7,17 +7,16 @@ import PropTypes from "prop-types";
 
 import classNames from "classnames";
 
 import AccessibleImage from "../../shared/AccessibleImage";
 import { formatDisplayName } from "../../../utils/pause/frames";
 import { getFilename, getFileURL } from "../../../utils/source";
 import FrameMenu from "./FrameMenu";
 import FrameIndent from "./FrameIndent";
-import actions from "../../../actions";
 
 function FrameTitle({ frame, options = {}, l10n }) {
   const displayName = formatDisplayName(frame, options, l10n);
   return <span className="title">{displayName}</span>;
 }
 
 const FrameLocation = memo(({ frame, displayFullUrl = false }) => {
   if (!frame.source) {
--- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/Group.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/Group.js
@@ -9,17 +9,16 @@ import classNames from "classnames";
 import { getLibraryFromUrl } from "../../../utils/pause/frames";
 
 import FrameMenu from "./FrameMenu";
 import AccessibleImage from "../../shared/AccessibleImage";
 import FrameComponent from "./Frame";
 
 import "./Group.css";
 
-import actions from "../../../actions";
 import Badge from "../../shared/Badge";
 import FrameIndent from "./FrameIndent";
 
 function FrameLocation({ frame, expanded }) {
   const library = frame.library || getLibraryFromUrl(frame);
   if (!library) {
     return null;
   }
--- a/devtools/client/debugger/src/components/SecondaryPanes/index.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/index.js
@@ -1,17 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import React, { Component } from "react";
 import classnames from "classnames";
 import { isGeneratedId } from "devtools-source-map";
 import { connect } from "../../utils/connect";
-import { List } from "immutable";
 
 import actions from "../../actions";
 import {
   getTopFrame,
   getBreakpointsList,
   getBreakpointsDisabled,
   getExpressions,
   getIsWaitingOnBreak,
deleted file mode 100644
--- a/devtools/client/debugger/src/reducers/types.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-/**
- * Types reducer
- * @module reducers/types
- */
deleted file mode 100644
--- a/devtools/client/debugger/src/types.js
+++ /dev/null
@@ -1,165 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-/**
- * Breakpoint ID
- *
- * @memberof types
- * @static
- */
-
-/**
- * Source ID
- *
- * @memberof types
- * @static
- */
-
-/**
- * Actor ID
- *
- * @memberof types
- * @static
- */
-
-/**
- * Source File Location
- *
- * @memberof types
- * @static
- */
-
-// Type of location used when setting breakpoints in the server. Exactly one of
-// { sourceUrl, sourceId } must be specified. Soon this will replace
-// SourceLocation and PendingLocation, and SourceActorLocation will be removed
-// (bug 1524374).
-
-/**
- * Breakpoint is associated with a Source.
- *
- * @memberof types
- * @static
- */
-
-/**
- * Options for a breakpoint that can be modified by the user.
- */
-
-/**
- * XHR Breakpoint
- * @memberof types
- * @static
- */
-
-/**
- * Breakpoint Result is the return from an add/modify Breakpoint request
- *
- * @memberof types
- * @static
- */
-
-/**
- * PendingBreakpoint
- *
- * @memberof types
- * @static
- */
-
-/**
- * Frame ID
- *
- * @memberof types
- * @static
- */
-
-/**
- * Frame
- * @memberof types
- * @static
- */
-
-/**
- * ContextMenuItem
- *
- * @memberof types
- * @static
- */
-
-/**
- * why
- * @memberof types
- * @static
- */
-
-/**
- * why
- * @memberof types
- * @static
- */
-
-/**
- * Why is the Debugger Paused?
- * This is the generic state handling the reason the debugger is paused.
- * Reasons are usually related to "breakpoint" or "debuggerStatement"
- * and should eventually be specified here as an enum.  For now we will
- * just offer it as a string.
- * @memberof types
- * @static
- */
-
-/**
- * Pause
- * @memberof types
- * @static
- */
-
-/**
- * Expression
- * @memberof types
- * @static
- */
-
-/**
- * PreviewGrip
- * @memberof types
- * @static
- */
-
-/**
- * Grip
- * @memberof types
- * @static
- */
-
-/**
- * Source
- *
- * @memberof types
- * @static
- */
-
-/**
- * Script
- * This describes scripts which are sent to the debug server to be eval'd
- * @memberof types
- * @static
- * FIXME: This needs a real type definition
- */
-
-/**
- * Describes content of the binding.
- * FIXME Define these type more clearly
- */
-
-/**
- * Defines map of binding name to its content.
- */
-
-/**
- * Scope
- * @memberof types
- * @static
- */
-
-// ObjectInspector types
--- a/devtools/client/debugger/src/utils/bootstrap.js
+++ b/devtools/client/debugger/src/utils/bootstrap.js
@@ -7,17 +7,16 @@ import { bindActionCreators, combineRedu
 import ReactDOM from "react-dom";
 const { Provider } = require("react-redux");
 
 import ToolboxProvider from "devtools/client/framework/store-provider";
 import flags from "devtools/shared/flags";
 
 const { AppConstants } = require("resource://gre/modules/AppConstants.jsm");
 
-import SourceMaps from "devtools-source-map";
 import * as search from "../workers/search";
 import * as prettyPrint from "../workers/pretty-print";
 import { ParserDispatcher } from "../workers/parser";
 
 import configureStore from "../actions/utils/create-store";
 import reducers from "../reducers";
 import * as selectors from "../selectors";
 import App from "../components/App";
--- a/devtools/client/debugger/src/utils/editor/source-documents.js
+++ b/devtools/client/debugger/src/utils/editor/source-documents.js
@@ -2,17 +2,16 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 import { getMode } from "../source";
 
 import { isWasm, getWasmLineNumberFormatter, renderWasmText } from "../wasm";
 import { isMinified } from "../isMinified";
 import { resizeBreakpointGutter, resizeToggleButton } from "../ui";
-import SourceEditor from "./source-editor";
 
 let sourceDocs = {};
 
 export function getDocument(key) {
   return sourceDocs[key];
 }
 
 export function hasDocument(key) {
deleted file mode 100644
--- a/devtools/client/debugger/src/utils/editor/types.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
deleted file mode 100644
--- a/devtools/client/debugger/src/utils/pause/scopes/types.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
--- a/devtools/client/debugger/src/utils/source-maps.js
+++ b/devtools/client/debugger/src/utils/source-maps.js
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
-import SourceMaps, { isOriginalId } from "devtools-source-map";
+import { isOriginalId } from "devtools-source-map";
 import { getSource } from "../selectors";
 
 export async function getGeneratedLocation(
   state,
   source,
   location,
   sourceMaps
 ) {
deleted file mode 100644
--- a/devtools/client/debugger/src/utils/sources-tree/types.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
-
-/**
- * TODO: createNode is exported so this type could be useful to other modules
- * @memberof utils/sources-tree
- * @static
- */
deleted file mode 100644
--- a/devtools/client/debugger/src/workers/parser/types.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */