@r_masseater/oxlint-typed-rules 0.4.1 → 0.4.3

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.
Files changed (39) hide show
  1. package/README.md +77 -83
  2. package/dist/drizzle.d.mts +3 -3
  3. package/dist/drizzle.mjs +10 -10
  4. package/dist/drizzle.mjs.map +1 -1
  5. package/dist/{eslint-utils-BmbvsYwn.mjs → eslint-utils-ujGlgEMD.mjs} +9 -9
  6. package/dist/{eslint-utils-BmbvsYwn.mjs.map → eslint-utils-ujGlgEMD.mjs.map} +1 -1
  7. package/dist/{upstream-plugin-xn91RvOJ.d.mts → index-D1qDt581.d.mts} +4 -4
  8. package/dist/index.d.mts +4 -4
  9. package/dist/index.mjs +1 -1
  10. package/dist/react.d.mts +5 -5
  11. package/dist/react.mjs +171 -117
  12. package/dist/react.mjs.map +1 -1
  13. package/dist/remotion.d.mts +3 -3
  14. package/dist/remotion.mjs +4 -4
  15. package/dist/remotion.mjs.map +1 -1
  16. package/dist/tanstack-query.d.mts +3 -3
  17. package/dist/tanstack-query.mjs +6 -6
  18. package/dist/tanstack-query.mjs.map +1 -1
  19. package/dist/tanstack-router.d.mts +3 -3
  20. package/dist/tanstack-router.mjs +12 -12
  21. package/dist/tanstack-router.mjs.map +1 -1
  22. package/dist/tanstack-start.mjs +15 -15
  23. package/dist/tanstack-start.mjs.map +1 -1
  24. package/dist/{ts-compat-kqrVqnFj.mjs → ts-compat-CFDky9Ie.mjs} +3 -3
  25. package/dist/ts-compat-CFDky9Ie.mjs.map +1 -0
  26. package/dist/{typed-rule-DljA66d1.mjs → typed-rule-DFpV2XgE.mjs} +63 -63
  27. package/dist/typed-rule-DFpV2XgE.mjs.map +1 -0
  28. package/dist/{typescript-eslint-utils-DRyGbBR9.mjs → typescript-eslint-utils-C6OO2FjX.mjs} +3 -3
  29. package/dist/typescript-eslint-utils-C6OO2FjX.mjs.map +1 -0
  30. package/dist/{upstream-plugin-B_PNfSLV.mjs → upstream-plugin-D4Lz9A1H.mjs} +5 -4
  31. package/dist/upstream-plugin-D4Lz9A1H.mjs.map +1 -0
  32. package/package.json +19 -17
  33. package/skills/run-typed-eslint-rules/SKILL.md +85 -0
  34. package/dist/config-rules-CIyMUUvG.mjs +0 -6
  35. package/dist/config-rules-CIyMUUvG.mjs.map +0 -1
  36. package/dist/ts-compat-kqrVqnFj.mjs.map +0 -1
  37. package/dist/typed-rule-DljA66d1.mjs.map +0 -1
  38. package/dist/typescript-eslint-utils-DRyGbBR9.mjs.map +0 -1
  39. package/dist/upstream-plugin-B_PNfSLV.mjs.map +0 -1
package/README.md CHANGED
@@ -1,88 +1,82 @@
1
1
  # oxlint-typed-rules
2
2
 
