@eslinted/core 11.0.0-rc.0 → 11.0.0-rc.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  import Option from "./option/index.js";
2
- export default class Jsonc extends Option<"jsonc", "json", true, false, 0, never, never, {
2
+ import type Json from "./json.js";
3
+ export default class Jsonc extends Option<"jsonc", keyof Json["plugins"], true, false, ConstructorParameters<typeof Json>[1]["length"], never, never, {
3
4
  language: "json/jsonc";
4
5
  }> {
5
6
  readonly scope = "jsonc";
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,EACD,KAAK,EACL,KAAK,EACL;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAC3B;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ;;MAAuC;IAE/D,IAAW,eAAe;;;;MAMzB;CACF"}
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAE/B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAM,CACvC,OAAO,EACP,MAAM,IAAI,CAAC,SAAS,CAAC,EACrB,IAAI,EACJ,KAAK,EACL,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAC/C,KAAK,EACL,KAAK,EACL;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAC3B;IACC,SAAgB,KAAK,WAAW;IAChC,SAAgB,SAAS,KAAM;IAC/B,SAAgB,QAAQ;;MAAuC;IAE/D,IAAW,eAAe;;;;MAMzB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MASlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAW,CAAC;IAE/D,IAAW,eAAe;QACxB,OAAO;YACL,mBAAmB,EAAE,IAAI;YACzB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/factory/options/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAG9B,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MASlC;IACiB,KAAK,GAAG,OAAO,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;IACf,QAAQ,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAW,CAAC;IAE/D,IAAW,eAAe;QACxB,OAAO;YACL,mBAAmB,EAAE,IAAI;YACzB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACZ,CAAC;IACb,CAAC;CACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "@eslinted/core",
4
- "version": "11.0.0-rc.0",
4
+ "version": "11.0.0-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",
@@ -1,11 +1,12 @@
1
1
  import Option from "./option";
2
+ import type Json from "./json";
2
3
 
3
4
  export default class Jsonc extends Option<
4
5
  "jsonc",
5
- "json",
6
+ keyof Json["plugins"],
6
7
  true,
7
8
  false,
8
- 0,
9
+ ConstructorParameters<typeof Json>[1]["length"],
9
10
  never,
10
11
  never,
11
12
  { language: "json/jsonc" }