@eslinted/core 4.0.0-rc.2 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,23 +1,23 @@
1
1
  import type { Scope } from "./scopes/index.js";
2
- import type * as Core from "./boundary/index.js";
3
- export default function (plugins: Core.Input.Plugins, parsers: Core.Input.Parsers, files: Core.Input.Files, rules: Core.Input.Rules): Core.Output[];
4
- declare namespace LintCore {
2
+ import type * as core from "./boundary/index.js";
3
+ export default function (plugins: core.Input.Plugins, parsers: core.Input.Parsers, files: core.Input.Files, rules: core.Input.Rules): core.Output[];
4
+ declare namespace Core {
5
5
  type Scopes = Scope;
6
6
  namespace Input {
7
- type Parsers = Core.Input.Parsers;
8
- type Plugins = Core.Input.Plugins;
9
- type Files = Core.Input.Files;
7
+ type Parsers = core.Input.Parsers;
8
+ type Plugins = core.Input.Plugins;
9
+ type Files = core.Input.Files;
10
10
  namespace Files {
11
- type Base = Core.Input.Files.FileBase;
12
- type Includes = Core.Input.Files.Includes;
11
+ type Base = core.Input.Files.FileBase;
12
+ type Includes = core.Input.Files.Includes;
13
13
  }
14
- type Rules = Core.Input.Rules;
14
+ type Rules = core.Input.Rules;
15
15
  namespace Rules {
16
- type Base = Core.Input.Rules.RuleBase;
17
- type Overrides = Core.Input.Rules.Overrides;
16
+ type Base = core.Input.Rules.RuleBase;
17
+ type Overrides = core.Input.Rules.Overrides;
18
18
  }
19
19
  }
20
- type Output = Core.Output[];
20
+ type Output = core.Output[];
21
21
  }
22
- export type { LintCore };
22
+ export type { Core };
23
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAEjD,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OA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AO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GACtB,IAAI,CAAC,MAAM,EAAE,CAyEf;AAED,kBAAU,IAAI,CAAC;IACb,KAAY,MAAM,GAAG,KAAK,CAAC;IAC3B,UAAiB,KAAK,CAAC;QACrB,KAAY,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QACzC,KAAY,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QACzC,KAAY,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,UAAiB,KAAK,CAAC;YACrB,KAAY,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7C,KAAY,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;SAClD;QACD,KAAY,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,UAAiB,KAAK,CAAC;YACrB,KAAY,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7C,KAAY,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;SACpD;KACF;IACD,KAAY,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;CACpC;AAED,YAAY,EAAE,IAAI,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.17.8",
3
3
  "name": "@eslinted/core",
4
- "version": "4.0.0-rc.2",
4
+ "version": "4.0.0",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "license": "MIT",
package/src/index.ts CHANGED
@@ -5,14 +5,14 @@ import {
5
5
  } from "./factory/index.js";
6
6
  import scopes from "./scopes/index.js";
7
7
  import type { Scope } from "./scopes/index.js";
8
- import type * as Core from "./boundary/index.js";
8
+ import type * as core from "./boundary/index.js";
9
9
 
10
10
  export default function (
11
- plugins: Core.Input.Plugins,
12
- parsers: Core.Input.Parsers,
13
- files: Core.Input.Files,
14
- rules: Core.Input.Rules,
15
- ): Core.Output[] {
11
+ plugins: core.Input.Plugins,
12
+ parsers: core.Input.Parsers,
13
+ files: core.Input.Files,
14
+ rules: core.Input.Rules,
15
+ ): core.Output[] {
16
16
  try {
17
17
  const F = new Files(files),
18
18
  R = new Rulesets(rules),
@@ -87,23 +87,23 @@ export default function (
87
87
  catch (e) { throw new Error(`linted-core`, { cause: e }); }
88
88
  }
89
89
 
90
- namespace LintCore {
90
+ namespace Core {
91
91
  export type Scopes = Scope;
92
92
  export namespace Input {
93
- export type Parsers = Core.Input.Parsers;
94
- export type Plugins = Core.Input.Plugins;
95
- export type Files = Core.Input.Files;
93
+ export type Parsers = core.Input.Parsers;
94
+ export type Plugins = core.Input.Plugins;
95
+ export type Files = core.Input.Files;
96
96
  export namespace Files {
97
- export type Base = Core.Input.Files.FileBase;
98
- export type Includes = Core.Input.Files.Includes;
97
+ export type Base = core.Input.Files.FileBase;
98
+ export type Includes = core.Input.Files.Includes;
99
99
  }
100
- export type Rules = Core.Input.Rules;
100
+ export type Rules = core.Input.Rules;
101
101
  export namespace Rules {
102
- export type Base = Core.Input.Rules.RuleBase;
103
- export type Overrides = Core.Input.Rules.Overrides;
102
+ export type Base = core.Input.Rules.RuleBase;
103
+ export type Overrides = core.Input.Rules.Overrides;
104
104
  }
105
105
  }
106
- export type Output = Core.Output[];
106
+ export type Output = core.Output[];
107
107
  }
108
108
 
109
- export type { LintCore };
109
+ export type { Core };