@eslinted/core 13.4.2-rc.0 → 13.5.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,6 +49,8 @@ export declare class Factory {
49
49
  readonly parser?: unknown;
50
50
  } | {
51
51
  readonly parser?: unknown;
52
+ } | {
53
+ readonly parser?: unknown;
52
54
  } | {
53
55
  readonly parser?: unknown;
54
56
  readonly project: "tsconfig.json";
@@ -67,8 +69,6 @@ export declare class Factory {
67
69
  readonly project: "tsconfig.json";
68
70
  readonly sourceType: "module";
69
71
  readonly ecmaVersion: 2023;
70
- } | {
71
- readonly parser?: unknown;
72
72
  };
73
73
  readonly parser?: unknown;
74
74
  readonly globals?: {
@@ -1,7 +1,7 @@
1
1
  import { ScopeManifest } from "./manifest/index.js";
2
- export default class JsoncManifest extends ScopeManifest<"jsonc"> {
2
+ export default class JsoncManifest extends ScopeManifest {
3
3
  readonly languageOptions: {
4
- readonly parser: "jsonc";
4
+ readonly parser: null;
5
5
  readonly globals: null;
6
6
  };
7
7
  readonly parserOptions: {
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa,CAAC,OAAO,CAAC;IAC/D,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;MAA6B;IAC1D,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa;IACtD,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;MAA6B;IAC1D,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
@@ -1,7 +1,7 @@
1
1
  import { ScopeManifest } from "./manifest/index.js";
2
2
  export default class JsoncManifest extends ScopeManifest {
3
3
  languageOptions = {
4
- parser: "jsonc",
4
+ parser: null,
5
5
  globals: null,
6
6
  };
7
7
  parserOptions = { parser: null };
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAsB;IAC/C,eAAe,GAAG;QAChC,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,IAAI;KACL,CAAC;IACK,aAAa,GAAG,EAAE,MAAM,EAAE,IAAI,EAAW,CAAC;IAC1C,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa;IACtC,eAAe,GAAG;QAChC,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;KACL,CAAC;IACK,aAAa,GAAG,EAAE,MAAM,EAAE,IAAI,EAAW,CAAC;IAC1C,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
@@ -1,7 +1,7 @@
1
1
  import { ScopeManifest } from "./manifest/index.js";
2
- export default class MochaManifest extends ScopeManifest<"ts"> {
2
+ export default class MochaManifest extends ScopeManifest {
3
3
  readonly languageOptions: {
4
- readonly parser: "ts";
4
+ readonly parser: null;
5
5
  readonly globals: "mocha";
6
6
  };
7
7
  readonly parserOptions: {
@@ -1 +1 @@
1
- {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa,CAAC,IAAI,CAAC;IAC5D,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;;;;MAKlB;IACX,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
1
+ {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/factory/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa;IACtD,SAAgB,eAAe;;;MAGpB;IACX,SAAgB,aAAa;;;;;MAKlB;IACX,SAAgB,SAAS,KAAe;IACxC,SAAgB,QAAQ,KAAe;CACxC"}
@@ -1,7 +1,7 @@
1
1
  import { ScopeManifest } from "./manifest/index.js";
2
2
  export default class MochaManifest extends ScopeManifest {
3
3
  languageOptions = {
4
- parser: "ts",
4
+ parser: null,
5
5
  globals: "mocha",
6
6
  };
7
7
  parserOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/factory/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAmB;IAC5C,eAAe,GAAG;QAChC,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,OAAO;KACR,CAAC;IACK,aAAa,GAAG;QAC9B,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,eAAe;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,IAAI;KACT,CAAC;IACK,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
1
+ {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/factory/scopes/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa;IACtC,eAAe,GAAG;QAChC,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,OAAO;KACR,CAAC;IACK,aAAa,GAAG;QAC9B,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,eAAe;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,IAAI;KACT,CAAC;IACK,SAAS,GAAG,EAAW,CAAC;IACxB,QAAQ,GAAG,EAAW,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "@eslinted/core",
4
- "version": "13.4.2-rc.0",
4
+ "version": "13.5.0-rc.0",
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -1,8 +1,8 @@
1
1
  import { ScopeManifest } from "./manifest";
2
2
 
3
- export default class JsoncManifest extends ScopeManifest<"jsonc"> {
3
+ export default class JsoncManifest extends ScopeManifest {
4
4
  public readonly languageOptions = {
5
- parser: "jsonc",
5
+ parser: null,
6
6
  globals: null,
7
7
  } as const;
8
8
  public readonly parserOptions = { parser: null } as const;
@@ -1,8 +1,8 @@
1
1
  import { ScopeManifest } from "./manifest";
2
2
 
3
- export default class MochaManifest extends ScopeManifest<"ts"> {
3
+ export default class MochaManifest extends ScopeManifest {
4
4
  public readonly languageOptions = {
5
- parser: "ts",
5
+ parser: null,
6
6
  globals: "mocha",
7
7
  } as const;
8
8
  public readonly parserOptions = {