3
- 型情報を要る ESLint のルールを、oxlint の JS プラグインとして動かす。
4
- oxlint の JS プラグインには型情報が渡らないので([oxc#19596](https://github.com/oxc-project/oxc/issues/19596))、
5
- TypeScript 7 の API で Program と型検査器を作り、ルールが読む `parserServices` を用意する。
6
- ESLint を入れずに、型情報を使うルールを oxlint だけで回せる。
7
-
8
- ## 公開先
9
-
10
- - npm: [@r_masseater/oxlint-typed-rules](https://www.npmjs.com/package/@r_masseater/oxlint-typed-rules)
11
-
12
- ## 移植したルール
13
-
14
- | エントリ | 中身 |
15
- | ------------------------------------------------- | ------------------------------------------------------------------------------ |
16
- | `@r_masseater/oxlint-typed-rules/tanstack-start` | [@tanstack/eslint-plugin-start][tanstack] の 2 ルール |
17
- | `@r_masseater/oxlint-typed-rules/tanstack-query` | [@tanstack/eslint-plugin-query][tanstack-query] 5.105.3 の全ルールと configs |
18
- | `@r_masseater/oxlint-typed-rules/tanstack-router` | [@tanstack/eslint-plugin-router][tanstack-router] 1.162.0 の全ルールと configs |
19
- | `@r_masseater/oxlint-typed-rules/drizzle` | [eslint-plugin-drizzle][drizzle] 0.2.3 の全ルールと configs |
20
- | `@r_masseater/oxlint-typed-rules/remotion` | [@remotion/eslint-plugin][remotion] 4.0.541 の全ルールと configs |
21
- | `@r_masseater/oxlint-typed-rules/react` | [@eslint-react/eslint-plugin][eslint-react] 5.30.1 の全ルールと configs |
22
-
23
- ## 性能
24
-
25
- 同じルールを ESLint(typescript-eslint)で動かした場合と比べた。
26
- 計測は 2026-11-03 に、次の条件で行った。
27
-
28
- - 対象は [masseater.dev][masseater-dev] の `apps/portfolio/src`(238 ファイル)と、
29
- personal-space の `apps/slides/src`(1,434 ファイル、5.2 万行)である
30
- - oxlint の側は oxlint 1.90.0、oxlint-tsgolint 7.0.2005、TypeScript 7.1.0-beta で測った
31
- - ESLint の側は ESLint 9.39.5、typescript-eslint 8.72.1(`projectService`)で測った
32
- - `@tanstack/eslint-plugin-start` 0.1.0 が ESLint 10 に対応していないので、ESLint は 9 にした。
33
- ESLint 側にも同じ patch を当て、両者が同じ違反を出すことを確かめた
34
- - Node.js 26.13.0、4 コア、メモリ 16 GB の Linux で測った
35
- - cold は OS のページキャッシュを捨ててからの 3 回の中央値である
36
- - warm はページキャッシュの載った状態での 5 回の中央値で、ESLint の `--cache` は使っていない
37
- - メモリは子プロセスの tsgo と tsgolint を含めた RSS の合計の最大値である
3
+ Runs ESLint rules that need type information as oxlint JS plugins.
4
+ oxlint does not pass type information to JS plugins ([oxc#19596](https://github.com/oxc-project/oxc/issues/19596)),
5
+ so this package builds a Program and a type checker with the TypeScript 7 API and provides the `parserServices` the rules read.
6
+ Type-aware rules then run on oxlint alone, without installing ESLint.
7
+
8
+ ## Published to
9
+
10
+ npm: [@r_masseater/oxlint-typed-rules](https://www.npmjs.com/package/@r_masseater/oxlint-typed-rules)
11
+
12
+ ## Ported rules
13
+
14
+ | Entry point | Contents |
15
+ | ------------------------------------------------- | ---------------------------------------------------------------------------------- |
16
+ | `@r_masseater/oxlint-typed-rules/tanstack-start` | The 2 rules of [@tanstack/eslint-plugin-start][tanstack] |
17
+ | `@r_masseater/oxlint-typed-rules/tanstack-query` | All rules and configs of [@tanstack/eslint-plugin-query][tanstack-query] 5.105.3 |
18
+ | `@r_masseater/oxlint-typed-rules/tanstack-router` | All rules and configs of [@tanstack/eslint-plugin-router][tanstack-router] 1.162.0 |
19
+ | `@r_masseater/oxlint-typed-rules/drizzle` | All rules and configs of [eslint-plugin-drizzle][drizzle] 0.2.3 |
20
+ | `@r_masseater/oxlint-typed-rules/remotion` | All rules and configs of [@remotion/eslint-plugin][remotion] 4.0.541 |
21
+ | `@r_masseater/oxlint-typed-rules/react` | All rules and configs of [@eslint-react/eslint-plugin][eslint-react] 5.30.1 |
22
+
23
+ [tanstack]: https://www.npmjs.com/package/@tanstack/eslint-plugin-start
24
+ [tanstack-query]: https://www.npmjs.com/package/@tanstack/eslint-plugin-query
25
+ [tanstack-router]: https://www.npmjs.com/package/@tanstack/eslint-plugin-router
26
+ [drizzle]: https://www.npmjs.com/package/eslint-plugin-drizzle
27
+ [remotion]: https://www.npmjs.com/package/@remotion/eslint-plugin
28
+ [eslint-react]: https://www.npmjs.com/package/@eslint-react/eslint-plugin
29
+
30
+ ## Performance
31
+
32
+ The same rules were compared against ESLint (typescript-eslint).
33
+ Measured on 2026-11-03 under these conditions.
34
+
35
+ The targets were `apps/portfolio/src` of [masseater.dev][masseater-dev] (238 files)
36
+ and a React slide app in the owner's private repository (1,434 files, 52,000 lines).
37
+ The oxlint side used oxlint 1.90.0, oxlint-tsgolint 7.0.2005 and TypeScript 7.1.0-beta.
38
+ The ESLint side used ESLint 9.39.5 and typescript-eslint 8.72.1 (`projectService`).
39
+ ESLint stayed on 9 because `@tanstack/eslint-plugin-start` 0.1.0 does not support ESLint 10.
40
+ The same patch was applied on the ESLint side, and both sides reported the same violations.
41
+ The machine ran Linux with Node.js 26.13.0, 4 cores and 16 GB of memory.
42
+ Cold is the median of 3 runs after dropping the OS page cache.
43
+ Warm is the median of 5 runs with the page cache filled, without ESLint's `--cache`.
44
+ Memory is the peak total RSS, including the tsgo and tsgolint child processes.
38
45
 
39
46
  [masseater-dev]: https://github.com/masseater/masseater.dev
40
47
 
41
- masseater.dev の `apps/portfolio/src` の結果は次のとおりである。
42
-
43
- | ルールとツール | cold | warm | メモリ |
44
- | ------------------------------------ | ------: | ------: | -------: |
45
- | ルール無し・oxlint | 0.11 秒 | 0.06 秒 | 99 MB |
46
- | ルール無し・ESLint | 6.29 秒 | 5.93 秒 | 1,288 MB |
47
- | TanStack の 2 ルール・このパッケージ | 1.90 秒 | 1.61 秒 | 769 MB |
48
- | TanStack の 2 ルール・ESLint | 6.76 秒 | 5.75 秒 | 1,324 MB |
49
- | `no-floating-promises`・tsgolint | 1.22 秒 | 1.03 秒 | 796 MB |
50
- | `no-floating-promises`・ESLint | 7.15 秒 | 6.35 秒 | 1,395 MB |
51
- | 3 ルール・このパッケージと tsgolint | 2.84 秒 | 2.59 秒 | 1,449 MB |
52
- | 3 ルール・ESLint | 7.53 秒 | 6.64 秒 | 1,416 MB |
53
-
54
- personal-space の `apps/slides/src` の結果は次のとおりである。
55
-
56
- | ルールとツール | cold | warm | メモリ |
57
- | ------------------------------------ | -------: | -------: | -------: |
58
- | ルール無し・oxlint | 0.17 秒 | 0.06 秒 | 107 MB |
59
- | ルール無し・ESLint | 7.69 秒 | 6.95 秒 | 1,700 MB |
60
- | TanStack の 2 ルール・このパッケージ | 3.83 秒 | 3.81 秒 | 911 MB |
61
- | TanStack の 2 ルール・ESLint | 10.56 秒 | 9.70 秒 | 1,799 MB |
62
- | `no-floating-promises`・tsgolint | 1.04 秒 | 0.91 秒 | 697 MB |
63
- | `no-floating-promises`・ESLint | 8.96 秒 | 8.29 秒 | 1,737 MB |
64
- | 3 ルール・このパッケージと tsgolint | 4.79 秒 | 4.57 秒 | 1,500 MB |
65
- | 3 ルール・ESLint | 11.00 秒 | 10.31 秒 | 1,763 MB |
66
-
67
- TanStack の 2 ルールは、ESLint の 2.5〜3.6 倍の速さで、メモリは 5〜6 割で済む。
68
- TypeScript 6 で Program を作っていた 0.0.2 では、
69
- warm で masseater.dev が 6.37 秒、slides が 8.17 秒だった。
70
- 時間の大半が TypeScript 6 で Program と型検査器を作る処理だったので、そこを tsgo に任せた。
71
-
72
- slides の 3.8 秒のうち、tsgo との往復は 1.1 秒で、そのうち tsgo の中の処理は 0.8 秒だった。
73
- 残りは、tsgo から受け取った構文木を JS の側で組み立て、ルールを動かす時間である。
74
- oxlint のスレッドの数を 1 から 4 に変えても、時間はほぼ変わらなかった。
75
-
76
- ESLint の `--cache` が当たると、どの組み合わせも 0.4〜0.5 秒、170〜210 MB で終わる。
77
- ただし ESLint のキャッシュはファイルの中身だけを見る。
78
- 型の出どころのファイルが変わっても、型を使うルールを検査し直さない。
79
-
80
- typescript-eslint のルールで oxlint に同じ名前のものがあれば、tsgolint で動かす。
81
- tsgolint は Go で書かれた TypeScript 7 で並列に型を調べる。
82
- ESLint の 6〜9 倍速く、メモリも 4〜6 割で済む。
83
- このパッケージは、tsgolint に無いルールを ESLint 無しで動かすためのものである。
84
- tsgolint と併せると、型の情報を tsgo と tsgolint で 2 度作り、メモリはそのぶん増える。
85
-
86
- ## ライセンス
87
-
88
- MIT。同梱する元のプラグインのライセンスは `libs/oxlint-typed-rules/LICENSE` にある。
48
+ Results for `apps/portfolio/src` of masseater.dev:
49
+
50
+ | Rules and tool | Cold | Warm | Memory |
51
+ | ---------------------------------- | -----: | -----: | -------: |
52
+ | No rules, oxlint | 0.11 s | 0.06 s | 99 MB |
53
+ | No rules, ESLint | 6.29 s | 5.93 s | 1,288 MB |
54
+ | 2 TanStack rules, this package | 1.90 s | 1.61 s | 769 MB |
55
+ | 2 TanStack rules, ESLint | 6.76 s | 5.75 s | 1,324 MB |
56
+ | `no-floating-promises`, tsgolint | 1.22 s | 1.03 s | 796 MB |
57
+ | `no-floating-promises`, ESLint | 7.15 s | 6.35 s | 1,395 MB |
58
+ | 3 rules, this package and tsgolint | 2.84 s | 2.59 s | 1,449 MB |
59
+ | 3 rules, ESLint | 7.53 s | 6.64 s | 1,416 MB |
60
+
61
+ Results for the React slide app:
62
+
63
+ | Rules and tool | Cold | Warm | Memory |
64
+ | ---------------------------------- | ------: | ------: | -------: |
65
+ | No rules, oxlint | 0.17 s | 0.06 s | 107 MB |
66
+ | No rules, ESLint | 7.69 s | 6.95 s | 1,700 MB |
67
+ | 2 TanStack rules, this package | 3.83 s | 3.81 s | 911 MB |
68
+ | 2 TanStack rules, ESLint | 10.56 s | 9.70 s | 1,799 MB |
69
+ | `no-floating-promises`, tsgolint | 1.04 s | 0.91 s | 697 MB |
70
+ | `no-floating-promises`, ESLint | 8.96 s | 8.29 s | 1,737 MB |
71
+ | 3 rules, this package and tsgolint | 4.79 s | 4.57 s | 1,500 MB |
72
+ | 3 rules, ESLint | 11.00 s | 10.31 s | 1,763 MB |
73
+
74
+ The 2 TanStack rules run 2.5 to 3.6 times faster than on ESLint, with 50 to 60 percent of the memory.
75
+
76
+ When oxlint has a typescript-eslint rule of the same name, run it with tsgolint.
77
+ This package is for running the rules that tsgolint lacks, without ESLint.
78
+ Combined with tsgolint, type information is built twice, once by tsgo and once by tsgolint, and memory grows by that much.
79
+
80
+ ## License
81
+
82
+ MIT. The licenses of the bundled original plugins are in `libs/oxlint-typed-rules/LICENSE`.
@@ -1,5 +1,5 @@
1
- import { t as UpstreamPlugin } from "./upstream-plugin-xn91RvOJ.mjs";
2
- type ConfigName = "all" | "recommended";
1
+ import { t as UpstreamPlugin } from "./index-D1qDt581.mjs";
2
+ export type ConfigName = "all" | "recommended";
3
3
  declare const plugin: UpstreamPlugin<ConfigName>;
4
- export { type ConfigName, plugin as default };
4
+ export { plugin as default };
5
5
  //# sourceMappingURL=drizzle.d.mts.map
package/dist/drizzle.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { i as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-DQp2zzRu.mjs";
2
- import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-DRyGbBR9.mjs";
3
- import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-B_PNfSLV.mjs";
4
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/package.json
2
+ import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-C6OO2FjX.mjs";
3
+ import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-D4Lz9A1H.mjs";
4
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/package.json
5
5
  var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
6
  module.exports = {
7
7
  "name": "eslint-plugin-drizzle",
@@ -40,7 +40,7 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40
40
  "peerDependencies": { "eslint": ">=8.0.0" }
41
41
  };
42
42
  }));
43
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/configs/all.js
43
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/configs/all.js
44
44
  var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.default = {
@@ -56,7 +56,7 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
56
56
  }
57
57
  };
58
58
  }));
