linted 34.0.0 → 34.0.1

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.
@@ -2,6 +2,7 @@ export { tree } from "./tree.js";
2
2
  export declare const scopes: readonly [
3
3
  "js",
4
4
  "ts",
5
+ "mocha",
5
6
  "svelte",
6
7
  "html",
7
8
  "css",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,eAAO,MAAM,MAAM,kFAUT,EACV,QAAQ,qBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,eAAO,MAAM,MAAM,2FAWT,EACV,QAAQ,qBAAsB,CAAC"}
@@ -2,6 +2,7 @@ export { tree } from "./tree.js";
2
2
  export const scopes = [
3
3
  "js",
4
4
  "ts",
5
+ "mocha",
5
6
  "svelte",
6
7
  "html",
7
8
  "css",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,QAAQ;IACR,KAAK;CACG,EACV,QAAQ,GAAG,CAAC,QAAQ,CAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scope/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,QAAQ;IACR,KAAK;CACG,EACV,QAAQ,GAAG,CAAC,QAAQ,CAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const tree: (readonly ["jsoncc", readonly ["jsonc"]] | readonly ["jsonc", readonly ["json"]] | readonly ["svelte", readonly ["ts"]] | readonly ["ts", readonly ["js"]])[];
1
+ export declare const tree: (readonly ["jsoncc", readonly ["jsonc"]] | readonly ["jsonc", readonly ["json"]] | readonly ["svelte", readonly ["ts"]] | readonly ["mocha", readonly ["ts"]] | readonly ["ts", readonly ["js"]])[];
2
2
  //# sourceMappingURL=tree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,+JAiBhB,CAAC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,qMAqBhB,CAAC"}
@@ -11,6 +11,10 @@ export const tree = [
11
11
  "svelte",
12
12
  ["ts"],
13
13
  ],
14
+ [
15
+ "mocha",
16
+ ["ts"],
17
+ ],
14
18
  [
15
19
  "ts",
16
20
  ["js"],
@@ -1 +1 @@
1
- {"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB;QACE,QAAQ;QACR,CAAC,OAAO,CAAC;KACD;IACV;QACE,OAAO;QACP,CAAC,MAAM,CAAC;KACA;IACV;QACE,QAAQ;QACR,CAAC,IAAI,CAAC;KACE;IACV;QACE,IAAI;QACJ,CAAC,IAAI,CAAC;KACE;CACX,CAAC"}
1
+ {"version":3,"file":"tree.js","sourceRoot":"","sources":["../../src/scope/tree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB;QACE,QAAQ;QACR,CAAC,OAAO,CAAC;KACD;IACV;QACE,OAAO;QACP,CAAC,MAAM,CAAC;KACA;IACV;QACE,QAAQ;QACR,CAAC,IAAI,CAAC;KACE;IACV;QACE,OAAO;QACP,CAAC,IAAI,CAAC;KACE;IACV;QACE,IAAI;QACJ,CAAC,IAAI,CAAC;KACE;CACX,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": "34.0.0",
6
+ "version": "34.0.1",
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": [
@@ -52,7 +52,7 @@
52
52
  "@eslint/css": "0.14.1",
53
53
  "@eslint/json": "0.14.0",
54
54
  "@eslinted/core": "31.0.1",
55
- "@eslinted/defaults": "17.5.0",
55
+ "@eslinted/defaults": "17.5.2",
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",
@@ -2,6 +2,7 @@ export { tree } from "./tree";
2
2
  export const scopes = [
3
3
  "js",
4
4
  "ts",
5
+ "mocha",
5
6
  "svelte",
6
7
  "html",
7
8
  "css",
package/src/scope/tree.ts CHANGED
@@ -11,6 +11,10 @@ export const tree = [
11
11
  "svelte",
12
12
  ["ts"],
13
13
  ] as const,
14
+ [
15
+ "mocha",
16
+ ["ts"],
17
+ ] as const,
14
18
  [
15
19
  "ts",
16
20
  ["js"],