Bug 1463089 - Remove deprecated experimentalObjectRestSpread option from netmonitor's .eslintrc.js file, and clean it up. r?Honza draft
authorMark Banner <standard8@mozilla.com>
Mon, 21 May 2018 12:20:37 +0100
changeset 798325 4dd88c2bbef9cc8880379c0ad4e8774b0305a20b
parent 798084 b75acf9652937ce79a9bf02de843c100db0e5ec7
push id110709
push userbmo:standard8@mozilla.com
push dateTue, 22 May 2018 16:31:09 +0000
reviewersHonza
bugs1463089
milestone62.0a1
Bug 1463089 - Remove deprecated experimentalObjectRestSpread option from netmonitor's .eslintrc.js file, and clean it up. r?Honza MozReview-Commit-ID: EiFTniuq3Qy
devtools/client/netmonitor/.eslintrc.js
--- a/devtools/client/netmonitor/.eslintrc.js
+++ b/devtools/client/netmonitor/.eslintrc.js
@@ -1,29 +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/. */
 
 "use strict";
 
 module.exports = {
-  "env": {
-    "browser": true,
-  },
-
-  // Extend from the devtools eslintrc.
-  "extends": "../../.eslintrc.js",
-
   "rules": {
     // The netmonitor is being migrated to HTML and cleaned of
     // chrome-privileged code, so this rule disallows requiring chrome
     // code. Some files in the netmonitor disable this rule still. The
     // goal is to enable the rule globally on all files.
     /* eslint-disable max-len */
     "mozilla/reject-some-requires": ["error", "^(chrome|chrome:.*|resource:.*|devtools/server/.*|.*\\.jsm|devtools/shared/platform/(chome|content)/.*)$"],
   },
-
-  "parserOptions": {
-    "ecmaFeatures": {
-      experimentalObjectRestSpread: true,
-    },
-  },
 };