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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
- import type { RuleRecord } from "./index.js";
2
- import type { RulesDefaults } from "./defaults.js";
3
- export type RulesOverrides = Partially<keyof RulesDefaults, RuleRecord>;
1
+ import type { Scope, RuleRecord } from "./index.js";
2
+ export type RulesOverrides = Partial<Record<Scope, RuleRecord>>;
4
3
  //# sourceMappingURL=overrides.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overrides.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,SAAS,CACpC,MAAM,aAAa,EACnB,UAAU,CACX,CAAC"}
1
+ {"version":3,"file":"overrides.d.ts","sourceRoot":"","sources":["../../../../../src/interface/input/scoped/rules/overrides.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,UAAU,EACX,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,MAAM,CACzC,KAAK,EACL,UAAU,CACX,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "@eslinted/core",
4
- "version": "12.0.0-rc.1",
4
+ "version": "12.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,7 +1,9 @@
1
- import type { RuleRecord } from ".";
2
- import type { RulesDefaults } from "./defaults";
1
+ import type {
2
+ Scope,
3
+ RuleRecord,
4
+ } from ".";
3
5
 
4
- export type RulesOverrides = Partially<
5
- keyof RulesDefaults,
6
+ export type RulesOverrides = Partial<Record<
7
+ Scope,
6
8
  RuleRecord
7
- >;
9
+ >>;