@eslinted/core 17.0.1 → 17.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/factory/index.d.ts +11 -11
  2. package/dist/factory/index.d.ts.map +1 -1
  3. package/dist/factory/index.js +9 -10
  4. package/dist/factory/index.js.map +1 -1
  5. package/dist/factory/scopes/manifest/index.d.ts +2 -2
  6. package/dist/factory/scopes/manifest/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 +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.spec.js +1 -1
  12. package/dist/index.spec.js.map +1 -1
  13. package/dist/interface/index.d.ts +1 -1
  14. package/dist/interface/index.d.ts.map +1 -1
  15. package/dist/interface/input/imports.d.ts +2 -2
  16. package/dist/interface/input/imports.d.ts.map +1 -1
  17. package/dist/interface/input/index.d.ts +4 -4
  18. package/dist/interface/input/index.d.ts.map +1 -1
  19. package/dist/interface/input/scopes/defaults.d.ts +3 -3
  20. package/dist/interface/input/scopes/defaults.d.ts.map +1 -1
  21. package/dist/interface/output/configs/global/ignores.d.ts +3 -0
  22. package/dist/interface/output/configs/global/ignores.d.ts.map +1 -0
  23. package/dist/interface/output/configs/global/ignores.js.map +1 -0
  24. package/dist/interface/output/configs/global/index.d.ts.map +1 -0
  25. package/dist/interface/output/configs/global/index.js.map +1 -0
  26. package/dist/interface/output/configs/global/plugins.d.ts +3 -0
  27. package/dist/interface/output/configs/global/plugins.d.ts.map +1 -0
  28. package/dist/interface/output/configs/global/plugins.js.map +1 -0
  29. package/dist/interface/output/configs/global/settings.d.ts +3 -0
  30. package/dist/interface/output/configs/global/settings.d.ts.map +1 -0
  31. package/dist/interface/output/configs/global/settings.js.map +1 -0
  32. package/dist/interface/output/configs/index.d.ts +3 -0
  33. package/dist/interface/output/configs/index.d.ts.map +1 -0
  34. package/dist/interface/output/configs/index.js.map +1 -0
  35. package/dist/interface/output/configs/scoped/index.d.ts.map +1 -0
  36. package/dist/interface/output/configs/scoped/index.js.map +1 -0
  37. package/dist/interface/output/configs/scoped/rules.d.ts +3 -0
  38. package/dist/interface/output/configs/scoped/rules.d.ts.map +1 -0
  39. package/dist/interface/output/configs/scoped/rules.js.map +1 -0
  40. package/dist/interface/output/configs/scoped/settings.d.ts +5 -0
  41. package/dist/interface/output/configs/scoped/settings.d.ts.map +1 -0
  42. package/dist/interface/output/configs/scoped/settings.js.map +1 -0
  43. package/dist/interface/output/index.d.ts +6 -7
  44. package/dist/interface/output/index.d.ts.map +1 -1
  45. package/dist/interface/{shared → proto}/config/index.d.ts +1 -1
  46. package/dist/interface/proto/config/index.d.ts.map +1 -0
  47. package/dist/interface/proto/config/index.js.map +1 -0
  48. package/dist/interface/proto/config/rule/index.d.ts.map +1 -0
  49. package/dist/interface/proto/config/rule/index.js.map +1 -0
  50. package/dist/interface/proto/config/utility/index.d.ts +5 -0
  51. package/dist/interface/proto/config/utility/index.d.ts.map +1 -0
  52. package/dist/interface/proto/config/utility/index.js.map +1 -0
  53. package/dist/interface/proto/index.d.ts +2 -0
  54. package/dist/interface/proto/index.d.ts.map +1 -0
  55. package/dist/interface/proto/index.js +2 -0
  56. package/dist/interface/{shared → proto}/index.js.map +1 -1
  57. package/dist/{scopes → scope}/index.d.ts +2 -3
  58. package/dist/scope/index.d.ts.map +1 -0
  59. package/dist/{scopes → scope}/index.js +1 -1
  60. package/dist/scope/index.js.map +1 -0
  61. package/dist/{scopes → scope}/index.spec.d.ts.map +1 -1
  62. package/dist/scope/index.spec.js.map +1 -0
  63. package/dist/scope/tree/index.d.ts +6 -0
  64. package/dist/scope/tree/index.d.ts.map +1 -0
  65. package/dist/{scopes/tree.js → scope/tree/index.js} +1 -1
  66. package/dist/scope/tree/index.js.map +1 -0
  67. package/dist/scope/tree/index.spec.d.ts +2 -0
  68. package/dist/scope/tree/index.spec.d.ts.map +1 -0
  69. package/dist/{scopes/tree.spec.js → scope/tree/index.spec.js} +1 -1
  70. package/dist/scope/tree/index.spec.js.map +1 -0
  71. package/dist/scope/types/index.d.ts +7 -0
  72. package/dist/scope/types/index.d.ts.map +1 -0
  73. package/dist/scope/types/index.js +2 -0
  74. package/dist/{scopes/imports → scope/types}/index.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/factory/index.ts +13 -19
  77. package/src/factory/scopes/manifest/index.ts +2 -2
  78. package/src/index.spec.ts +1 -1
  79. package/src/index.ts +2 -2
  80. package/src/interface/index.ts +1 -1
  81. package/src/interface/input/imports.ts +2 -2
  82. package/src/interface/input/index.ts +5 -5
  83. package/src/interface/input/scopes/defaults.ts +3 -3
  84. package/src/interface/output/configs/global/ignores.ts +6 -0
  85. package/src/interface/output/configs/global/plugins.ts +7 -0
  86. package/src/interface/output/configs/global/settings.ts +7 -0
  87. package/src/interface/output/configs/index.ts +2 -0
  88. package/src/interface/output/configs/scoped/rules.ts +8 -0
  89. package/src/interface/output/{scoped → configs/scoped}/settings.ts +2 -2
  90. package/src/interface/output/index.ts +6 -14
  91. package/src/interface/{shared → proto}/config/index.ts +1 -1
  92. package/src/interface/{shared/config/partial.ts → proto/config/utility/index.ts} +2 -2
  93. package/src/interface/proto/index.ts +1 -0
  94. package/src/{scopes → scope}/index.ts +1 -2
  95. package/src/{scopes/tree.spec.ts → scope/tree/index.spec.ts} +0 -1
  96. package/src/{scopes/tree.ts → scope/tree/index.ts} +3 -1
  97. package/src/scope/types/index.ts +24 -0
  98. package/dist/interface/output/common/ignores.d.ts +0 -3
  99. package/dist/interface/output/common/ignores.d.ts.map +0 -1
  100. package/dist/interface/output/common/ignores.js.map +0 -1
  101. package/dist/interface/output/common/index.d.ts.map +0 -1
  102. package/dist/interface/output/common/index.js.map +0 -1
  103. package/dist/interface/output/common/plugins.d.ts +0 -3
  104. package/dist/interface/output/common/plugins.d.ts.map +0 -1
  105. package/dist/interface/output/common/plugins.js.map +0 -1
  106. package/dist/interface/output/common/settings.d.ts +0 -3
  107. package/dist/interface/output/common/settings.d.ts.map +0 -1
  108. package/dist/interface/output/common/settings.js.map +0 -1
  109. package/dist/interface/output/scoped/index.d.ts.map +0 -1
  110. package/dist/interface/output/scoped/index.js.map +0 -1
  111. package/dist/interface/output/scoped/rules.d.ts +0 -3
  112. package/dist/interface/output/scoped/rules.d.ts.map +0 -1
  113. package/dist/interface/output/scoped/rules.js.map +0 -1
  114. package/dist/interface/output/scoped/settings.d.ts +0 -5
  115. package/dist/interface/output/scoped/settings.d.ts.map +0 -1
  116. package/dist/interface/output/scoped/settings.js.map +0 -1
  117. package/dist/interface/shared/config/index.d.ts.map +0 -1
  118. package/dist/interface/shared/config/index.js.map +0 -1
  119. package/dist/interface/shared/config/partial.d.ts +0 -5
  120. package/dist/interface/shared/config/partial.d.ts.map +0 -1
  121. package/dist/interface/shared/config/partial.js +0 -2
  122. package/dist/interface/shared/config/partial.js.map +0 -1
  123. package/dist/interface/shared/config/rule/index.d.ts.map +0 -1
  124. package/dist/interface/shared/config/rule/index.js.map +0 -1
  125. package/dist/interface/shared/index.d.ts +0 -2
  126. package/dist/interface/shared/index.d.ts.map +0 -1
  127. package/dist/scopes/imports/index.d.ts +0 -3
  128. package/dist/scopes/imports/index.d.ts.map +0 -1
  129. package/dist/scopes/imports/parsers.d.ts +0 -2
  130. package/dist/scopes/imports/parsers.d.ts.map +0 -1
  131. package/dist/scopes/imports/parsers.js +0 -2
  132. package/dist/scopes/imports/parsers.js.map +0 -1
  133. package/dist/scopes/imports/plugins.d.ts +0 -2
  134. package/dist/scopes/imports/plugins.d.ts.map +0 -1
  135. package/dist/scopes/imports/plugins.js +0 -2
  136. package/dist/scopes/imports/plugins.js.map +0 -1
  137. package/dist/scopes/index.d.ts.map +0 -1
  138. package/dist/scopes/index.js.map +0 -1
  139. package/dist/scopes/index.spec.js.map +0 -1
  140. package/dist/scopes/tree.d.ts +0 -2
  141. package/dist/scopes/tree.d.ts.map +0 -1
  142. package/dist/scopes/tree.js.map +0 -1
  143. package/dist/scopes/tree.spec.d.ts +0 -2
  144. package/dist/scopes/tree.spec.d.ts.map +0 -1
  145. package/dist/scopes/tree.spec.js.map +0 -1
  146. package/src/interface/output/common/ignores.ts +0 -6
  147. package/src/interface/output/common/plugins.ts +0 -7
  148. package/src/interface/output/common/settings.ts +0 -7
  149. package/src/interface/output/scoped/rules.ts +0 -8
  150. package/src/interface/shared/index.ts +0 -1
  151. package/src/scopes/imports/index.ts +0 -2
  152. package/src/scopes/imports/parsers.ts +0 -7
  153. package/src/scopes/imports/plugins.ts +0 -12
  154. /package/dist/interface/output/{common → configs/global}/ignores.js +0 -0
  155. /package/dist/interface/output/{common → configs/global}/index.d.ts +0 -0
  156. /package/dist/interface/output/{common → configs/global}/index.js +0 -0
  157. /package/dist/interface/output/{common → configs/global}/plugins.js +0 -0
  158. /package/dist/interface/output/{common → configs/global}/settings.js +0 -0
  159. /package/dist/interface/output/{scoped → configs}/index.js +0 -0
  160. /package/dist/interface/output/{scoped → configs/scoped}/index.d.ts +0 -0
  161. /package/dist/interface/{shared/config → output/configs/scoped}/index.js +0 -0
  162. /package/dist/interface/output/{scoped → configs/scoped}/rules.js +0 -0
  163. /package/dist/interface/output/{scoped → configs/scoped}/settings.js +0 -0
  164. /package/dist/interface/{shared/config/rule → proto/config}/index.js +0 -0
  165. /package/dist/interface/{shared → proto}/config/rule/index.d.ts +0 -0
  166. /package/dist/interface/{shared → proto/config/rule}/index.js +0 -0
  167. /package/dist/{scopes/imports → interface/proto/config/utility}/index.js +0 -0
  168. /package/dist/{scopes → scope}/index.spec.d.ts +0 -0
  169. /package/dist/{scopes → scope}/index.spec.js +0 -0
  170. /package/src/interface/output/{common → configs/global}/index.ts +0 -0
  171. /package/src/interface/output/{scoped → configs/scoped}/index.ts +0 -0
  172. /package/src/interface/{shared → proto}/config/rule/index.ts +0 -0
  173. /package/src/{scopes → scope}/index.spec.ts +0 -0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/core",
