unsupported-api.js 862 B

123456789101112131415161718192021222324252627
  1. /**
  2. * @fileoverview APIs that are not officially supported by ESLint.
  3. * These APIs may change or be removed at any time. Use at your
  4. * own risk.
  5. * @author Nicholas C. Zakas
  6. */
  7. "use strict";
  8. //-----------------------------------------------------------------------------
  9. // Requirements
  10. //-----------------------------------------------------------------------------
  11. const { FileEnumerator } = require("./cli-engine/file-enumerator");
  12. const { FlatESLint } = require("./eslint/flat-eslint");
  13. const FlatRuleTester = require("./rule-tester/flat-rule-tester");
  14. //-----------------------------------------------------------------------------
  15. // Exports
  16. //-----------------------------------------------------------------------------
  17. module.exports = {
  18. builtinRules: require("./rules"),
  19. FlatESLint,
  20. FlatRuleTester,
  21. FileEnumerator
  22. };