mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 19:41:12 +08:00
This pulls in version 8, which covers numerous breaking changes. Most notably, the `CLIEngine` class has been removed, for which we should now use `ESLint`. R=jacktfranklin@chromium.org Bug: none Change-Id: I3b64600e690f073d4db19fb34539db7200f3b561 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3268298 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
27 lines
715 B
JavaScript
27 lines
715 B
JavaScript
/**
|
|
* @fileoverview Expose out ESLint and CLI to require.
|
|
* @author Ian Christian Myers
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Requirements
|
|
//-----------------------------------------------------------------------------
|
|
|
|
const { ESLint } = require("./eslint");
|
|
const { Linter } = require("./linter");
|
|
const { RuleTester } = require("./rule-tester");
|
|
const { SourceCode } = require("./source-code");
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Exports
|
|
//-----------------------------------------------------------------------------
|
|
|
|
module.exports = {
|
|
Linter,
|
|
ESLint,
|
|
RuleTester,
|
|
SourceCode
|
|
};
|