Commit 901b63a5 authored by Mark Banner's avatar Mark Banner
Browse files

Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin...

Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop

Depends on D168235

Differential Revision: https://phabricator.services.mozilla.com/D168236
parent b3156f46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1237,10 +1237,10 @@ class ThreadActor extends Actor {
              stepFrame.onStep = onStep;
            }
          }
        // eslint-disable no-fallthrough
        // eslint-disable-next-line no-fallthrough
        case "finish":
          stepFrame.onStep = createStepForReactionTracking(stepFrame.onStep);
        // eslint-disable no-fallthrough
        // eslint-disable-next-line no-fallthrough
        case "restart":
          stepFrame.onPop = onPop;
          break;
+1082 −464

File changed.

Preview size limit exceeded, changes collapsed.

+7 −6
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@
"use strict";

module.exports = {
  plugins: ["eslint-plugin"],
  extends: ["plugin:eslint-plugin/recommended"],
  // eslint-plugin-mozilla runs under node, so we need a more restrictive
  // environment / parser setup here than the rest of mozilla-central.
  env: {
@@ -23,5 +25,6 @@ module.exports = {
    "no-undef-init": "error",
    "one-var": ["error", "never"],
    strict: ["error", "global"],
    "eslint-plugin/prefer-message-ids": "off",
  },
};
+2 −2
Original line number Diff line number Diff line
[
  {
    "filename": "eslint-plugin-mozilla.tar.gz",
    "size": 11340023,
    "size": 11475311,
    "algorithm": "sha512",
    "digest": "f98c6d1d1065cd6ea7ec8878be5eefef0510f02f6bb389b70c29b753b54067e92a0ec2e3e9f53b3a107e3e2facfd3a698caf79310dcb452bbf03b22a35472a4f",
    "digest": "309cab6d8a66533505decc708d1f0a6f65c1a639c4c2c740b0c0649d766efe8206c0b51abaa59ae990c201dc039ac8b0295987f2862ac5b568b4e8e9341300ca",
    "unpack": true,
    "visibility": "public"
  }
Loading