webhook/node_modules/eslint/lib/api.js

27 lines
715 B
JavaScript
Raw Normal View History

/**
* @fileoverview Expose out ESLint and CLI to require.
* @author Ian Christian Myers
*/
"use strict";
2022-11-10 11:43:16 +01:00
//-----------------------------------------------------------------------------
// Requirements
//-----------------------------------------------------------------------------
const { ESLint } = require("./eslint");
const { Linter } = require("./linter");
const { RuleTester } = require("./rule-tester");
const { SourceCode } = require("./source-code");
2022-11-10 11:43:16 +01:00
//-----------------------------------------------------------------------------
// Exports
//-----------------------------------------------------------------------------
module.exports = {
Linter,
ESLint,
RuleTester,
SourceCode
};