You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.7 KiB
55 lines
1.7 KiB
3 years ago
|
/**
|
||
|
* @fileoverview Package exports for @eslint/eslintrc
|
||
|
* @author Nicholas C. Zakas
|
||
|
*/
|
||
|
"use strict";
|
||
|
|
||
|
//------------------------------------------------------------------------------
|
||
|
// Requirements
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
const {
|
||
|
ConfigArrayFactory,
|
||
|
createContext: createConfigArrayFactoryContext
|
||
|
} = require("./config-array-factory");
|
||
|
|
||
|
const { CascadingConfigArrayFactory } = require("./cascading-config-array-factory");
|
||
|
const ModuleResolver = require("./shared/relative-module-resolver");
|
||
|
const { ConfigArray, getUsedExtractedConfigs } = require("./config-array");
|
||
|
const { ConfigDependency } = require("./config-array/config-dependency");
|
||
|
const { ExtractedConfig } = require("./config-array/extracted-config");
|
||
|
const { IgnorePattern } = require("./config-array/ignore-pattern");
|
||
|
const { OverrideTester } = require("./config-array/override-tester");
|
||
|
const ConfigOps = require("./shared/config-ops");
|
||
|
const ConfigValidator = require("./shared/config-validator");
|
||
|
const naming = require("./shared/naming");
|
||
|
const { FlatCompat } = require("./flat-compat");
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Exports
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
Legacy: {
|
||
|
ConfigArray,
|
||
|
createConfigArrayFactoryContext,
|
||
|
CascadingConfigArrayFactory,
|
||
|
ConfigArrayFactory,
|
||
|
ConfigDependency,
|
||
|
ExtractedConfig,
|
||
|
IgnorePattern,
|
||
|
OverrideTester,
|
||
|
getUsedExtractedConfigs,
|
||
|
|
||
|
// shared
|
||
|
ConfigOps,
|
||
|
ConfigValidator,
|
||
|
ModuleResolver,
|
||
|
naming
|
||
|
},
|
||
|
|
||
|
FlatCompat
|
||
|
|
||
|
};
|