6
- "version": "17.0.1",
6
+ "version": "17.0.3",
7
7
  "description": "Internal core for npm package `linted`, responsible for producing an array of fully-formed ESLint configurations according to `linted` spec.",
8
8
  "repository": "github:jimmy-zhening-luo/linted-core",
9
9
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import globals from "globals";
2
2
  import { ScopeManifests } from "./manifests";
3
3
  import type { Input } from "../interface";
4
- import type { tree as Tree } from "../scopes";
4
+ import type { tree as Tree } from "../scope";
5
5
 
6
6
  export class Factory {
7
7
  public readonly common;
@@ -10,22 +10,17 @@ export class Factory {
10
10
  constructor(
11
11
  tree: typeof Tree,
12
12
  public readonly parsers: Input["imports"]["parsers"],
13
- {
14
- settings: defaultSettings,
15
- files: defaultFiles,
16
- ignores: defaultIgnores,
17
- rules: defaultRules,
18
- }: Input["defaults"],
13
+ defaults: Input["defaults"],
19
14
  {
20
15
  "*": commonExtension = {},
21
16
  ...scopeExtensions
22
17
  }: Input["extensions"] = {} as const,
23
18
  ) {
24
19
  const {
25
- noInlineConfig = defaultSettings.noInlineConfig,
26
- reportUnusedDisableDirectives = defaultSettings.reportUnusedDisableDirectives,
27
- sourceType = defaultSettings.sourceType,
28
- ecmaVersion = defaultSettings.ecmaVersion,
20
+ noInlineConfig = defaults.settings.noInlineConfig,
21
+ reportUnusedDisableDirectives = defaults.settings.reportUnusedDisableDirectives,
22
+ sourceType = defaults.settings.sourceType,
23
+ ecmaVersion = defaults.settings.ecmaVersion,
29
24
  ignores = [],
30
25
  override = false,
31
26
  } = commonExtension;
@@ -39,15 +34,15 @@ export class Factory {
39
34
  ignores: {
40
35
  name: "linted/*/ignores/",
41
36
  ignores: [
42
- ...override ? [] : defaultIgnores["*"],
37
+ ...override ? [] : defaults.ignores["*"],
43
38
  ...ignores,
44
39
  ] as const,
45
40
  } as const,
46
41
  } as const;
47
42
  this.scopes = {
48
- files: defaultFiles,
49
- ignores: defaultIgnores,
50
- rules: defaultRules,
43
+ files: defaults.files,
44
+ ignores: defaults.ignores,
45
+ rules: defaults.rules,
51
46
  } as const;
52
47
 
53
48
  for (const scope in scopeExtensions) {
@@ -66,16 +61,15 @@ export class Factory {
66
61
  this.scopes.rules[scope as keyof typeof scopeExtensions].push({ id: `${scope}/override`, rules: userRules } as const);
67
62
  }
68
63
 
69
- tree.forEach(([scope, parents]) => {
70
- parents.forEach(parent => {
64
+ for (const [scope, parents] of tree)
65
+ for (const parent of parents) {
71
66
  this.scopes.files[parent].push(
72
67
  ...this.scopes.files[scope],
73
68
  );
74
69
  this.scopes.ignores[parent].push(
75
70
  ...this.scopes.ignores[scope],
76
71
  );
77
- });
78
- });
72
+ }
79
73
  }
80
74
 
81
75
  public scope<S extends keyof typeof ScopeManifests>(scope: S) {
@@ -1,7 +1,7 @@
1
1
  import type globals from "globals";
2
- import type { Parsers } from "../../../scopes";
2
+ import type { Import } from "../../../scope";
3
3
 
4
- export abstract class ScopeManifest<Parser extends Parsers | false = false> {
4
+ export abstract class ScopeManifest<Parser extends Import.Parser | false = false> {
5
5
  public abstract readonly processor: { readonly processor: string } | Record<string, never>;
6
6
  public abstract readonly language: { readonly language: string } | Record<string, never>;
7
7
  public abstract readonly parserOptions: object & { readonly parser: null | Exclude<Parser, boolean> };
package/src/index.spec.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { expect } from "chai";
2
2
  import core from ".";
3
- import { scopes } from "./scopes";
3
+ import { scopes } from "./scope";
4
4
  import { TestInput } from "./index.input.spec";
5
5
 
6
6
  const configs = core(TestInput);
package/src/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import type { Input, Output } from "./interface";
2
- import { scopes, tree } from "./scopes";
2
+ import { scopes, tree } from "./scope";
3
3
  import { Factory } from "./factory";
4
4
 
5
5
  export type * from "./interface";
6
- export type * from "./scopes";
6
+ export type * from "./scope";
7
7
  export default function ({
8
8
  imports: { plugins, parsers },
9
9
  defaults,
@@ -1,3 +1,3 @@
1
1
  export type * from "./input";
2
2
  export type * from "./output";
3
- export type * as Shared from "./shared";
3
+ export type * as Proto from "./proto";
@@ -1,10 +1,10 @@
1
- import type { Config } from "../shared";
1
+ import type { Config } from "../proto";
2
2
 
3
3
  export interface Imports<
4
4
  Plugins extends string,
5
5
  Parsers extends string,
6
6
  > {
7
- readonly plugins: Config<Plugins>["plugins"];
7
+ readonly plugins: Config.Config<Plugins>["plugins"];
8
8
  readonly parsers: Readonly<Record<
9
9
  Parsers,
10
10
  unknown
@@ -1,12 +1,12 @@
1
+ import type { Import, Scope } from "../../scope";
1
2
  import type { Imports } from "./imports";
2
3
  import type { Defaults, Extensions } from "./scopes";
3
- import type { Plugins, Parsers, Scopes } from "../../scopes";
4
4
 
5
5
  export interface Input {
6
6
  readonly imports: Imports<
7
- Plugins,
8
- Parsers
7
+ Import.Plugin,
8
+ Import.Parser
9
9
  >;
10
- readonly defaults: Defaults<Scopes>;
11
- readonly extensions: Extensions<Scopes>;
10
+ readonly defaults: Defaults<Scope>;
11
+ readonly extensions: Extensions<Scope>;
12
12
  }
@@ -1,8 +1,8 @@
1
- import type { Config, Rule } from "../../shared";
1
+ import type { Config } from "../../proto";
2
2
 
3
3
  export interface Defaults<Scopes extends string> {
4
- readonly settings: Config["linterOptions"] & Config["languageOptions"];
4
+ readonly settings: Config.Config["linterOptions"] & Config.Config["languageOptions"];
5
5
  readonly files: Readonly<Record<Scopes, string[]>>;
6
6
  readonly ignores: Readonly<Record<"*" | Scopes, string[]>>;
7
- readonly rules: Readonly<Record<Scopes, Rule.NamedRuleBag[]>>;
7
+ readonly rules: Readonly<Record<Scopes, Config.Rule.NamedRuleBag[]>>;
8
8
  }
@@ -0,0 +1,6 @@
1
+ import type { Config } from "../../../proto";
2
+
3
+ export type Ignores = Config.PickConfig<
4
+ "linted/*/ignores/",
5
+ "ignores"
6
+ >;
@@ -0,0 +1,7 @@
1
+ import type { Config } from "../../../proto";
2
+
3
+ export type Plugins<Plugins extends string> = Config.PickConfig<
4
+ "plugins",
5
+ "plugins",
6
+ Plugins
7
+ >;
@@ -0,0 +1,7 @@
1
+ import type { Config } from "../../../proto";
2
+
3
+ export type Settings = Config.PickConfig<
4
+ "linted/*/",
5
+ | "linterOptions"
6
+ | "languageOptions"
7
+ >;
@@ -0,0 +1,2 @@
1
+ export type * as Global from "./global";
2
+ export type * as Scoped from "./scoped";
@@ -0,0 +1,8 @@
1
+ import type { Config } from "../../../proto";
2
+
3
+ export type Rules<Scope extends string> = Config.PickConfig<
4
+ `linted/${Scope}/${string}/`,
5
+ | "files"
6
+ | "ignores"
7
+ | "rules"
8
+ >;
@@ -1,6 +1,6 @@
1
- import type { PartialConfig } from "../../shared";
1
+ import type { Config } from "../../../proto";
2
2
 
3
- export type ScopedSettings<Scope extends string> = PartialConfig<
3
+ export type Settings<Scope extends string> = Config.PickConfig<
4
4
  `linted/${Scope}/`,
5
5
  | "files"
6
6
  | "ignores"
@@ -1,17 +1,9 @@
1
- import type {
2
- CommonPlugins,
3
- CommonSettings,
4
- CommonIgnores,
5
- } from "./common";
6
- import type {
7
- ScopedSettings,
8
- ScopedRules,
9
- } from "./scoped";
10
- import type { Plugins, Scopes } from "../../scopes";
1
+ import type * as Configs from "./configs";
2
+ import type { Import, Scope } from "../../scope";
11
3
 
12
4
  export type Output = readonly [
13
- CommonPlugins<Plugins>,
14
- CommonSettings,
15
- CommonIgnores,
16
- ...readonly (ScopedSettings<Scopes> | ScopedRules<Scopes>)[],
5
+ Configs.Global.Plugins<Import.Plugin>,
6
+ Configs.Global.Settings,
7
+ Configs.Global.Ignores,
8
+ ...readonly (Configs.Scoped.Settings<Scope> | Configs.Scoped.Rules<Scope>)[],
17
9
  ];
@@ -1,7 +1,7 @@
1
1
  import type * as Rule from "./rule";
2
2
 
3
- export type * from "./partial";
4
3
  export type { Rule };
4
+ export type * from "./utility";
5
5
  export interface Config<Plugins extends string = string> {
6
6
  readonly name: (
7
7
  | "plugins"
@@ -1,6 +1,6 @@
1
- import type { Config } from ".";
1
+ import type { Config } from "..";
2
2
 
3
- export type PartialConfig<
3
+ export type PickConfig<
4
4
  Name extends Config["name"],
5
5
  Picks extends Exclude<
6
6
  keyof Config,
@@ -0,0 +1 @@
1
+ export type * as Config from "./config";
@@ -1,6 +1,5 @@
1
- export type * from "./imports";
1
+ export type * from "./types";
2
2
  export * from "./tree";
3
- export type Scopes = typeof scopes[number];
4
3
  export const scopes = [
5
4
  "js",
6
5
  "ts",
@@ -25,7 +25,6 @@ describe("Scope Tree", function () {
25
25
  expect(nodes)
26
26
  .includes.members(["jsonc"]);
27
27
  expect(nodes.indexOf("jsonc"))
28
- // @ts-expect-error: TEST: `json` is not in the tree
29
28
  .lessThan(-nodes.indexOf("json") * tree.length);
30
29
  });
31
30
  it("`mocha` < `ts`", function () {
@@ -1,4 +1,6 @@
1
- export const tree = [
1
+ import type { Scope } from "..";
2
+
3
+ export const tree: [Scope, readonly Scope[]][] = [
2
4
  ["jsonc", ["json"] as const] as const,
3
5
  ["mocha", ["ts"] as const] as const,
4
6
  ["svelte", ["ts"] as const] as const,
@@ -0,0 +1,24 @@
1
+ import type { scopes } from "..";
2
+
3
+ export type Scope = typeof scopes[number];
4
+ export namespace Import {
5
+ export type Plugin = (
6
+ | "@stylistic"
7
+ | "@typescript-eslint"
8
+ | "mocha"
9
+ | "chai-friendly"
10
+ | "chai-expect"
11
+ | "svelte"
12
+ | "@html-eslint"
13
+ | "css"
14
+ | "jsonc"
15
+ | "yml"
16
+ );
17
+ export type Parser = Scope & (
18
+ | "ts"
19
+ | "svelte"
20
+ | "html"
21
+ | "jsonc"
22
+ | "yml"
23
+ );
24
+ }
@@ -1,3 +0,0 @@
1
- import type { PartialConfig } from "../../shared/index.js";
2
- export type CommonIgnores = PartialConfig<"linted/*/ignores/", "ignores">;
3
- //# sourceMappingURL=ignores.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ignores.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/common/ignores.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,aAAa,CACvC,mBAAmB,EACnB,SAAS,CACV,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ignores.js","sourceRoot":"","sources":["../../../../src/interface/output/common/ignores.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/common/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,WAAW,CAAC;AAC/B,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/output/common/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type { PartialConfig } from "../../shared/index.js";
2
- export type CommonPlugins<Plugins extends string> = PartialConfig<"plugins", "plugins", Plugins>;
3
- //# sourceMappingURL=plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/common/plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,MAAM,IAAI,aAAa,CAC/D,SAAS,EACT,SAAS,EACT,OAAO,CACR,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../src/interface/output/common/plugins.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type { PartialConfig } from "../../shared/index.js";
2
- export type CommonSettings = PartialConfig<"linted/*/", "linterOptions" | "languageOptions">;
3
- //# sourceMappingURL=settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/common/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,aAAa,CACxC,WAAW,EACT,eAAe,GACf,iBAAiB,CACpB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/interface/output/common/settings.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,SAAS,CAAC;AAC7B,mBAAmB,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type { PartialConfig } from "../../shared/index.js";
2
- export type ScopedRules<Scope extends string> = PartialConfig<`linted/${Scope}/${string}/`, "files" | "ignores" | "rules">;
3
- //# sourceMappingURL=rules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,WAAW,CAAC,KAAK,SAAS,MAAM,IAAI,aAAa,CAC3D,UAAU,KAAK,IAAI,MAAM,GAAG,EAC1B,OAAO,GACP,SAAS,GACT,OAAO,CACV,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/rules.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { PartialConfig } from "../../shared/index.js";
2
- export type ScopedSettings<Scope extends string> = PartialConfig<`linted/${Scope}/`, "files" | "ignores" | "processor" | "language" | "settings", string, {
3
- readonly languageOptions: object;
4
- }>;
5
- //# sourceMappingURL=settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/interface/output/scoped/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,MAAM,IAAI,aAAa,CAC9D,UAAU,KAAK,GAAG,EAChB,OAAO,GACP,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,EACZ,MAAM,EACN;IAAE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CACrC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/interface/output/scoped/settings.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/shared/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,QAAQ,CAAC;AAEpC,mBAAmB,WAAW,CAAC;AAC/B,YAAY,EAAE,IAAI,EAAE,CAAC;AACrB,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IACrD,QAAQ,CAAC,IAAI,EAAE,CACX,SAAS,GACT,UAAU,MAAM,GAAG,CACtB,CAAC;IACF,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE;QACtB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;QACjC,QAAQ,CAAC,6BAA6B,EAClC,OAAO,GACP,MAAM,GACN,KAAK,CACR;KACF,CAAC;IACF,QAAQ,CAAC,eAAe,EAAE;QACxB,QAAQ,CAAC,UAAU,EACf,QAAQ,GACR,QAAQ,CACX;QACD,QAAQ,CAAC,WAAW,EAChB,QAAQ,GACR,CAAC,GACD,CAAC,GACD,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CACP;KACF,CAAC;IACF,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/shared/config/index.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Config } from "./index.js";
2
- export type PartialConfig<Name extends Config["name"], Picks extends Exclude<keyof Config, "name" | keyof Rest>, Plugins extends string = string, Rest extends object = object> = (Rest & Pick<Config<Plugins>, Picks> & {
3
- readonly name: Name;
4
- } & Readonly<Partial<Record<Exclude<keyof Config, "name" | keyof Rest | Picks>, never>>>);
5
- //# sourceMappingURL=partial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"partial.d.ts","sourceRoot":"","sources":["../../../../src/interface/shared/config/partial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAEhC,MAAM,MAAM,aAAa,CACvB,IAAI,SAAS,MAAM,CAAC,MAAM,CAAC,EAC3B,KAAK,SAAS,OAAO,CACnB,MAAM,MAAM,EACV,MAAM,GACN,MAAM,IAAI,CACb,EACD,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/B,IAAI,SAAS,MAAM,GAAG,MAAM,IAC1B,CACA,IAAI,GACJ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GACvB,QAAQ,CAAC,OAAO,CAAC,MAAM,CACvB,OAAO,CACL,MAAM,MAAM,EACV,MAAM,GACN,MAAM,IAAI,GACV,KAAK,CACR,EACD,KAAK,CACN,CAAC,CAAC,CACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=partial.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"partial.js","sourceRoot":"","sources":["../../../../src/interface/shared/config/partial.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/shared/config/rule/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AACD,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CACnC,MAAM,EACJ,SAAS,GACT,SAAS,CAAC,SAAS,EAAE,GAAG,SAAS,OAAO,EAAE,CAAC,CAC9C,CAAC,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CACpB,OAAO,GACP,MAAM,GACN,KAAK,CACR,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/shared/config/rule/index.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type * from "./config/index.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/shared/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,UAAU,CAAC"}
@@ -1,3 +0,0 @@
1
- export type * from "./plugins.js";
2
- export type * from "./parsers.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scopes/imports/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,WAAW,CAAC;AAC/B,mBAAmB,WAAW,CAAC"}
@@ -1,2 +0,0 @@
1
- export type Parsers = ("ts" | "svelte" | "html" | "jsonc" | "yml");
2
- //# sourceMappingURL=parsers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../src/scopes/imports/parsers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,CAClB,IAAI,GACJ,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,CACR,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=parsers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../src/scopes/imports/parsers.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type Plugins = ("@stylistic" | "@typescript-eslint" | "mocha" | "chai-friendly" | "chai-expect" | "svelte" | "@html-eslint" | "css" | "jsonc" | "yml");
2
- //# sourceMappingURL=plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/scopes/imports/plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,CAClB,YAAY,GACZ,oBAAoB,GACpB,OAAO,GACP,eAAe,GACf,aAAa,GACb,QAAQ,GACR,cAAc,GACd,KAAK,GACL,OAAO,GACP,KAAK,CACR,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=plugins.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../src/scopes/imports/plugins.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,WAAW,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC3C,eAAO,MAAM,MAAM,iFAUT,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AACA,cAAc,QAAQ,CAAC;AAEvB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../src/scopes/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAE3B,QAAQ,CAAC,QAAQ,EAAE;IACjB,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,sBAAsB,EAAE;YACzB,MAAM,CAAC,MAAM,CAAC;iBACX,EAAE,CAAC,OAAO,CAAC;iBACX,GAAG,CAAC,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,SAAS,EAAE;QAClB,EAAE,CAAC,YAAY,EAAE;YACf,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;iBAClB,MAAM,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,kBAAkB,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC;iBACX,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;YACvC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;iBAC5B,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,gBAAgB,EAAE;YACnB,MAAM,CAAC,MAAM,CAAC;iBACX,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;YACrC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;iBAC5B,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,iBAAiB,EAAE;YACpB,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;YAClD,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;iBAC7B,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,aAAa,EAAE;YAChB,MAAM,CAAC,MAAM,CAAC;iBACX,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;YAClC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;iBACzB,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const tree: readonly [readonly ["jsonc", readonly ["json"]], readonly ["mocha", readonly ["ts"]], readonly ["svelte", readonly ["ts"]], readonly ["ts", readonly ["js"]]];
2
- //# sourceMappingURL=tree.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/scopes/tree.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,+JAKP,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scopes/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,CAAC,OAAO,EAAE,CAAC,MAAM,CAAU,CAAU;IACrC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAU,CAAU;IACnC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAU,CAAU;IACpC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAU,CAAU;CACxB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=tree.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tree.spec.d.ts","sourceRoot":"","sources":["../../src/scopes/tree.spec.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tree.spec.js","sourceRoot":"","sources":["../../src/scopes/tree.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;AAE3C,QAAQ,CAAC,YAAY,EAAE;IACrB,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,aAAa,EAAE;YAChB,MAAM,CAAC,IAAI,CAAC;iBACT,EAAE,CAAC,OAAO,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,SAAS,EAAE;QAClB,EAAE,CAAC,YAAY,EAAE;YACf,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;iBAChB,MAAM,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,WAAW,EAAE;YACd,MAAM,CAAC,KAAK,CAAC;iBACV,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,qBAAqB,EAAE;YACxB,MAAM,CAAC,KAAK,CAAC;iBACV,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC/B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;iBAE3B,QAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,gBAAgB,EAAE;YACnB,MAAM,CAAC,KAAK,CAAC;iBACV,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;YACrC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;iBAC3B,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,iBAAiB,EAAE;YACpB,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;YACjD,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;iBAC5B,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,cAAc,EAAE;YACjB,MAAM,CAAC,KAAK,CAAC;iBACV,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YAC5B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;iBACxB,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { PartialConfig } from "../../shared";
2
-
3
- export type CommonIgnores = PartialConfig<
4
- "linted/*/ignores/",
5
- "ignores"
6
- >;
@@ -1,7 +0,0 @@
1
- import type { PartialConfig } from "../../shared";
2
-
3
- export type CommonPlugins<Plugins extends string> = PartialConfig<
4
- "plugins",
5
- "plugins",
6
- Plugins
7
- >;
@@ -1,7 +0,0 @@
1
- import type { PartialConfig } from "../../shared";
2
-
3
- export type CommonSettings = PartialConfig<
4
- "linted/*/",
5
- | "linterOptions"
6
- | "languageOptions"
7
- >;
@@ -1,8 +0,0 @@
1
- import type { PartialConfig } from "../../shared";
2
-
3
- export type ScopedRules<Scope extends string> = PartialConfig<
4
- `linted/${Scope}/${string}/`,
5
- | "files"
6
- | "ignores"
7
- | "rules"
8
- >;
@@ -1 +0,0 @@
1
- export type * from "./config";
@@ -1,2 +0,0 @@
1
- export type * from "./plugins";
2
- export type * from "./parsers";
@@ -1,7 +0,0 @@
1
- export type Parsers = (
2
- | "ts"
3
- | "svelte"
4
- | "html"
5
- | "jsonc"
6
- | "yml"
7
- );
@@ -1,12 +0,0 @@
1
- export type Plugins = (
2
- | "@stylistic"
3
- | "@typescript-eslint"
4
- | "mocha"
5
- | "chai-friendly"
6
- | "chai-expect"
7
- | "svelte"
8
- | "@html-eslint"
9
- | "css"
10
- | "jsonc"
11
- | "yml"
12
- );