59
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/configs/recommended.js
59
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/configs/recommended.js
60
60
  var require_recommended = /* @__PURE__ */ __commonJSMin(((exports) => {
61
61
  Object.defineProperty(exports, "__esModule", { value: true });
62
62
  exports.default = {
@@ -72,7 +72,7 @@ var require_recommended = /* @__PURE__ */ __commonJSMin(((exports) => {
72
72
  }
73
73
  };
74
74
  }));
75
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/utils/ast.js
75
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/utils/ast.js
76
76
  var require_ast = /* @__PURE__ */ __commonJSMin(((exports) => {
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.resolveMemberExpressionPath = void 0;
@@ -102,7 +102,7 @@ var require_ast = /* @__PURE__ */ __commonJSMin(((exports) => {
102
102
  };
103
103
  exports.resolveMemberExpressionPath = resolveMemberExpressionPath;
104
104
  }));
105
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/utils/options.js
105
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/utils/options.js
106
106
  var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
107
107
  Object.defineProperty(exports, "__esModule", { value: true });
108
108
  exports.isDrizzleObj = void 0;
@@ -126,7 +126,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
126
126
  };
127
127
  exports.isDrizzleObj = isDrizzleObj;
128
128
  }));
129
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js
129
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js
130
130
  var require_enforce_delete_with_where = /* @__PURE__ */ __commonJSMin(((exports) => {
131
131
  Object.defineProperty(exports, "__esModule", { value: true });
132
132
  const utils_1 = (init_typescript_eslint_utils(), __toCommonJS(typescript_eslint_utils_exports));
@@ -162,7 +162,7 @@ var require_enforce_delete_with_where = /* @__PURE__ */ __commonJSMin(((exports)
162
162
  }
163
163
  });
164
164
  }));
