@eslinted/core 11.2.0 → 12.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/dist/factory/index.d.ts +1 -1
  2. package/dist/factory/index.d.ts.map +1 -1
  3. package/dist/factory/options/index.d.ts +1 -1
  4. package/dist/factory/options/index.d.ts.map +1 -1
  5. package/dist/factory/options/option/index.d.ts +2 -2
  6. package/dist/factory/options/option/index.d.ts.map +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +13 -6
  10. package/dist/index.js.map +1 -1
  11. package/dist/interface/index.d.ts +1 -1
  12. package/dist/interface/index.d.ts.map +1 -1
  13. package/dist/interface/input/global/ignores/defaults.d.ts +3 -0
  14. package/dist/interface/input/global/ignores/defaults.d.ts.map +1 -0
  15. package/dist/interface/input/global/ignores/defaults.js.map +1 -0
  16. package/dist/interface/input/global/ignores/extend.d.ts +5 -0
  17. package/dist/interface/input/global/ignores/extend.d.ts.map +1 -0
  18. package/dist/interface/input/global/ignores/extend.js +2 -0
  19. package/dist/interface/input/global/ignores/extend.js.map +1 -0
  20. package/dist/interface/input/global/ignores/index.d.ts +8 -0
  21. package/dist/interface/input/global/ignores/index.d.ts.map +1 -0
  22. package/dist/interface/input/global/ignores/index.js.map +1 -0
  23. package/dist/interface/input/global/index.d.ts +6 -0
  24. package/dist/interface/input/global/index.d.ts.map +1 -0
  25. package/dist/interface/input/global/index.js.map +1 -0
  26. package/dist/interface/input/imports/index.d.ts +1 -1
  27. package/dist/interface/input/imports/index.d.ts.map +1 -1
  28. package/dist/interface/input/index.d.ts +6 -4
  29. package/dist/interface/input/index.d.ts.map +1 -1
  30. package/dist/interface/input/scoped/files/defaults.d.ts.map +1 -0
  31. package/dist/interface/input/scoped/files/defaults.js.map +1 -0
  32. package/dist/interface/input/scoped/files/includes.d.ts.map +1 -0
  33. package/dist/interface/input/scoped/files/includes.js.map +1 -0
  34. package/dist/interface/input/scoped/files/index.d.ts.map +1 -0
  35. package/dist/interface/input/scoped/files/index.js.map +1 -0
  36. package/dist/interface/input/{user → scoped}/index.d.ts +1 -1
  37. package/dist/interface/input/scoped/index.d.ts.map +1 -0
  38. package/dist/interface/input/scoped/index.js.map +1 -0
  39. package/dist/interface/input/scoped/rules/defaults.d.ts.map +1 -0
  40. package/dist/interface/input/scoped/rules/defaults.js +2 -0
  41. package/dist/interface/input/scoped/rules/defaults.js.map +1 -0
  42. package/dist/interface/input/scoped/rules/index.d.ts.map +1 -0
  43. package/dist/interface/input/scoped/rules/index.js +2 -0
  44. package/dist/interface/input/scoped/rules/index.js.map +1 -0
  45. package/dist/interface/input/scoped/rules/overrides.d.ts.map +1 -0
  46. package/dist/interface/input/scoped/rules/overrides.js.map +1 -0
  47. package/dist/interface/input/settings/env.d.ts +3 -0
  48. package/dist/interface/input/settings/env.d.ts.map +1 -0
  49. package/dist/interface/input/settings/env.js +2 -0
  50. package/dist/interface/input/settings/env.js.map +1 -0
  51. package/dist/interface/input/settings/index.d.ts +6 -0
  52. package/dist/interface/input/settings/index.d.ts.map +1 -0
  53. package/dist/interface/input/settings/index.js +2 -0
  54. package/dist/interface/input/settings/index.js.map +1 -0
  55. package/dist/interface/output/globals.d.ts +6 -0
  56. package/dist/interface/output/globals.d.ts.map +1 -0
  57. package/dist/interface/output/globals.js +2 -0
  58. package/dist/interface/output/globals.js.map +1 -0
  59. package/dist/interface/output/index.d.ts +3 -3
  60. package/dist/interface/output/index.d.ts.map +1 -1
  61. package/dist/{interface/output/global → objects/config/globals}/ignores.d.ts +1 -1
  62. package/dist/objects/config/globals/ignores.d.ts.map +1 -0
  63. package/dist/objects/config/globals/ignores.js.map +1 -0
  64. package/dist/{interface/output/global → objects/config/globals}/system.d.ts +1 -1
  65. package/dist/objects/config/globals/system.d.ts.map +1 -0
  66. package/dist/objects/config/globals/system.js.map +1 -0
  67. package/dist/objects/config/index.d.ts +4 -14
  68. package/dist/objects/config/index.d.ts.map +1 -1
  69. package/dist/objects/config/scoped.d.ts +15 -0
  70. package/dist/objects/config/scoped.d.ts.map +1 -0
  71. package/dist/{interface/output → objects/config}/scoped.js.map +1 -1
  72. package/dist/objects/index.d.ts +1 -1
  73. package/dist/objects/index.d.ts.map +1 -1
  74. package/package.json +1 -1
  75. package/src/factory/index.ts +1 -1
  76. package/src/factory/options/index.ts +1 -1
  77. package/src/factory/options/option/index.ts +92 -91
  78. package/src/index.ts +19 -9
  79. package/src/interface/index.ts +11 -9
  80. package/src/interface/input/global/ignores/defaults.ts +6 -0
  81. package/src/interface/input/global/ignores/extend.ts +5 -0
  82. package/src/interface/input/global/ignores/index.ts +9 -0
  83. package/src/interface/input/global/index.ts +7 -0
  84. package/src/interface/input/imports/index.ts +1 -1
  85. package/src/interface/input/index.ts +12 -3
  86. package/src/interface/input/{user → scoped}/index.ts +1 -1
  87. package/src/interface/input/settings/env.ts +6 -0
  88. package/src/interface/input/settings/index.ts +7 -0
  89. package/src/interface/output/globals.ts +9 -0
  90. package/src/interface/output/index.ts +4 -5
  91. package/src/{interface/output/global → objects/config/globals}/ignores.ts +1 -1
  92. package/src/{interface/output/global → objects/config/globals}/system.ts +1 -1
  93. package/src/objects/config/index.ts +7 -15
  94. package/src/objects/config/scoped.ts +15 -0
  95. package/src/objects/index.ts +3 -2
  96. package/typings/common/utility/primitive/cast/number.d.ts +13 -3
  97. package/typings/common/utility/primitive/cast/number.spec.d.ts +57 -0
  98. package/dist/interface/input/user/files/defaults.d.ts.map +0 -1
  99. package/dist/interface/input/user/files/defaults.js.map +0 -1
  100. package/dist/interface/input/user/files/includes.d.ts.map +0 -1
  101. package/dist/interface/input/user/files/includes.js.map +0 -1
  102. package/dist/interface/input/user/files/index.d.ts.map +0 -1
  103. package/dist/interface/input/user/files/index.js.map +0 -1
  104. package/dist/interface/input/user/index.d.ts.map +0 -1
  105. package/dist/interface/input/user/index.js.map +0 -1
  106. package/dist/interface/input/user/rules/defaults.d.ts.map +0 -1
  107. package/dist/interface/input/user/rules/defaults.js.map +0 -1
  108. package/dist/interface/input/user/rules/index.d.ts.map +0 -1
  109. package/dist/interface/input/user/rules/index.js.map +0 -1
  110. package/dist/interface/input/user/rules/overrides.d.ts.map +0 -1
  111. package/dist/interface/input/user/rules/overrides.js.map +0 -1
  112. package/dist/interface/output/global/ignores.d.ts.map +0 -1
  113. package/dist/interface/output/global/ignores.js.map +0 -1
  114. package/dist/interface/output/global/index.d.ts +0 -8
  115. package/dist/interface/output/global/index.d.ts.map +0 -1
  116. package/dist/interface/output/global/index.js.map +0 -1
  117. package/dist/interface/output/global/system.d.ts.map +0 -1
  118. package/dist/interface/output/global/system.js.map +0 -1
  119. package/dist/interface/output/scoped.d.ts +0 -3
  120. package/dist/interface/output/scoped.d.ts.map +0 -1
  121. package/src/interface/output/global/index.ts +0 -12
  122. package/src/interface/output/scoped.ts +0 -3
  123. /package/dist/interface/input/{user/files → global/ignores}/defaults.js +0 -0
  124. /package/dist/interface/input/{user/files → global/ignores}/index.js +0 -0
  125. /package/dist/interface/input/{user → global}/index.js +0 -0
  126. /package/dist/interface/input/{user → scoped}/files/defaults.d.ts +0 -0
  127. /package/dist/interface/input/{user/rules → scoped/files}/defaults.js +0 -0
  128. /package/dist/interface/input/{user → scoped}/files/includes.d.ts +0 -0
  129. /package/dist/interface/input/{user → scoped}/files/includes.js +0 -0
  130. /package/dist/interface/input/{user → scoped}/files/index.d.ts +0 -0
  131. /package/dist/interface/input/{user/rules → scoped/files}/index.js +0 -0
  132. /package/dist/interface/{output/global → input/scoped}/index.js +0 -0
  133. /package/dist/interface/input/{user → scoped}/rules/defaults.d.ts +0 -0
  134. /package/dist/interface/input/{user → scoped}/rules/index.d.ts +0 -0
  135. /package/dist/interface/input/{user → scoped}/rules/overrides.d.ts +0 -0
  136. /package/dist/interface/input/{user → scoped}/rules/overrides.js +0 -0
  137. /package/dist/{interface/output/global → objects/config/globals}/ignores.js +0 -0
  138. /package/dist/{interface/output/global → objects/config/globals}/system.js +0 -0
  139. /package/dist/{interface/output → objects/config}/scoped.js +0 -0
  140. /package/src/interface/input/{user → scoped}/files/defaults.ts +0 -0
  141. /package/src/interface/input/{user → scoped}/files/includes.ts +0 -0
  142. /package/src/interface/input/{user → scoped}/files/index.ts +0 -0
  143. /package/src/interface/input/{user → scoped}/rules/defaults.ts +0 -0
  144. /package/src/interface/input/{user → scoped}/rules/index.ts +0 -0
  145. /package/src/interface/input/{user → scoped}/rules/overrides.ts +0 -0
