import-globals.js 553 B

123456789101112131415161718192021
  1. /**
  2. * @fileoverview Discovers all globals for the current file.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. "use strict";
  9. module.exports = {
  10. meta: {
  11. docs: {
  12. url:
  13. "https://firefox-source-docs.mozilla.org/code-quality/lint/linters/eslint-plugin-mozilla/import-globals.html",
  14. },
  15. type: "problem",
  16. },
  17. create: require("../globals").getESLintGlobalParser,
  18. };