@eslinted/core 14.0.0-rc.1 → 14.0.0-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.spec.js +3 -3
- package/dist/index.spec.js.map +1 -1
- package/package.json +1 -1
- package/src/index.spec.ts +3 -3
package/dist/index.spec.js
CHANGED
@@ -15,15 +15,15 @@ describe("Core", function () {
|
|
15
15
|
expect(configs)
|
16
16
|
.an("array");
|
17
17
|
});
|
18
|
-
it("
|
18
|
+
it("non-empty", function () {
|
19
19
|
expect(configs)
|
20
20
|
.has.lengthOf.above(1);
|
21
21
|
});
|
22
|
-
it(`
|
22
|
+
it(`with length >= */ignores + */settings + ${scopes.length} scopes = ${scopes.length + 2} [Actual: ${configs.length}`, function () {
|
23
23
|
expect(configs)
|
24
24
|
.lengthOf.above(scopes.length + 2);
|
25
25
|
});
|
26
|
-
it("
|
26
|
+
it("containing only config-like members", function () {
|
27
27
|
expect(configs)
|
28
28
|
.satisfies((configs) => configs.every(config => typeof config === "object" && config !== null && "name" in config && typeof config.name === "string"));
|
29
29
|
});
|
package/dist/index.spec.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,IAAI,MAAM,GAAG,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;AAEhC,QAAQ,CAAC,MAAM,EAAE;IACf,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,eAAe,EAAE;YAClB,MAAM,CAAC,IAAI,CAAC;iBACT,CAAC,CAAC,UAAU,CAAC,CAAC;QACnB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,QAAQ,EAAE;QACjB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AAM,CAAC,OAAO,CAAC;iBACZ,SAAS,CAAC,CAAC,OAA2B,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC;QAC/K,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,SAAS,EAAE;QAClB,EAAE,CAAC,4BAA4B,EAAE;YAC/B,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;iBACf,GAAG,CAAC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;YACrC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;iBACf,GAAG,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;YACjC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;iBACf,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC;YACrD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;iBACf,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,6BAA6B,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/index.spec.ts
CHANGED
@@ -17,17 +17,17 @@ describe("Core", function () {
|
|
17
17
|
expect(configs)
|
18
18
|
.an("array");
|
19
19
|
});
|
20
|
-
it("
|
20
|
+
it("non-empty", function () {
|
21
21
|
expect(configs)
|
22
22
|
.has.lengthOf.above(1);
|
23
23
|
// .not.empty;
|
24
24
|
// replace with not.empty after new rule
|
25
25
|
});
|
26
|
-
it(`
|
26
|
+
it(`with length >= */ignores + */settings + ${scopes.length} scopes = ${scopes.length + 2} [Actual: ${configs.length}`, function () {
|
27
27
|
expect(configs)
|
28
28
|
.lengthOf.above(scopes.length + 2);
|
29
29
|
});
|
30
|
-
it("
|
30
|
+
it("containing only config-like members", function () {
|
31
31
|
expect(configs)
|
32
32
|
.satisfies((configs: readonly unknown[]) => configs.every(config => typeof config === "object" && config !== null && "name" in config && typeof config.name === "string"));
|
33
33
|
});
|