@eslinted/core 4.0.5-rc.1 → 4.0.5-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/dist/factory/files.d.ts +8 -0
  2. package/dist/factory/files.d.ts.map +1 -0
  3. package/dist/factory/files.js +16 -0
  4. package/dist/factory/files.js.map +1 -0
  5. package/dist/factory/index.d.ts +5 -0
  6. package/dist/factory/index.d.ts.map +1 -0
  7. package/dist/factory/index.js +5 -0
  8. package/dist/factory/index.js.map +1 -0
  9. package/dist/factory/options/html.d.ts +9 -0
  10. package/dist/factory/options/html.d.ts.map +1 -0
  11. package/dist/factory/options/html.js +10 -0
  12. package/dist/factory/options/html.js.map +1 -0
  13. package/dist/factory/options/index.d.ts +22 -0
  14. package/dist/factory/options/index.d.ts.map +1 -0
  15. package/dist/factory/options/index.js +21 -0
  16. package/dist/factory/options/index.js.map +1 -0
  17. package/dist/factory/options/js.d.ts +10 -0
  18. package/dist/factory/options/js.d.ts.map +1 -0
  19. package/dist/factory/options/js.js +12 -0
  20. package/dist/factory/options/js.js.map +1 -0
  21. package/dist/factory/options/json.d.ts +9 -0
  22. package/dist/factory/options/json.d.ts.map +1 -0
  23. package/dist/factory/options/json.js +10 -0
  24. package/dist/factory/options/json.js.map +1 -0
  25. package/dist/factory/options/jsonc.d.ts +9 -0
  26. package/dist/factory/options/jsonc.d.ts.map +1 -0
  27. package/dist/factory/options/jsonc.js +10 -0
  28. package/dist/factory/options/jsonc.js.map +1 -0
  29. package/dist/factory/options/md.d.ts +9 -0
  30. package/dist/factory/options/md.d.ts.map +1 -0
  31. package/dist/factory/options/md.js +10 -0
  32. package/dist/factory/options/md.js.map +1 -0
  33. package/dist/factory/options/mocha.d.ts +40 -0
  34. package/dist/factory/options/mocha.d.ts.map +1 -0
  35. package/dist/factory/options/mocha.js +17 -0
  36. package/dist/factory/options/mocha.js.map +1 -0
  37. package/dist/factory/options/option/index.d.ts +2989 -0
  38. package/dist/factory/options/option/index.d.ts.map +1 -0
  39. package/dist/factory/options/option/index.js +56 -0
  40. package/dist/factory/options/option/index.js.map +1 -0
  41. package/dist/factory/options/option/params/globals.d.ts +3 -0
  42. package/dist/factory/options/option/params/globals.d.ts.map +1 -0
  43. package/dist/factory/options/option/params/globals.js +2 -0
  44. package/dist/factory/options/option/params/globals.js.map +1 -0
  45. package/dist/factory/options/option/params/language.d.ts +14 -0
  46. package/dist/factory/options/option/params/language.d.ts.map +1 -0
  47. package/dist/factory/options/option/params/language.js +2 -0
  48. package/dist/factory/options/option/params/language.js.map +1 -0
  49. package/dist/factory/options/option/params/languageOptions/ecma.d.ts +2 -0
  50. package/dist/factory/options/option/params/languageOptions/ecma.d.ts.map +1 -0
  51. package/dist/factory/options/option/params/languageOptions/ecma.js +2 -0
  52. package/dist/factory/options/option/params/languageOptions/ecma.js.map +1 -0
  53. package/dist/factory/options/option/params/languageOptions/source.d.ts +2 -0
  54. package/dist/factory/options/option/params/languageOptions/source.d.ts.map +1 -0
  55. package/dist/factory/options/option/params/languageOptions/source.js +2 -0
  56. package/dist/factory/options/option/params/languageOptions/source.js.map +1 -0
  57. package/dist/factory/options/option/params/linter.d.ts +5 -0
  58. package/dist/factory/options/option/params/linter.d.ts.map +1 -0
  59. package/dist/factory/options/option/params/linter.js +2 -0
  60. package/dist/factory/options/option/params/linter.js.map +1 -0
  61. package/dist/factory/options/option/params/plugins.d.ts +4 -0
  62. package/dist/factory/options/option/params/plugins.d.ts.map +1 -0
  63. package/dist/factory/options/option/params/plugins.js +2 -0
  64. package/dist/factory/options/option/params/plugins.js.map +1 -0
  65. package/dist/factory/options/option/template.d.ts +14 -0
  66. package/dist/factory/options/option/template.d.ts.map +1 -0
  67. package/dist/factory/options/option/template.js +2 -0
  68. package/dist/factory/options/option/template.js.map +1 -0
  69. package/dist/factory/options/svelte.d.ts +27 -0
  70. package/dist/factory/options/svelte.d.ts.map +1 -0
  71. package/dist/factory/options/svelte.js +21 -0
  72. package/dist/factory/options/svelte.js.map +1 -0
  73. package/dist/factory/options/ts.d.ts +19 -0
  74. package/dist/factory/options/ts.d.ts.map +1 -0
  75. package/dist/factory/options/ts.js +15 -0
  76. package/dist/factory/options/ts.js.map +1 -0
  77. package/dist/factory/options/yml.d.ts +9 -0
  78. package/dist/factory/options/yml.d.ts.map +1 -0
  79. package/dist/factory/options/yml.js +10 -0
  80. package/dist/factory/options/yml.js.map +1 -0
  81. package/dist/factory/ruleset/index.d.ts +14 -0
  82. package/dist/factory/ruleset/index.d.ts.map +1 -0
  83. package/dist/factory/ruleset/index.js +38 -0
  84. package/dist/factory/ruleset/index.js.map +1 -0
  85. package/dist/factory/ruleset/rule.d.ts +7 -0
  86. package/dist/factory/ruleset/rule.d.ts.map +1 -0
  87. package/dist/factory/ruleset/rule.js +9 -0
  88. package/dist/factory/ruleset/rule.js.map +1 -0
  89. package/dist/factory/rulesets.d.ts +9 -0
  90. package/dist/factory/rulesets.d.ts.map +1 -0
  91. package/dist/factory/rulesets.js +17 -0
  92. package/dist/factory/rulesets.js.map +1 -0
  93. package/dist/index.d.ts +25 -0
  94. package/dist/index.d.ts.map +1 -0
  95. package/dist/index.js +31 -0
  96. package/dist/index.js.map +1 -0
  97. package/dist/input.d.ts +11 -0
  98. package/dist/input.d.ts.map +1 -0
  99. package/dist/input.js +2 -0
  100. package/dist/input.js.map +1 -0
  101. package/dist/inputs/files/base.d.ts +3 -0
  102. package/dist/inputs/files/base.d.ts.map +1 -0
  103. package/dist/inputs/files/base.js +2 -0
  104. package/dist/inputs/files/base.js.map +1 -0
  105. package/dist/inputs/files/includes.d.ts +3 -0
  106. package/dist/inputs/files/includes.d.ts.map +1 -0
  107. package/dist/inputs/files/includes.js +2 -0
  108. package/dist/inputs/files/includes.js.map +1 -0
  109. package/dist/inputs/files.d.ts +7 -0
  110. package/dist/inputs/files.d.ts.map +1 -0
  111. package/dist/inputs/files.js +2 -0
  112. package/dist/inputs/files.js.map +1 -0
  113. package/dist/inputs/imports/parsers.d.ts +3 -0
  114. package/dist/inputs/imports/parsers.d.ts.map +1 -0
  115. package/dist/inputs/imports/parsers.js +2 -0
  116. package/dist/inputs/imports/parsers.js.map +1 -0
  117. package/dist/inputs/imports/plugins.d.ts +2 -0
  118. package/dist/inputs/imports/plugins.d.ts.map +1 -0
  119. package/dist/inputs/imports/plugins.js +2 -0
  120. package/dist/inputs/imports/plugins.js.map +1 -0
  121. package/dist/inputs/imports.d.ts +3 -0
  122. package/dist/inputs/imports.d.ts.map +1 -0
  123. package/dist/inputs/imports.js +2 -0
  124. package/dist/inputs/imports.js.map +1 -0
  125. package/dist/inputs/parsers.d.ts +3 -0
  126. package/dist/inputs/parsers.d.ts.map +1 -0
  127. package/dist/inputs/parsers.js +2 -0
  128. package/dist/inputs/parsers.js.map +1 -0
  129. package/dist/inputs/plugins.d.ts +5 -0
  130. package/dist/inputs/plugins.d.ts.map +1 -0
  131. package/dist/inputs/plugins.js +2 -0
  132. package/dist/inputs/plugins.js.map +1 -0
  133. package/dist/inputs/rules/entry/index.d.ts +3 -0
  134. package/dist/inputs/rules/entry/index.d.ts.map +1 -0
  135. package/dist/inputs/rules/entry/index.js +2 -0
  136. package/dist/inputs/rules/entry/index.js.map +1 -0
  137. package/dist/inputs/rules/entry/object/index.d.ts +3 -0
  138. package/dist/inputs/rules/entry/object/index.d.ts.map +1 -0
  139. package/dist/inputs/rules/entry/object/index.js +2 -0
  140. package/dist/inputs/rules/entry/object/index.js.map +1 -0
  141. package/dist/inputs/rules/entry/object/state/index.d.ts +2 -0
  142. package/dist/inputs/rules/entry/object/state/index.d.ts.map +1 -0
  143. package/dist/inputs/rules/entry/object/state/index.js +2 -0
  144. package/dist/inputs/rules/entry/object/state/index.js.map +1 -0
  145. package/dist/inputs/rules/overrides.d.ts +4 -0
  146. package/dist/inputs/rules/overrides.d.ts.map +1 -0
  147. package/dist/inputs/rules/overrides.js +2 -0
  148. package/dist/inputs/rules/overrides.js.map +1 -0
  149. package/dist/inputs/rules/preset.d.ts +4 -0
  150. package/dist/inputs/rules/preset.d.ts.map +1 -0
  151. package/dist/inputs/rules/preset.js +2 -0
  152. package/dist/inputs/rules/preset.js.map +1 -0
  153. package/dist/inputs/rules.d.ts +7 -0
  154. package/dist/inputs/rules.d.ts.map +1 -0
  155. package/dist/inputs/rules.js +2 -0
  156. package/dist/inputs/rules.js.map +1 -0
  157. package/dist/output.d.ts +22 -0
  158. package/dist/output.d.ts.map +1 -0
  159. package/dist/output.js +2 -0
  160. package/dist/output.js.map +1 -0
  161. package/dist/scopes.d.ts +3 -0
  162. package/dist/scopes.d.ts.map +1 -0
  163. package/dist/scopes.js +12 -0
  164. package/dist/scopes.js.map +1 -0
  165. package/package.json +3 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"includes.js","sourceRoot":"","sources":["../../../src/inputs/files/includes.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { Base } from "./files/base.js";
2
+ import type { Includes } from "./files/includes.js";
3
+ export interface Files {
4
+ files: Base;
5
+ includes: Includes;
6
+ }
7
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/inputs/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=files.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/inputs/files.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { Scope } from "@eslinted/core";
2
+ export type Parsers = Scope & ("ts" | "svelte" | "html" | "jsonc" | "yml" | "md");
3
+ //# sourceMappingURL=parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/inputs/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,MAAM,OAAO,GAAG,KAAK,GACvB,CACE,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,GACL,IAAI,CACT,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=parsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../src/inputs/imports/parsers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export type Plugins = "@stylistic" | "@typescript-eslint" | "svelte" | "mocha" | "@html-eslint" | "jsonc" | "yml" | "markdownlint";
2
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/inputs/imports/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GACf,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,OAAO,GACP,KAAK,GACL,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../src/inputs/imports/plugins.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type { Plugins } from "./imports/plugins.js";
2
+ export type { Parsers } from "./imports/parsers.js";
3
+ //# sourceMappingURL=imports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imports.d.ts","sourceRoot":"","sources":["../../src/inputs/imports.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=imports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imports.js","sourceRoot":"","sources":["../../src/inputs/imports.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { Parsers as Imports } from "./imports/parsers.js";
2
+ export type Parsers = Readonly<Record<Imports, unknown>>;
3
+ //# sourceMappingURL=parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/inputs/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=parsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/inputs/parsers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { Plugins as Imports } from "./imports/plugins.js";
2
+ export type Plugins = Readonly<Record<Imports, {
3
+ configs: unknown;
4
+ }>>;
5
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/inputs/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/inputs/plugins.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { RuleRecord } from "./object/index.js";
2
+ export type RuleEntry = readonly [string, RuleRecord];
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/inputs/rules/entry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/inputs/rules/entry/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { State } from "./state/index.js";
2
+ export type RuleRecord = Readonly<Record<string, State | readonly [State, ...unknown[]]>>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/rules/entry/object/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CACtC,MAAM,EACJ,KAAK,GACL,SAAS,CAAC,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CACjC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/inputs/rules/entry/object/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export type State = "error" | "warn" | "off";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/inputs/rules/entry/object/state/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GACb,OAAO,GACP,MAAM,GACN,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/inputs/rules/entry/object/state/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { Scope } from "@eslinted/core";
2
+ import type { Preset } from "./preset.js";
3
+ export type Overrides = Readonly<Partial<Record<Scope, Preset[Scope][number][1]>>>;
4
+ //# sourceMappingURL=overrides.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrides.d.ts","sourceRoot":"","sources":["../../../src/inputs/rules/overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=overrides.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../../src/inputs/rules/overrides.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { Scope } from "@eslinted/core";
2
+ import type { RuleEntry } from "./entry/index.js";
3
+ export type Preset = Readonly<Record<Scope, readonly RuleEntry[]>>;
4
+ //# sourceMappingURL=preset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../src/inputs/rules/preset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=preset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset.js","sourceRoot":"","sources":["../../../src/inputs/rules/preset.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { Preset } from "./rules/preset.js";
2
+ import type { Overrides } from "./rules/overrides.js";
3
+ export interface Rules {
4
+ rules: Preset;
5
+ overrides: Overrides;
6
+ }
7
+ //# sourceMappingURL=rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/inputs/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=rules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/inputs/rules.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import type { Input } from "./input.js";
2
+ interface Config {
3
+ name: `linted/scope:${string}/rule:${string}+${string}`;
4
+ rules: Input["rules"]["rules"]["html"][number][1];
5
+ files: readonly string[];
6
+ linterOptions: {
7
+ noInlineConfig: true;
8
+ reportUnusedDisableDirectives: "error";
9
+ };
10
+ languageOptions: {
11
+ sourceType?: "module" | "script";
12
+ ecmaVersion?: "latest";
13
+ globals?: Record<string, true>;
14
+ parser?: unknown;
15
+ parserOptions?: Record<string, unknown>;
16
+ };
17
+ plugins: Record<string, Record<"configs", unknown>>;
18
+ processor?: string;
19
+ }
20
+ export type Output = Config[];
21
+ export {};
22
+ //# sourceMappingURL=output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.d.ts","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,UAAU,MAAM;IACd,IAAI,EAAE,gBAAgB,MAAM,SAAS,MAAM,IAAI,MAAM,EAAE,CAAC;IACxD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAClD,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,6BAA6B,EAAE,OAAO,CAAC;KACxC,CAAC;IACF,eAAe,EAAE;QACf,UAAU,CAAC,EACP,QAAQ,GACR,QAAQ,CAAC;QACb,WAAW,CAAC,EAAE,QAAQ,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC"}
package/dist/output.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare const scopes: readonly ["js", "ts", "svelte", "mocha", "html", "json", "jsonc", "yml", "md"];
2
+ export type Scope = (typeof scopes)[number];
3
+ //# sourceMappingURL=scopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,gFAUT,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC"}
package/dist/scopes.js ADDED
@@ -0,0 +1,12 @@
1
+ export const scopes = [
2
+ "js",
3
+ "ts",
4
+ "svelte",
5
+ "mocha",
6
+ "html",
7
+ "json",
8
+ "jsonc",
9
+ "yml",
10
+ "md",
11
+ ];
12
+ //# sourceMappingURL=scopes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;CACI,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.18.0-core.0",
3
3
  "name": "@eslinted/core",
4
- "version": "4.0.5-rc.1",
4
+ "version": "4.0.5-rc.2",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -13,6 +13,8 @@
13
13
  "access": "public"
14
14
  },
15
15
  "type": "module",
16
+ "main": "dist/index.js",
17
+ "types": "dist/index.d.ts",
16
18
  "exports": {
17
19
  ".": {
18
20
  "types": "./dist/index.d.ts",