1 | /**
|
---|
2 | * @fileoverview Package exports for @eslint/eslintrc
|
---|
3 | * @author Nicholas C. Zakas
|
---|
4 | */
|
---|
5 | //------------------------------------------------------------------------------
|
---|
6 | // Requirements
|
---|
7 | //------------------------------------------------------------------------------
|
---|
8 |
|
---|
9 | import {
|
---|
10 | ConfigArrayFactory,
|
---|
11 | createContext as createConfigArrayFactoryContext
|
---|
12 | } from "./config-array-factory.js";
|
---|
13 |
|
---|
14 | import { CascadingConfigArrayFactory } from "./cascading-config-array-factory.js";
|
---|
15 | import * as ModuleResolver from "./shared/relative-module-resolver.js";
|
---|
16 | import { ConfigArray, getUsedExtractedConfigs } from "./config-array/index.js";
|
---|
17 | import { ConfigDependency } from "./config-array/config-dependency.js";
|
---|
18 | import { ExtractedConfig } from "./config-array/extracted-config.js";
|
---|
19 | import { IgnorePattern } from "./config-array/ignore-pattern.js";
|
---|
20 | import { OverrideTester } from "./config-array/override-tester.js";
|
---|
21 | import * as ConfigOps from "./shared/config-ops.js";
|
---|
22 | import ConfigValidator from "./shared/config-validator.js";
|
---|
23 | import * as naming from "./shared/naming.js";
|
---|
24 | import { FlatCompat } from "./flat-compat.js";
|
---|
25 | import environments from "../conf/environments.js";
|
---|
26 |
|
---|
27 | //-----------------------------------------------------------------------------
|
---|
28 | // Exports
|
---|
29 | //-----------------------------------------------------------------------------
|
---|
30 |
|
---|
31 | const Legacy = {
|
---|
32 | ConfigArray,
|
---|
33 | createConfigArrayFactoryContext,
|
---|
34 | CascadingConfigArrayFactory,
|
---|
35 | ConfigArrayFactory,
|
---|
36 | ConfigDependency,
|
---|
37 | ExtractedConfig,
|
---|
38 | IgnorePattern,
|
---|
39 | OverrideTester,
|
---|
40 | getUsedExtractedConfigs,
|
---|
41 | environments,
|
---|
42 |
|
---|
43 | // shared
|
---|
44 | ConfigOps,
|
---|
45 | ConfigValidator,
|
---|
46 | ModuleResolver,
|
---|
47 | naming
|
---|
48 | };
|
---|
49 |
|
---|
50 | export {
|
---|
51 |
|
---|
52 | Legacy,
|
---|
53 |
|
---|
54 | FlatCompat
|
---|
55 |
|
---|
56 | };
|
---|