node/tools/eslint/lib/api.js

14 lines
301 B
JavaScript

/**
* @fileoverview Expose out ESLint and CLI to require.
* @author Ian Christian Myers
*/
"use strict";
module.exports = {
linter: require("./eslint"),
CLIEngine: require("./cli-engine"),
RuleTester: require("./testers/rule-tester"),
SourceCode: require("./util/source-code")
};