@eslinted/core 0.9.0-rc.7 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/boundary/input/ruleRecord.d.ts +6 -0
- package/dist/boundary/input/ruleRecord.d.ts.map +1 -0
- package/dist/boundary/input/ruleRecord.js +2 -0
- package/dist/boundary/input/ruleRecord.js.map +1 -0
- package/dist/boundary/input.d.ts +2 -0
- package/dist/boundary/input.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/boundary/input/ruleRecord.ts +6 -0
- package/src/boundary/input.ts +2 -0
- package/src/index.ts +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ruleRecord.d.ts","sourceRoot":"","sources":["../../../src/boundary/input/ruleRecord.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG,SAAS;IACzB,MAAM;IACN,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;CACpF,CAAC;AAEF,YAAY,EAAE,UAAU,IAAI,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ruleRecord.js","sourceRoot":"","sources":["../../../src/boundary/input/ruleRecord.ts"],"names":[],"mappings":""}
|
package/dist/boundary/input.d.ts
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
import type plugins from "./input/plugins.js";
|
2
2
|
import type parsers from "./input/parsers.js";
|
3
|
+
import type ruleRecord from "./input/ruleRecord.js";
|
3
4
|
declare namespace Input {
|
4
5
|
type Plugins = plugins;
|
5
6
|
type Parsers = parsers;
|
7
|
+
type RuleRecord = ruleRecord;
|
6
8
|
}
|
7
9
|
export type { Input as default };
|
8
10
|
//# sourceMappingURL=input.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/boundary/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/boundary/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,kBAAU,KAAK,CAAC;IACd,KAAY,OAAO,GAAG,OAAO,CAAC;IAC9B,KAAY,OAAO,GAAG,OAAO,CAAC;IAC9B,KAAY,UAAU,GAAG,UAAU,CAAC;CACrC;AAED,YAAY,EAAE,KAAK,IAAI,OAAO,EAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
@@ -2,5 +2,5 @@ import { type Scope } from "./scopes/scopes.js";
|
|
2
2
|
import type Output from "./boundary/output.js";
|
3
3
|
import type Input from "./boundary/input.js";
|
4
4
|
export type { Scope, Input, Output, };
|
5
|
-
export default function (plugins: Input.Plugins, parsers: Input.Parsers, base: Record<Scope, string[]>, includes: Particord<Scope, string[]>, rules: Record<Scope, readonly [
|
5
|
+
export default function (plugins: Input.Plugins, parsers: Input.Parsers, base: Record<Scope, string[]>, includes: Particord<Scope, string[]>, rules: Record<Scope, readonly Input.RuleRecord[]>, overrides: Particord<Scope, IRule>): Output[];
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AAQ7C,YAAY,EACV,KAAK,EACL,KAAK,EACL,MAAM,GACP,CAAC;AACF,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACpC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAC;AAQ7C,YAAY,EACV,KAAK,EACL,KAAK,EACL,MAAM,GACP,CAAC;AACF,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAC7B,QAAQ,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EACpC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,KAAK,CAAC,UAAU,EAAE,CAAC,EACjD,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,GACjC,MAAM,EAAE,CAwHV"}
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAc,MAAM,oBAAoB,CAAC;AAGxD,OAAO,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,IAAI,GACL,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,OAAO,WAC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CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
package/src/boundary/input.ts
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
import type plugins from "./input/plugins.js";
|
2
2
|
import type parsers from "./input/parsers.js";
|
3
|
+
import type ruleRecord from "./input/ruleRecord.js";
|
3
4
|
|
4
5
|
namespace Input {
|
5
6
|
export type Plugins = plugins;
|
6
7
|
export type Parsers = parsers;
|
8
|
+
export type RuleRecord = ruleRecord;
|
7
9
|
}
|
8
10
|
|
9
11
|
export type { Input as default };
|
package/src/index.ts
CHANGED
@@ -18,7 +18,7 @@ export default function (
|
|
18
18
|
parsers: Input.Parsers,
|
19
19
|
base: Record<Scope, string[]>,
|
20
20
|
includes: Particord<Scope, string[]>,
|
21
|
-
rules: Record<Scope, readonly [
|
21
|
+
rules: Record<Scope, readonly Input.RuleRecord[]>,
|
22
22
|
overrides: Particord<Scope, IRule>,
|
23
23
|
): Output[] {
|
24
24
|
try {
|