165
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js
165
+ // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js
166
166
  var require_enforce_update_with_where = /* @__PURE__ */ __commonJSMin(((exports) => {
167
167
  Object.defineProperty(exports, "__esModule", { value: true });
168
168
  const utils_1 = (init_typescript_eslint_utils(), __toCommonJS(typescript_eslint_utils_exports));
@@ -198,7 +198,7 @@ var require_enforce_update_with_where = /* @__PURE__ */ __commonJSMin(((exports)
198
198
  }
199
199
  });
200
200
  }));
201
- // src/drizzle.ts
201
+ // src/app/drizzle.ts
202
202
  var import_src = (/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
203
203
  var __importDefault = this$1 && this$1.__importDefault || function(mod) {
204
204
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -1 +1 @@
1
- {"version":3,"file":"drizzle.mjs","names":[],"sources":["../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/package.json","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/configs/all.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/configs/recommended.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/utils/ast.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/utils/options.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_db324cd083eb061c53d9564a15258730/node_modules/eslint-plugin-drizzle/src/index.js","../src/drizzle.ts"],"sourcesContent":["","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveMemberExpressionPath = void 0;\nconst resolveMemberExpressionPath = (node) => {\n let objectExpression = node.object;\n let fullName = '';\n const addToFullName = (name) => {\n const prefix = fullName ? '.' : '';\n fullName = `${name}${prefix}${fullName}`;\n };\n while (objectExpression) {\n if (objectExpression.type === 'MemberExpression') {\n if (objectExpression.property.type === 'Identifier') {\n addToFullName(objectExpression.property.name);\n }\n objectExpression = objectExpression.object;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.name}(...)`);\n break;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'MemberExpression') {\n if (objectExpression.callee.property.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.property.name}(...)`);\n }\n objectExpression = objectExpression.callee.object;\n }\n else if (objectExpression.type === 'Identifier') {\n addToFullName(objectExpression.name);\n break;\n }\n else if (objectExpression.type === 'ThisExpression') {\n addToFullName('this');\n break;\n }\n else {\n break;\n }\n }\n return fullName;\n};\nexports.resolveMemberExpressionPath = resolveMemberExpressionPath;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDrizzleObj = void 0;\nconst isDrizzleObjName = (name, drizzleObjectName) => {\n if (typeof drizzleObjectName === 'string') {\n return name === drizzleObjectName;\n }\n if (Array.isArray(drizzleObjectName)) {\n if (drizzleObjectName.length === 0) {\n return true;\n }\n return drizzleObjectName.includes(name);\n }\n return false;\n};\nconst isDrizzleObj = (node, options) => {\n const drizzleObjectName = options[0].drizzleObjectName;\n if (node.object.type === 'Identifier') {\n return isDrizzleObjName(node.object.name, drizzleObjectName);\n }\n else if (node.object.type === 'MemberExpression' && node.object.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.property.name, drizzleObjectName);\n }\n else if (node.object.type === 'CallExpression') {\n if (node.object.callee.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.name, drizzleObjectName);\n }\n else if (node.object.callee.type === 'MemberExpression' && node.object.callee.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.property.name, drizzleObjectName);\n }\n }\n return false;\n};\nexports.isDrizzleObj = isDrizzleObj;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst deleteRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-delete-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `delete` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceDeleteWithWhere: \"Without `.where(...)` you will delete all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.delete(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (node.property.name === 'delete' && lastNodeName !== 'where' && (0, options_1.isDrizzleObj)(node, options)) {\n context.report({\n node,\n messageId: 'enforceDeleteWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = deleteRule;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst updateRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-update-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `update` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceUpdateWithWhere: \"Without `.where(...)` you will update all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.update(...).set(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (lastNodeName !== 'where'\n && node.property.name === 'set'\n && node.object.type === 'CallExpression'\n && node.object.callee.type === 'MemberExpression'\n && node.object.callee.property.type === 'Identifier'\n && node.object.callee.property.name === 'update'\n && (0, options_1.isDrizzleObj)(node.object.callee, options)) {\n context.report({\n node,\n messageId: 'enforceUpdateWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node.object.callee),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = updateRule;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.meta = exports.configs = exports.rules = void 0;\nconst package_json_1 = require(\"../package.json\");\nconst all_1 = __importDefault(require(\"./configs/all\"));\nconst recommended_1 = __importDefault(require(\"./configs/recommended\"));\nconst enforce_delete_with_where_1 = __importDefault(require(\"./enforce-delete-with-where\"));\nconst enforce_update_with_where_1 = __importDefault(require(\"./enforce-update-with-where\"));\nexports.rules = {\n 'enforce-delete-with-where': enforce_delete_with_where_1.default,\n 'enforce-update-with-where': enforce_update_with_where_1.default,\n};\nexports.configs = { all: all_1.default, recommended: recommended_1.default };\nexports.meta = { name: package_json_1.name, version: package_json_1.version };\n","import { configs, rules } from \"eslint-plugin-drizzle\";\n\nimport { plainRules, upstreamPlugin } from \"./upstream-plugin.ts\";\nimport type { UpstreamPlugin } from \"./upstream-plugin.ts\";\n\ntype ConfigName = \"all\" | \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = upstreamPlugin(\n \"drizzle\",\n { configs, rules },\n plainRules,\n);\n\nexport type { ConfigName };\nexport default plugin;\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CCCA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qCAAqC;EACzC;CACJ;;;;CCdA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qC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BAAA,UAAA,OAAgC,mBAAoB,SAAU,KAAK;EACnE,OAAQ,OAAO,IAAI,aAAc,MAAM,EAAE,WAAW,IAAI;CAC5D;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,OAAO,QAAQ,UAAU,QAAQ,QAAQ,KAAK;CACtD,MAAM,iBAAA,gBAAA;CACN,MAAM,QAAQ,gBAAA,YAAA,CAAwC;CACtD,MAAM,gBAAgB,gBAAA,oBAAA,CAAgD;CACtE,MAAM,8BAA8B,gBAAA,kCAAA,CAAsD;CAC1F,MAAM,8BAA8B,gBAAA,kCAAA,CAAsD;CAC1F,QAAQ,QAAQ;EACZ,6BAA6B,4BAA4B;EACzD,6BAA6B,4BAA4B;CAC7D;CACA,QAAQ,UAAU;EAAE,KAAK,MAAM;EAAS,aAAa,cAAc;CAAQ;CAC3E,QAAQ,OAAO;EAAE,MAAM,eAAe;EAAM,SAAS,eAAe;CAAQ;;ACT5E,MAAM,SAAqC,eACzC,WACA;CAAE,SAAA,WAAA;CAAS,OAAA,WAAA;AAAM,GACjB,UACF"}
1
+ {"version":3,"file":"drizzle.mjs","names":[],"sources":["../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/package.json","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/configs/all.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/configs/recommended.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/utils/ast.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/utils/options.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_3a3878621a35e057f79c9286946593fd/node_modules/eslint-plugin-drizzle/src/index.js","../src/app/drizzle.ts"],"sourcesContent":["","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveMemberExpressionPath = void 0;\nconst resolveMemberExpressionPath = (node) => {\n let objectExpression = node.object;\n let fullName = '';\n const addToFullName = (name) => {\n const prefix = fullName ? '.' : '';\n fullName = `${name}${prefix}${fullName}`;\n };\n while (objectExpression) {\n if (objectExpression.type === 'MemberExpression') {\n if (objectExpression.property.type === 'Identifier') {\n addToFullName(objectExpression.property.name);\n }\n objectExpression = objectExpression.object;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.name}(...)`);\n break;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'MemberExpression') {\n if (objectExpression.callee.property.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.property.name}(...)`);\n }\n objectExpression = objectExpression.callee.object;\n }\n else if (objectExpression.type === 'Identifier') {\n addToFullName(objectExpression.name);\n break;\n }\n else if (objectExpression.type === 'ThisExpression') {\n addToFullName('this');\n break;\n }\n else {\n break;\n }\n }\n return fullName;\n};\nexports.resolveMemberExpressionPath = resolveMemberExpressionPath;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDrizzleObj = void 0;\nconst isDrizzleObjName = (name, drizzleObjectName) => {\n if (typeof drizzleObjectName === 'string') {\n return name === drizzleObjectName;\n }\n if (Array.isArray(drizzleObjectName)) {\n if (drizzleObjectName.length === 0) {\n return true;\n }\n return drizzleObjectName.includes(name);\n }\n return false;\n};\nconst isDrizzleObj = (node, options) => {\n const drizzleObjectName = options[0].drizzleObjectName;\n if (node.object.type === 'Identifier') {\n return isDrizzleObjName(node.object.name, drizzleObjectName);\n }\n else if (node.object.type === 'MemberExpression' && node.object.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.property.name, drizzleObjectName);\n }\n else if (node.object.type === 'CallExpression') {\n if (node.object.callee.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.name, drizzleObjectName);\n }\n else if (node.object.callee.type === 'MemberExpression' && node.object.callee.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.property.name, drizzleObjectName);\n }\n }\n return false;\n};\nexports.isDrizzleObj = isDrizzleObj;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst deleteRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-delete-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `delete` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceDeleteWithWhere: \"Without `.where(...)` you will delete all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.delete(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (node.property.name === 'delete' && lastNodeName !== 'where' && (0, options_1.isDrizzleObj)(node, options)) {\n context.report({\n node,\n messageId: 'enforceDeleteWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = deleteRule;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst updateRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-update-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `update` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceUpdateWithWhere: \"Without `.where(...)` you will update all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.update(...).set(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (lastNodeName !== 'where'\n && node.property.name === 'set'\n && node.object.type === 'CallExpression'\n && node.object.callee.type === 'MemberExpression'\n && node.object.callee.property.type === 'Identifier'\n && node.object.callee.property.name === 'update'\n && (0, options_1.isDrizzleObj)(node.object.callee, options)) {\n context.report({\n node,\n messageId: 'enforceUpdateWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node.object.callee),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = updateRule;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.meta = exports.configs = exports.rules = void 0;\nconst package_json_1 = require(\"../package.json\");\nconst all_1 = __importDefault(require(\"./configs/all\"));\nconst recommended_1 = __importDefault(require(\"./configs/recommended\"));\nconst enforce_delete_with_where_1 = __importDefault(require(\"./enforce-delete-with-where\"));\nconst enforce_update_with_where_1 = __importDefault(require(\"./enforce-update-with-where\"));\nexports.rules = {\n 'enforce-delete-with-where': enforce_delete_with_where_1.default,\n 'enforce-update-with-where': enforce_update_with_where_1.default,\n};\nexports.configs = { all: all_1.default, recommended: recommended_1.default };\nexports.meta = { name: package_json_1.name, version: package_json_1.version };\n","import { configs, rules } from \"eslint-plugin-drizzle\";\n\nimport { plainRules, upstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\nimport type { UpstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\n\nexport type ConfigName = \"all\" | \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = up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,WAAA;AAAM,GACjB,UACF"}
@@ -294,7 +294,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
294
294
  __exportStar(require_parser_options(), exports);
295
295
  __exportStar(require_ts_estree(), exports);
296
296
  }));
297
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
297
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
298
298
  var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
299
299
  Object.defineProperty(exports, "__esModule", { value: true });
300
300
  exports.isObjectNotArray = isObjectNotArray;
@@ -330,7 +330,7 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
330
330
  }));