@@ -1,4 +1,4 @@
1
- export type { Scope, Input, Config, RuleEntry, RuleRecord, } from "../index.js";
1
+ export type { Scope, Input, ScopedConfig, RuleEntry, RuleRecord, } from "../index.js";
2
2
  import { Files } from "./files.js";
3
3
  import { Rulesets } from "./rulesets/index.js";
4
4
  import Options from "./options/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,qBAAa,OAAO;IAClB,SAAgB,KAAK,EAAE,KAAK,CAAC;IAC7B,SAAgB,QAAQ,EAAE,QAAQ,CAAC;gBAGjC,KAAK,EAAE,qBAAqB,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7C,KAAK,EAAE,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IAM3C,OAAO,CAAC,KAAK,EAAE,MAAM;CAM7B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/factory/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,KAAK,EACL,YAAY,EACZ,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,qBAAa,OAAO;IAClB,SAAgB,KAAK,EAAE,KAAK,CAAC;IAC7B,SAAgB,QAAQ,EAAE,QAAQ,CAAC;gBAGjC,KAAK,EAAE,qBAAqB,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7C,KAAK,EAAE,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;IAM3C,OAAO,CAAC,KAAK,EAAE,MAAM;CAM7B"}
@@ -1,4 +1,4 @@
1
- export type { Scope, Config, } from "../index.js";
1
+ export type { Scope, ScopedConfig, } from "../index.js";
2
2
  import js from "./js.js";
