@eslinted/core 5.1.0 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,5 +8,23 @@ describe("Scopes", function () {
8
8
  .that.has.lengthOf.at.least(1);
9
9
  });
10
10
  });
11
+ describe("order", function () {
12
+ it("jsonc > json", function () {
13
+ expect(scopes.indexOf("jsonc"))
14
+ .greaterThan(scopes.indexOf("json"));
15
+ });
16
+ it("ts > js", function () {
17
+ expect(scopes.indexOf("ts"))
18
+ .greaterThan(scopes.indexOf("js"));
19
+ });
20
+ it("mocha > ts", function () {
21
+ expect(scopes.indexOf("mocha"))
22
+ .greaterThan(scopes.indexOf("ts"));
23
+ });
24
+ it("svelte > ts", function () {
25
+ expect(scopes.indexOf("svelte"))
26
+ .greaterThan(scopes.indexOf("ts"));
27
+ });
28
+ });
11
29
  });
12
30
  //# sourceMappingURL=scopes.spec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"scopes.spec.js","sourceRoot":"","sources":["../src/scopes.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAQ,CAAC,QAAQ,EAAE;IACjB,QAAQ,CAAC,OAAO,EAAE;QAChB,EAAE,CAAC,sBAAsB,EAAE;YACzB,MAAM,CAAC,MAAM,CAAC;iBACX,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC;iBACjB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"scopes.spec.js","sourceRoot":"","sources":["../src/scopes.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAA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
5
5
  "description": "Core ESLint flat config factory npm package `linted`.",
6
6
  "keywords": [],
7
7
  "repository": "github:jimmy-zhening-luo/linted-core",
@@ -9,4 +9,22 @@ describe("Scopes", function () {
9
9
  .that.has.lengthOf.at.least(1);
10
10
  });
11
11
  });
12
+ describe("order", function () {
13
+ it("jsonc > json", function () {
14
+ expect(scopes.indexOf("jsonc"))
15
+ .greaterThan(scopes.indexOf("json"));
16
+ });
17
+ it("ts > js", function () {
18
+ expect(scopes.indexOf("ts"))
19
+ .greaterThan(scopes.indexOf("js"));
20
+ });
21
+ it("mocha > ts", function () {
22
+ expect(scopes.indexOf("mocha"))
23
+ .greaterThan(scopes.indexOf("ts"));
24
+ });
25
+ it("svelte > ts", function () {
26
+ expect(scopes.indexOf("svelte"))
27
+ .greaterThan(scopes.indexOf("ts"));
28
+ });
29
+ });
12
30
  });