linted 33.8.3-rc.1 → 34.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
1
  import "chai/register-should.js";
2
2
  import linted from "../index.js";
3
3
  const configs = linted();
4
- describe("linted", function () {
5
- describe("shape", function () {
6
- it("is a function", function () {
4
+ describe("linted", () => {
5
+ describe("shape", () => {
6
+ it("is a function", () => {
7
7
  linted
8
8
  .should.be
9
9
  .a("function");
10
10
  });
11
11
  });
12
- describe("output", function () {
13
- it("is a non-empty array", function () {
12
+ describe("output", () => {
13
+ it("is a non-empty array", () => {
14
14
  configs
15
15
  .should.be
16
16
  .an("array")
@@ -1 +1 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../tests/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC;AAEzB,QAAQ,CACN,QAAQ,EACR;IACE,QAAQ,CACN,OAAO,EACP;QACE,EAAE,CACA,eAAe,EACf;YACE,MAAM;iBACH,MAAM,CAAC,EAAE;iBACT,CAAC,CAAC,UAAU,CAAC,CAAC;QACnB,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,QAAQ,EACR;QACE,EAAE,CACA,sBAAsB,EACtB;YACE,OAAO;iBACJ,MAAM,CAAC,EAAE;iBACT,EAAE,CAAC,OAAO,CAAC;iBACX,GAAG,CAAC,KAAK,CAAC;QACf,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../tests/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,MAAM,MAAM,IAAI,CAAC;AAExB,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC;AAEzB,QAAQ,CACN,QAAQ,EACR,GAAG,EAAE;IACH,QAAQ,CACN,OAAO,EACP,GAAG,EAAE;QACH,EAAE,CACA,eAAe,EACf,GAAG,EAAE;YACH,MAAM;iBACH,MAAM,CAAC,EAAE;iBACT,CAAC,CAAC,UAAU,CAAC,CAAC;QACnB,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,QAAQ,EACR,GAAG,EAAE;QACH,EAAE,CACA,sBAAsB,EACtB,GAAG,EAAE;YACH,OAAO;iBACJ,MAAM,CAAC,EAAE;iBACT,EAAE,CAAC,OAAO,CAAC;iBACX,GAAG,CAAC,KAAK,CAAC;QACf,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import "chai/register-should.js";
2
2
  import { scopes } from "../../scope/index.js";
3
- describe("Scopes", function () {
4
- describe("shape", function () {
5
- it("is a non-empty array", function () {
3
+ describe("Scopes", () => {
4
+ describe("shape", () => {
5
+ it("is a non-empty array", () => {
6
6
  scopes
7
7
  .should.be
8
8
  .an("array")
9
9
  .not.empty;
10
10
  });
11
11
  });
12
- describe("members", function () {
13
- it("are unique", function () {
12
+ describe("members", () => {
13
+ it("are unique", () => {
14
14
  scopes
15
15
  .length
16
16
  .should
@@ -18,8 +18,8 @@ describe("Scopes", function () {
18
18
  .size);
19
19
  });
20
20
  });
21
- describe("order", function () {
22
- it("`jsoncc` > `jsonc` > `json`", function () {
21
+ describe("order", () => {
22
+ it("`jsoncc` > `jsonc` > `json`", () => {
23
23
  scopes
24
24
  .should
25
25
  .include
@@ -39,7 +39,7 @@ describe("Scopes", function () {
39
39
  .greaterThan(scopes
40
40
  .indexOf("json"));
41
41
  });
42
- it("`svelte` > `ts`", function () {
42
+ it("`svelte` > `ts`", () => {
43
43
  scopes
44
44
  .should
45
45
  .include
@@ -53,7 +53,7 @@ describe("Scopes", function () {
53
53
  .greaterThan(scopes
54
54
  .indexOf("ts"));
55
55
  });
56
- it("`ts` > `js`", function () {
56
+ it("`ts` > `js`", () => {
57
57
  scopes
58
58
  .should
59
59
  .include
@@ -1 +1 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../tests/scope/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,QAAQ,CACN,QAAQ,EACR;IACE,QAAQ,CACN,OAAO,EACP;QACE,EAAE,CACA,sBAAsB,EACtB;YACE,MAAM;iBACH,MAAM,CAAC,EAAE;iBACT,EAAE,CAAC,OAAO,CAAC;iBACX,GAAG,CAAC,KAAK,CAAC;QACf,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,SAAS,EACT;QACE,EAAE,CACA,YAAY,EACZ;YACE,MAAM;iBACH,MAAM;iBACN,MAAM;iBACN,KAAK,CACJ,IAAI,GAAG,CAAC,MAAM,CAAC;iBACZ,IAAI,CACR,CAAC;QACN,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,OAAO,EACP;QACE,EAAE,CACA,6BAA6B,EAC7B;YACE,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,QAAQ;gBACR,OAAO;gBACP,MAAM;aACP,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,QAAQ,CAAC;iBACjB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,OAAO,CAAC,CACpB,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,OAAO,CAAC;iBAChB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,MAAM,CAAC,CACnB,CAAC;QACN,CAAC,CACF,CAAC;QACF,EAAE,CACA,iBAAiB,EACjB;YACE,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,QAAQ;gBACR,IAAI;aACL,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,QAAQ,CAAC;iBACjB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC,CACjB,CAAC;QACN,CAAC,CACF,CAAC;QACF,EAAE,CACA,aAAa,EACb;YACE,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,IAAI;gBACJ,IAAI;aACL,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC;iBACb,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC,CACjB,CAAC;QACN,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../tests/scope/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,QAAQ,CACN,QAAQ,EACR,GAAG,EAAE;IACH,QAAQ,CACN,OAAO,EACP,GAAG,EAAE;QACH,EAAE,CACA,sBAAsB,EACtB,GAAG,EAAE;YACH,MAAM;iBACH,MAAM,CAAC,EAAE;iBACT,EAAE,CAAC,OAAO,CAAC;iBACX,GAAG,CAAC,KAAK,CAAC;QACf,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,SAAS,EACT,GAAG,EAAE;QACH,EAAE,CACA,YAAY,EACZ,GAAG,EAAE;YACH,MAAM;iBACH,MAAM;iBACN,MAAM;iBACN,KAAK,CACJ,IAAI,GAAG,CAAC,MAAM,CAAC;iBACZ,IAAI,CACR,CAAC;QACN,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,OAAO,EACP,GAAG,EAAE;QACH,EAAE,CACA,6BAA6B,EAC7B,GAAG,EAAE;YACH,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,QAAQ;gBACR,OAAO;gBACP,MAAM;aACP,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,QAAQ,CAAC;iBACjB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,OAAO,CAAC,CACpB,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,OAAO,CAAC;iBAChB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,MAAM,CAAC,CACnB,CAAC;QACN,CAAC,CACF,CAAC;QACF,EAAE,CACA,iBAAiB,EACjB,GAAG,EAAE;YACH,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,QAAQ;gBACR,IAAI;aACL,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,QAAQ,CAAC;iBACjB,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC,CACjB,CAAC;QACN,CAAC,CACF,CAAC;QACF,EAAE,CACA,aAAa,EACb,GAAG,EAAE;YACH,MAAM;iBACH,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,IAAI;gBACJ,IAAI;aACL,CACF,CAAC;YACJ,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC;iBACb,MAAM,CAAC,EAAE;iBACT,WAAW,CACV,MAAM;iBACH,OAAO,CAAC,IAAI,CAAC,CACjB,CAAC;QACN,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,31 +1,31 @@
1
1
  import "chai/register-should.js";
2
2
  import { tree } from "../../scope/tree.js";
3
3
  const nodes = tree.map(([scope]) => scope);
4
- describe("Tree", function () {
5
- describe("shape", function () {
6
- it("is an array", function () {
4
+ describe("Tree", () => {
5
+ describe("shape", () => {
6
+ it("is an array", () => {
7
7
  tree
8
8
  .should.be
9
9
  .an("array");
10
10
  });
11
11
  });
12
- describe("members", function () {
13
- it("are unique", function () {
12
+ describe("members", () => {
13
+ it("are unique", () => {
14
14
  tree
15
15
  .length
16
16
  .should
17
17
  .equal(new Set(nodes)
18
18
  .size);
19
19
  });
20
- it("omit `js`", function () {
20
+ it("omit `js`", () => {
21
21
  nodes
22
22
  .should
23
23
  .not.include
24
24
  .members(["js"]);
25
25
  });
26
26
  });
27
- describe("order", function () {
28
- it("`jsoncc` < [`jsonc`]?", function () {
27
+ describe("order", () => {
28
+ it("`jsoncc` < [`jsonc`]?", () => {
29
29
  nodes
30
30
  .should
31
31
  .include
@@ -35,7 +35,7 @@ describe("Tree", function () {
35
35
  .should.be
36
36
  .lessThan(nodes.indexOf("jsonc") * tree.length);
37
37
  });
38
- it("`svelte` < `ts`", function () {
38
+ it("`svelte` < `ts`", () => {
39
39
  nodes
40
40
  .should
41
41
  .include
@@ -49,7 +49,7 @@ describe("Tree", function () {
49
49
  .lessThan(nodes
50
50
  .indexOf("ts"));
51
51
  });
52
- it("`ts` is last", function () {
52
+ it("`ts` is last", () => {
53
53
  nodes
54
54
  .should
55
55
  .include
@@ -1 +1 @@
1
- {"version":3,"file":"tree.spec.js","sourceRoot":"","sources":["../../../tests/scope/tree.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;AAE3C,QAAQ,CACN,MAAM,EACN;IACE,QAAQ,CACN,OAAO,EACP;QACE,EAAE,CACA,aAAa,EACb;YACE,IAAI;iBACD,MAAM,CAAC,EAAE;iBACT,EAAE,CAAC,OAAO,CAAC,CAAC;QACjB,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;IACF,QAAQ,CACN,SAAS,EACT;QACE,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iBAAiB,EACjB,GAAG,EAAE;YACH,KAAK;iBACF,MAAM;iBACN,OAAO;iBACP,OAAO,CACN;gBACE,QAAQ;gBACR,IAAI;aACL,CACF,CAAC;YACJ,KAAK;iBACF,OAAO,CAAC,QAAQ,CAAC;iBACjB,MAAM,CAAC,EAAE;iBACT,QAAQ,CACP,KAAK;iBACF,OAAO,CAAC,IAAI,CAAC,CACjB,CAAC;QACN,CAAC,CACF,CAAC;QACF,EAAE,CACA,cAAc,EACd,GAAG,EAAE;YACH,KAAK;iBACF,MAAM;iBACN,OAAO;iBACP,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACnB,KAAK;iBACF,OAAO,CAAC,IAAI,CAAC;iBACb,MAAM;iBACN,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC5B,CAAC,CACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC,CACF,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "33.8.3-rc.1",
6
+ "version": "34.0.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
8
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
@@ -51,8 +51,8 @@
51
51
  "dependencies": {
52
52
  "@eslint/css": "0.14.1",
53
53
  "@eslint/json": "0.14.0",
54
- "@eslinted/core": "31.0.1-rc.1",
55
- "@eslinted/defaults": "17.5.0-rc.1",
54
+ "@eslinted/core": "31.0.1",
55
+ "@eslinted/defaults": "17.5.0",
56
56
  "@html-eslint/eslint-plugin": "0.49.0",
57
57
  "@stylistic/eslint-plugin": "5.6.1",
58
58
  "eslint-plugin-jsonc": "2.21.0",
@@ -5,13 +5,13 @@ const configs = linted();
5
5
 
6
6
  describe(
7
7
  "linted",
8
- function () {
8
+ () => {
9
9
  describe(
10
10
  "shape",
11
- function () {
11
+ () => {
12
12
  it(
13
13
  "is a function",
14
- function () {
14
+ () => {
15
15
  linted
16
16
  .should.be
17
17
  .a("function");
@@ -21,10 +21,10 @@ describe(
21
21
  );
22
22
  describe(
23
23
  "output",
24
- function () {
24
+ () => {
25
25
  it(
26
26
  "is a non-empty array",
27
- function () {
27
+ () => {
28
28
  configs
29
29
  .should.be
30
30
  .an("array")
@@ -3,13 +3,13 @@ import { scopes } from "../../scope";
3
3
 
4
4
  describe(
5
5
  "Scopes",
6
- function () {
6
+ () => {
7
7
  describe(
8
8
  "shape",
9
- function () {
9
+ () => {
10
10
  it(
11
11
  "is a non-empty array",
12
- function () {
12
+ () => {
13
13
  scopes
14
14
  .should.be
15
15
  .an("array")
@@ -20,10 +20,10 @@ describe(
20
20
  );
21
21
  describe(
22
22
  "members",
23
- function () {
23
+ () => {
24
24
  it(
25
25
  "are unique",
26
- function () {
26
+ () => {
27
27
  scopes
28
28
  .length
29
29
  .should
@@ -37,10 +37,10 @@ describe(
37
37
  );
38
38
  describe(
39
39
  "order",
40
- function () {
40
+ () => {
41
41
  it(
42
42
  "`jsoncc` > `jsonc` > `json`",
43
- function () {
43
+ () => {
44
44
  scopes
45
45
  .should
46
46
  .include
@@ -69,7 +69,7 @@ describe(
69
69
  );
70
70
  it(
71
71
  "`svelte` > `ts`",
72
- function () {
72
+ () => {
73
73
  scopes
74
74
  .should
75
75
  .include
@@ -90,7 +90,7 @@ describe(
90
90
  );
91
91
  it(
92
92
  "`ts` > `js`",
93
- function () {
93
+ () => {
94
94
  scopes
95
95
  .should
96
96
  .include
@@ -5,13 +5,13 @@ const nodes = tree.map(([scope]) => scope);
5
5
 
6
6
  describe(
7
7
  "Tree",
8
- function () {
8
+ () => {
9
9
  describe(
10
10
  "shape",
11
- function () {
11
+ () => {
12
12
  it(
13
13
  "is an array",
14
- function () {
14
+ () => {
15
15
  tree
16
16
  .should.be
17
17
  .an("array");
@@ -21,10 +21,10 @@ describe(
21
21
  );
22
22
  describe(
23
23
  "members",
24
- function () {
24
+ () => {
25
25
  it(
26
26
  "are unique",
27
- function () {
27
+ () => {
28
28
  tree
29
29
  .length
30
30
  .should
@@ -36,7 +36,7 @@ describe(
36
36
  );
37
37
  it(
38
38
  "omit `js`",
39
- function () {
39
+ () => {
40
40
  nodes
41
41
  .should
42
42
  .not.include
@@ -47,10 +47,10 @@ describe(
47
47
  );
48
48
  describe(
49
49
  "order",
50
- function () {
50
+ () => {
51
51
  it(
52
52
  "`jsoncc` < [`jsonc`]?",
53
- function () {
53
+ () => {
54
54
  nodes
55
55
  .should
56
56
  .include
@@ -65,7 +65,7 @@ describe(
65
65
  );
66
66
  it(
67
67
  "`svelte` < `ts`",
68
- function () {
68
+ () => {
69
69
  nodes
70
70
  .should
71
71
  .include
@@ -86,7 +86,7 @@ describe(
86
86
  );
87
87
  it(
88
88
  "`ts` is last",
89
- function () {
89
+ () => {
90
90
  nodes
91
91
  .should
92
92
  .include