mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 23:18:49 -05:00
Closes: https://github.com/nodejs/node/issues/52567 PR-URL: https://github.com/nodejs/node/pull/52780 Fixes: https://github.com/nodejs/node/issues/52567 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
29 lines
903 B
JavaScript
29 lines
903 B
JavaScript
/**
|
|
* @fileoverview APIs that are not officially supported by ESLint.
|
|
* These APIs may change or be removed at any time. Use at your
|
|
* own risk.
|
|
* @author Nicholas C. Zakas
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Requirements
|
|
//-----------------------------------------------------------------------------
|
|
|
|
const { FileEnumerator } = require("./cli-engine/file-enumerator");
|
|
const { ESLint: FlatESLint, shouldUseFlatConfig } = require("./eslint/eslint");
|
|
const { LegacyESLint } = require("./eslint/legacy-eslint");
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Exports
|
|
//-----------------------------------------------------------------------------
|
|
|
|
module.exports = {
|
|
builtinRules: require("./rules"),
|
|
FlatESLint,
|
|
shouldUseFlatConfig,
|
|
FileEnumerator,
|
|
LegacyESLint
|
|
};
|