How to use the eslint-plugin-mozilla/lib/configs/browser-test.js.rules function in eslint-plugin-mozilla

To help you get started, we’ve selected a few eslint-plugin-mozilla examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla / releases-comm-central / .eslintrc.js View on Github external
],
      rules: {
        "no-unused-vars": [
          "error",
          {
            args: "none",
            vars: "local",
          },
        ],
      },
    },
    {
      ...browserTestConfig,
      files: browserTestPaths.map(path => `${path}**`),
      rules: {
        ...browserTestConfig.rules,
        "func-names": "off",
      },
    },
  ],
};

eslint-plugin-mozilla

A collection of rules that help enforce JavaScript coding standard in the Mozilla project.

MPL-2.0
Latest version published 20 days ago

Package Health Score

63 / 100
Full package analysis