3
3
  import ts from "./ts.js";
4
4
  import svelte from "./svelte.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,MAAM,GACP,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;AAExB,wBASW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/factory/options/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,YAAY,GACb,MAAM,IAAI,CAAC;AAEZ,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;AAExB,wBASW"}
@@ -1,4 +1,4 @@
1
- import type { Scope, Config } from "../index.js";
1
+ import type { Scope, ScopedConfig } from "../index.js";
2
2
  import type { LanguageOptions, Globals } from "./template/index.js";
3
3
  import type { Ruleset } from "../../rulesets/ruleset.js";
4
4
  export default abstract class Option<S extends Scope, ParserOptions extends object | boolean = false, ParserCount extends 0 | 1 | 2 = 0, Global extends Globals = never, Processor extends object = never, Language extends object = never> {
@@ -9,7 +9,7 @@ export default abstract class Option<S extends Scope, ParserOptions extends obje
9
9
  abstract readonly processor: Interface<Processor> extends never ? object : Interface<Processor> extends Readonly<Record<"processor", string>> ? Interface<Processor> : object;
10
10
  abstract readonly language: Interface<Language> extends never ? object : Interface<Language> extends Readonly<Record<"language", string>> ? Interface<Language> : object;
11
11
  constructor(parser: Tuple<ParserCount, unknown>, files: string[], ruleset: Ruleset);
12
- get configs(): Config[];
12
+ get configs(): ScopedConfig[];
13
13
  private get option();
14
14
  protected abstract get languageOptions(): LanguageOptions<ParserOptions, Global>;
15
15
  protected globals(type: Global): {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/factory/options/option/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACP,MAAM,IAAI,CAAC;AACZ,OAAO,KAAK,EAEV,eAAe,EACf,OAAO,EACR,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,CAAC,OAA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
  export type { Scope } from "./scopes/index.js";
2
- export type { Plugins, RuleEntry, RuleRecord, RuleState, Config, ConfigProperty, } from "./objects/index.js";
2
+ export type { Plugins, RuleEntry, RuleRecord, RuleState, ScopedConfig, GlobalConfigIgnores, GlobalConfigSystem, } from "./objects/index.js";
3
3
  import type { Input, Output } from "./interface/index.js";
4
4
  export type { Input, Output, };
5
5
  export default function (input: Input): Output;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,YAAY,EACV,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,MAAM,EACN,cAAc,GACf,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACP,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,KAAK,EACL,MAAM,GACP,CAAC;AAQF,MAAM,CAAC,OAAO,WAAW,KAAK,EAAE,KAAK,GAAG,MAAM,CAwE7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,YAAY,EACV,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACP,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,KAAK,EACL,MAAM,GACP,CAAC;AAQF,MAAM,CAAC,OAAO,WAAW,KAAK,EAAE,KAAK,GAAG,MAAM,CAiF7C"}
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { scopes } from "./scopes/index.js";
2
2
  import { Factory, Options, } from "./factory/index.js";
3
3
  export default function (input) {
4
4
  try {
5
- const { plugins, parsers, files, rules, } = input, factory = new Factory(files, rules), options = {
5
+ const { plugins, parsers, settings, ignores, files, rules, } = input, factory = new Factory(files, rules), options = {
6
6
  js: new Options
7
7
  .js([], ...factory.produce("js")).configs,
8
8
  ts: new Options
@@ -22,18 +22,25 @@ export default function (input) {
22
22
  };
23
23
  return [
24
24
  {
25
- ignores: [],
25
+ ignores: typeof ignores.extend.ignores === "undefined" || ignores.extend.ignores.length < 1
26
+ ? ignores.ignores.ignores
27
+ : [
28
+ ...ignores.extend.inherit === false
29
+ ? []
30
+ : ignores.ignores.ignores,
31
+ ...ignores.extend.ignores,
32
+ ],
26
33
  },
27
34
  {
28
35
  name: "linted",
29
36
  plugins,
30
37
  linterOptions: {
31
- noInlineConfig: true,
32
- reportUnusedDisableDirectives: "error",
38
+ noInlineConfig: settings.noInlineConfig,
39
+ reportUnusedDisableDirectives: settings.reportUnusedDisableDirectives,
33
40
  },
34
41
  languageOptions: {
35
- sourceType: "module",
36
- ecmaVersion: 2023,
42
+ sourceType: settings.sourceType,
43
+ ecmaVersion: settings.ecmaVersion,
37
44
  },
38
45
  },
39
46
  ...scopes.flatMap(scope => options[scope]),
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EACL,OAAO,EACP,OAAO,GACR,MAAM,WAAW,CAAC;AAEnB,MAAM,CAAC,OAAO,WAAW,KAAY;IACnC,IAAI,CAAC;QACH,MAAM,EACJ,OAAO,EACP,OAAO,EACP,KAAK,EACL,KAAK,GACN,GAAG,KAAK,EACT,OAAO,GAAG,IAAI,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EACnC,OAAO,GAAiF;YACtF,EAAE,EAAE,IAAI,OAAO;iBACZ,EAAE,CACD,EAAE,EACF,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CACzB,CAAC,OAAO;YACX,EAAE,EAAE,IAAI,OAAO;iBACZ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AAW;iBAClC;aACF;YACD,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAC3C,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC7D,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { Scope, Plugins, RuleEntry, RuleRecord, Config, ConfigProperty, } from "../index.js";
1
+ export type { Scope, Plugins, RuleEntry, RuleRecord, ScopedConfig, GlobalConfigIgnores, GlobalConfigSystem, } from "../index.js";
2
2
  export type { Input } from "./input/index.js";
3
3
  export type { Output } from "./output/index.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,EACP,SAAS,EACT,UAAU,EACV,MAAM,EACN,cAAc,GACf,MAAM,IAAI,CAAC;AACZ,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interface/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,EACP,SAAS,EACT,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,IAAI,CAAC;AACZ,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { GlobalConfigIgnores } from "./index.js";
2
+ export type GlobalIgnoreDefaults = Pick<GlobalConfigIgnores, "ignores">;
3
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,GAAG,CAAC;AAE7C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,mBAAmB,EACnB,SAAS,CACV,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/defaults.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { GlobalIgnoreDefaults } from "./defaults.js";
2
+ export type GlobalIgnoreExtend = {
3
+ inherit?: boolean;
4
+ } & Partial<GlobalIgnoreDefaults>;
5
+ //# sourceMappingURL=extend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/extend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extend.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/extend.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export type { GlobalConfigIgnores } from "../index.js";
2
+ import type { GlobalIgnoreDefaults } from "./defaults.js";
3
+ import type { GlobalIgnoreExtend } from "./extend.js";
4
+ export interface InputGlobalIgnores {
5
+ ignores: GlobalIgnoreDefaults;
6
+ extend: GlobalIgnoreExtend;
7
+ }
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,IAAI,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/global/ignores/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type { GlobalConfigIgnores } from "../index.js";
2
+ import type { InputGlobalIgnores } from "./ignores/index.js";
3
+ export interface InputGlobal {
4
+ ignores: InputGlobalIgnores;
5
+ }
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/global/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,IAAI,CAAC;AAE9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,kBAAkB,CAAC;CAC7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/global/index.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  export type { Scope, Plugins, } from "../index.js";
2
2
  import type { InputPlugins } from "./plugins.js";
3
3
  import type { InputParsers } from "./parsers/index.js";
4
- export interface Imports {
4
+ export interface InputImports {
5
5
  plugins: InputPlugins;
6
6
  parsers: InputParsers;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/imports/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,GACR,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;CACvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/imports/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,GACR,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,EAAE,YAAY,CAAC;CACvB"}
@@ -1,5 +1,7 @@
1
- export type { Scope, Plugins, RuleEntry, RuleRecord, } from "../index.js";
2
- import type { Imports } from "./imports/index.js";
3
- import type { User } from "./user/index.js";
4
- export type Input = Imports & User;
1
+ export type { Scope, Plugins, RuleEntry, RuleRecord, GlobalConfigSystem, GlobalConfigIgnores, } from "../index.js";
2
+ import type { InputImports } from "./imports/index.js";
3
+ import type { InputSettings } from "./settings/index.js";
4
+ import type { InputGlobal } from "./global/index.js";
5
+ import type { InputScoped } from "./scoped/index.js";
6
+ export type Input = (InputImports & InputSettings & InputGlobal & InputScoped);
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,EACP,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/input/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,OAAO,EACP,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,MAAM,KAAK,GAAG,CAChB,YAAY,GACZ,aAAa,GACb,WAAW,GACX,WAAW,CACd,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE/B,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,KAAK,EACL,MAAM,EAAE,CACT,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/defaults.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"includes.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/includes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,aAAa,GAAG,OAAO,CACjC,aAAa,CACd,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"includes.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/includes.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,IAAI,CAAC;AAEhC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/files/index.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  export type { Scope, RuleEntry, RuleRecord, } from "../index.js";
2
2
  import type { InputFiles } from "./files/index.js";
3
3
  import type { InputRules } from "./rules/index.js";
4
- export interface User {
4
+ export interface InputScoped {
5
5
  files: InputFiles;
6
6
  rules: InputRules;
7
7
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/scoped/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC;CACnB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/scoped/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,SAAS,EACV,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,CAChC,KAAK,EACL,SAAS,EAAE,CACZ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/defaults.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,SAAS,EACT,UAAU,GACX,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,cAAc,CAAC;CAC3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrides.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,SAAS,CACpC,MAAM,aAAa,EACnB,UAAU,CACX,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/overrides.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { GlobalConfigSystem } from "./index.js";
2
+ export type InputEnvironment = Required<GlobalConfigSystem["linterOptions"] & GlobalConfigSystem["languageOptions"]>;
3
+ //# sourceMappingURL=env.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/settings/env.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACnC,kBAAkB,CAAC,eAAe,CAAC,GACnC,kBAAkB,CAAC,iBAAiB,CAAC,CACxC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=env.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.js","sourceRoot":"","sources":["../../../../src/interface/input/settings/env.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type { GlobalConfigSystem } from "../index.js";
2
+ import type { InputEnvironment } from "./env.js";
3
+ export interface InputSettings {
4
+ settings: InputEnvironment;
5
+ }
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/input/settings/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,IAAI,CAAC;AAE7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE9C,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,gBAAgB,CAAC;CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/input/settings/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { GlobalConfigIgnores, GlobalConfigSystem } from "./index.js";
2
+ export type GlobalConfigs = readonly [
3
+ GlobalConfigIgnores,
4
+ GlobalConfigSystem
5
+ ];
6
+ //# sourceMappingURL=globals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../../src/interface/output/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,SAAS;IACnC,mBAAmB;IACnB,kBAAkB;CACnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=globals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globals.js","sourceRoot":"","sources":["../../../src/interface/output/globals.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
- export type { Plugins, Config, ConfigProperty, } from "../index.js";
2
- import type { GlobalConfigs } from "./global/index.js";
3
- import type { ScopedConfig } from "./scoped.js";
1
+ export type { GlobalConfigIgnores, GlobalConfigSystem, } from "../index.js";
2
+ import type { GlobalConfigs } from "./globals.js";
3
+ import type { ScopedConfig } from "../index.js";
4
4
  export type Output = [
5
5
  ...GlobalConfigs,
6
6
  ...ScopedConfig[]
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/output/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,OAAO,EACP,MAAM,EACN,cAAc,GACf,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,aAAa;IAChB,GAAG,YAAY,EAAE;CAClB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/output/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,IAAI,CAAC;AAEZ,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAEvC,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,aAAa;IAChB,GAAG,YAAY,EAAE;CAClB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ConfigProperty } from "./index.js";
1
+ import type { ConfigProperty } from "../index.js";
2
2
  export type GlobalConfigIgnores = Partial<Record<Exclude<ConfigProperty, "ignores">, never>> & {
3
3
  ignores: string[];
4
4
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ignores.d.ts","sourceRoot":"","sources":["../../../../src/objects/config/globals/ignores.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAC9C,OAAO,CACL,cAAc,EACd,SAAS,CACV,EACD,KAAK,CACN,CAAC,GAAG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ignores.js","sourceRoot":"","sources":["../../../../src/objects/config/globals/ignores.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import type { Plugins, ConfigProperty } from "./index.js";
1
+ import type { Plugins, ConfigProperty } from "../index.js";
2
2
  export type GlobalConfigSystem = Partial<Record<Exclude<ConfigProperty, "name" | "plugins" | "linterOptions" | "languageOptions">, never>> & {
3
3
  name: `linted`;
4
4
  plugins: Plugins;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../src/objects/config/globals/system.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,IAAI,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAC7C,OAAO,CACL,cAAc,EACZ,MAAM,GACN,SAAS,GACT,eAAe,GACf,iBAAiB,CACpB,EACD,KAAK,CACN,CAAC,GAAG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE;QACb,cAAc,EAAE,OAAO,CAAC;QACxB,6BAA6B,EACzB,OAAO,GACP,MAAM,GACN,KAAK,CACR;KACF,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CACX;QACD,WAAW,CAAC,EACR,QAAQ,GACR,CAAC,GACD,CAAC,GACD,QAAQ,CAAC,KAAK,CACZ,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,CACL,EAAE,CAAC,CAAC;KACR,CAAC;CACH,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../src/objects/config/globals/system.ts"],"names":[],"mappings":""}
@@ -1,16 +1,6 @@
1
- import type { RuleRecord } from "../index.js";
2
- export interface Config {
3
- name: `linted/${string}`;
4
- rules: RuleRecord;
5
- files: string[];
6
- ignores: string[];
7
- languageOptions: {
8
- parser?: unknown;
9
- parserOptions?: Table;
10
- globals?: Table<true>;
11
- };
12
- processor?: string;
13
- language?: string;
14
- }
1
+ export type { Plugins, RuleRecord, } from "../index.js";
15
2
  export type { ConfigProperty } from "./property.js";
3
+ export type { ScopedConfig } from "./scoped.js";
4
+ export type { GlobalConfigIgnores } from "./globals/ignores.js";
5
+ export type { GlobalConfigSystem } from "./globals/system.js";
16
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/objects/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAErC,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,UAAU,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,KAAK,CAAC;QACtB,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;KACvB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/objects/config/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,OAAO,EACP,UAAU,GACX,MAAM,IAAI,CAAC;AACZ,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { RuleRecord } from "./index.js";
2
+ export interface ScopedConfig {
3
+ name: `linted/${string}`;
4
+ rules: RuleRecord;
5
+ files: string[];
6
+ ignores: string[];
7
+ languageOptions: {
8
+ parser?: unknown;
9
+ parserOptions?: Table;
10
+ globals?: Table<true>;
11
+ };
12
+ processor?: string;
13
+ language?: string;
14
+ }
15
+ //# sourceMappingURL=scoped.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoped.d.ts","sourceRoot":"","sources":["../../../src/objects/config/scoped.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAEpC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,UAAU,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,KAAK,CAAC;QACtB,OAAO,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;KACvB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"scoped.js","sourceRoot":"","sources":["../../../src/interface/output/scoped.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"scoped.js","sourceRoot":"","sources":["../../../src/objects/config/scoped.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
1
  export type { Plugins } from "./plugins/index.js";
2
2
  export type { RuleEntry, RuleRecord, RuleState, } from "./rule/index.js";
3
- export type { Config, ConfigProperty, } from "./config/index.js";
3
+ export type { ScopedConfig, GlobalConfigIgnores, GlobalConfigSystem, } from "./config/index.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/objects/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EACV,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,QAAQ,CAAC;AAChB,YAAY,EACV,MAAM,EACN,cAAc,GACf,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/objects/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EACV,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,QAAQ,CAAC;AAChB,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "@eslinted/core",
4
- "version": "11.2.0",
4
+ "version": "12.0.0-rc.1",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -1,7 +1,7 @@
1
1
  export type {
2
2
  Scope,
3
3
  Input,
4
- Config,
4
+ ScopedConfig,
5
5
  RuleEntry,
6
6
  RuleRecord,
7
7
  } from "..";
@@ -1,6 +1,6 @@
1
1
  export type {
2
2
  Scope,
3
- Config,
3
+ ScopedConfig,
4
4
  } from "..";
5
5
 
6
6
  import js from "./js";