331
331
  }
332
332
  }));
333
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
333
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
334
334
  var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
335
335
  Object.defineProperty(exports, "__esModule", { value: true });
336
336
  exports.applyDefault = applyDefault;
@@ -355,7 +355,7 @@ var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
355
355
  return options;
356
356
  }
357
357
  }));
358
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
358
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
359
359
  var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
360
360
  Object.defineProperty(exports, "__esModule", { value: true });
361
361
  exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
@@ -363,7 +363,7 @@ var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) =
363
363
  return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
364
364
  }
365
365
  }));
366
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
366
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
367
367
  var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
368
368
  Object.defineProperty(exports, "__esModule", { value: true });
369
369
  exports.getParserServices = getParserServices;
@@ -385,11 +385,11 @@ var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
385
385
  throw new Error(messages.join("\n"));
386
386
  }
387
387
  }));
388
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
388
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
389
389
  var require_InferTypesFromRule = /* @__PURE__ */ __commonJSMin(((exports) => {
390
390
  Object.defineProperty(exports, "__esModule", { value: true });
391
391
  }));
392
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
392
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
393
393
  var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
394
394
  Object.defineProperty(exports, "__esModule", { value: true });
395
395
  exports.NullThrowsReasons = void 0;
@@ -410,7 +410,7 @@ var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
410
410
  return value;
411
411
  }
412
412
  }));
413
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
413
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
414
414
  var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
415
415
  Object.defineProperty(exports, "__esModule", { value: true });
416
416
  exports.RuleCreator = RuleCreator;
@@ -457,7 +457,7 @@ var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
457
457
  return createRule(args);
458
458
  };
459
459
  }));
460
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2__suppor_3f2b8353007d8931b4c4efd0c1a42487/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
460
+ // ../../node_modules/.pnpm/@typescript-eslint+utils@8.72.2_eslint@10.15.0_jiti@2.7.0_supports-color@10.2.2__suppor_1179acb31aa1bc253083a3b2e55154db/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
461
461
  var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
462
462
  var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
463
463
  if (k2 === void 0) k2 = k;
@@ -486,4 +486,4 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this
486
486
  }));
487
487
  export { require_dist as n, require_eslint_utils as t };
488
488
 
489
- //# sourceMappingURL=eslint-utils-BmbvsYwn.mjs.map
489
+ //# sourceMappingURL=eslint-utils-ujGlgEMD.mjs.map