Bug 1572209 - Part 4: Roll back one set of accidentally-included changes. r=jlast

Differential Revision: https://phabricator.services.mozilla.com/D42724

--HG--
rename : devtools/client/debugger/.eslintrc => devtools/client/debugger/.eslintrc.js
extra : moz-landing-system : lando
This commit is contained in:
Logan Smyth 2019-08-20 23:36:12 +00:00
parent ccd6500125
commit 2e60f7f95c
6 changed files with 16 additions and 46 deletions

View File

@ -1,4 +1,4 @@
{
module.exports = {
"parser": "babel-eslint",
"plugins": [
"react",
@ -43,7 +43,14 @@
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": { "jsx": true }
"ecmaFeatures": { "jsx": true },
// When the linter runs from the MC root, it won't pick up this project's
// babel.config.js, so we explicitly set Babel's root location so that
// it knows where to look.
"babelOptions": {
"root": __dirname,
},
},
"env": {
"es6": true,

View File

@ -17148,8 +17148,6 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = createSimplePath;
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/* 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/>. */
@ -17170,14 +17168,6 @@ function createSimplePath(ancestors) {
*/
class SimplePath {
constructor(ancestors, index = ancestors.length - 1) {
_defineProperty(this, "_index", void 0);
_defineProperty(this, "_ancestors", void 0);
_defineProperty(this, "_ancestor", void 0);
_defineProperty(this, "_parentPath", void 0);
if (index < 0 || index >= ancestors.length) {
console.error(ancestors);
throw new Error("Created invalid path");

View File

@ -99,17 +99,17 @@
"main": "src/main.js",
"author": "Jason Laster <jlaster@mozilla.com>",
"devDependencies": {
"@sucrase/webpack-object-rest-spread-plugin": "^1.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.6",
"babel-eslint": "^11.0.0-beta.0",
"babel-jest": "^23.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@sucrase/webpack-object-rest-spread-plugin": "^1.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.0",
"babel-jest": "^23.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-module-resolver": "^3.2.0",
"chalk": "^2.1.0",
"copy-paste": "^1.3.0",

View File

@ -433,7 +433,7 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0"
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-flow-strip-types@^7.0.0", "@babel/plugin-transform-flow-strip-types@^7.4.4":
"@babel/plugin-transform-flow-strip-types@^7.4.4":
version "7.4.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz#d267a081f49a8705fc9146de0768c6b58dccd8f7"
integrity sha512-WyVedfeEIILYEaWGAUWzVNyqG4sfsNooMhXWsu/YzOvVGcsnPb5PguysjJqI3t3qiaYj0BR8T2f5njdjTGe44Q==
@ -692,14 +692,6 @@
js-levenshtein "^1.1.3"
semver "^5.5.0"
"@babel/preset-flow@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.0.0.tgz#afd764835d9535ec63d8c7d4caf1c06457263da2"
integrity sha512-bJOHrYOPqJZCkPVbG1Lot2r5OSsB+iUOaxiHdlOeB1yPWS6evswVHwvkDLZ54WTaTRIk89ds0iHmGZSnxlPejQ==
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-flow-strip-types" "^7.0.0"
"@babel/preset-react@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0"

View File

@ -7415,8 +7415,6 @@ var _devtoolsComponents = _interopRequireDefault(__webpack_require__(108));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/* 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/>. */
@ -7486,11 +7484,6 @@ const {
class ObjectInspector extends Component {
constructor(props) {
super();
_defineProperty(this, "props", void 0);
_defineProperty(this, "cachedNodes", void 0);
this.cachedNodes = new Map();
const self = this;
self.getItemChildren = this.getItemChildren.bind(this);
@ -7714,8 +7707,6 @@ class ObjectInspector extends Component {
}
_defineProperty(ObjectInspector, "defaultProps", void 0);
function mapStateToProps(state, props) {
return {
expandedPaths: selectors.getExpandedPaths(state),

View File

@ -4169,8 +4169,6 @@ module.exports = {
/***/ 513:
/***/ (function(module, exports, __webpack_require__) {
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/* 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/>. */
@ -4349,10 +4347,6 @@ function filterScopes(items, pc, lastItem, index) {
class XScope {
constructor(xScopeData, sourceMapContext) {
_defineProperty(this, "xScope", void 0);
_defineProperty(this, "sourceMapContext", void 0);
this.xScope = xScopeData;
this.sourceMapContext = sourceMapContext;
}
@ -4416,8 +4410,6 @@ module.exports = {
/***/ 514:
/***/ (function(module, exports) {
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/* 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/>. */
@ -4427,8 +4419,6 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
/* eslint-disable no-inline-comments */
class Value {
constructor(val) {
_defineProperty(this, "val", void 0);
this.val = val;
}