@eslinted/core 2.1.1 → 2.2.0-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/dependency/dependency.d.ts +2 -1
  2. package/dist/dependency/dependency.d.ts.map +1 -1
  3. package/dist/dependency/globals/index.d.ts +4 -0
  4. package/dist/dependency/globals/index.d.ts.map +1 -0
  5. package/dist/dependency/globals/index.js +2 -0
  6. package/dist/dependency/globals/index.js.map +1 -0
  7. package/dist/dependency/plugins/index.d.ts +1 -1
  8. package/dist/dependency/plugins/index.d.ts.map +1 -1
  9. package/dist/factory/options/Options.d.ts +2 -0
  10. package/dist/factory/options/Options.d.ts.map +1 -1
  11. package/dist/factory/options/Options.js +2 -0
  12. package/dist/factory/options/Options.js.map +1 -1
  13. package/dist/factory/options/option/Option.d.ts +2929 -1
  14. package/dist/factory/options/option/Option.d.ts.map +1 -1
  15. package/dist/factory/options/option/Option.js +9 -0
  16. package/dist/factory/options/option/Option.js.map +1 -1
  17. package/dist/factory/options/option/mocha/index.d.ts +40 -0
  18. package/dist/factory/options/option/mocha/index.d.ts.map +1 -0
  19. package/dist/factory/options/option/mocha/index.js +26 -0
  20. package/dist/factory/options/option/mocha/index.js.map +1 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +9 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/scopes/Scopes.d.ts +1 -1
  25. package/dist/scopes/Scopes.d.ts.map +1 -1
  26. package/dist/scopes/Scopes.js +1 -0
  27. package/dist/scopes/Scopes.js.map +1 -1
  28. package/package.json +5 -3
  29. package/src/boundary/output/config/option/language/IOLanguage.d.ts +1 -1
  30. package/src/dependency/dependency.ts +6 -1
  31. package/src/dependency/globals/index.ts +8 -0
  32. package/src/dependency/plugins/index.ts +1 -0
  33. package/src/factory/options/Options.ts +2 -0
  34. package/src/factory/options/option/Option.ts +14 -1
  35. package/src/factory/options/option/mocha/index.ts +40 -0
  36. package/src/index.ts +17 -1
  37. package/src/scopes/Scopes.ts +1 -0
  38. package/src/boundary/output/config/option/language/globals/IOLanguageGlobals.d.ts +0 -1
@@ -1,4 +1,5 @@
1
1
  import type Plugins from "./plugins/index.js";
2
2
  import type Parsers from "./parsers/index.js";
3
- export type { Plugins, Parsers };
3
+ import type Globals from "./globals/index.js";
4
+ export type { Plugins, Parsers, Globals, };
4
5
  //# sourceMappingURL=dependency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dependency.d.ts","sourceRoot":"","sources":["../../src/dependency/dependency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAE9C,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"dependency.d.ts","sourceRoot":"","sources":["../../src/dependency/dependency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAE9C,YAAY,EACV,OAAO,EACP,OAAO,EACP,OAAO,GACR,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type globals from "globals";
2
+ type Globals = "mocha" & keyof typeof globals;
3
+ export type { Globals as default };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/globals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAEnC,KAAK,OAAO,GACR,OAAO,GACP,MAAM,OAAO,OAAO,CACvB;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dependency/globals/index.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- type Plugins = "@stylistic" | "@typescript-eslint" | "svelte" | "@html-eslint" | "jsonc" | "yml" | "markdownlint";
1
+ type Plugins = "@stylistic" | "@typescript-eslint" | "svelte" | "mocha" | "@html-eslint" | "jsonc" | "yml" | "markdownlint";
2
2
  export type { Plugins as default };
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/plugins/index.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GACR,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,cAAc,GACd,OAAO,GACP,KAAK,GACL,cAAc,CACjB;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dependency/plugins/index.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GACR,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,OAAO,GACP,KAAK,GACL,cAAc,CACjB;AAED,YAAY,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import js from "./option/js/index.js";
2
2
  import ts from "./option/ts/index.js";
3
3
  import svelte from "./option/svelte/index.js";
4
+ import mocha from "./option/mocha/index.js";
4
5
  import html from "./option/html/index.js";
5
6
  import json from "./option/json/index.js";
6
7
  import jsonc from "./option/jsonc/index.js";
@@ -10,6 +11,7 @@ declare const _default: {
10
11
  readonly js: typeof js;
11
12
  readonly ts: typeof ts;
12
13
  readonly svelte: typeof svelte;
14
+ readonly mocha: typeof mocha;
13
15
  readonly html: typeof html;
14
16
  readonly json: typeof json;
15
17
  readonly jsonc: typeof jsonc;
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;AAEtC,wBASW"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;AAEtC,wBAUW"}
@@ -1,6 +1,7 @@
1
1
  import js from "./option/js/index.js";
2
2
  import ts from "./option/ts/index.js";
3
3
  import svelte from "./option/svelte/index.js";
4
+ import mocha from "./option/mocha/index.js";
4
5
  import html from "./option/html/index.js";
5
6
  import json from "./option/json/index.js";
6
7
  import jsonc from "./option/jsonc/index.js";
@@ -10,6 +11,7 @@ export default {
10
11
  js,
11
12
  ts,
12
13
  svelte,
14
+ mocha,
13
15
  html,
14
16
  json,
15
17
  jsonc,
@@ -1 +1 @@
1
- {"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEtC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACM,CAAC"}
1
+ {"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../src/factory/options/Options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACtC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEtC,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;IACH,EAAE;CACM,CAAC"}