@effect/tsgo 0.62.0 → 0.63.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.
package/README.md CHANGED
@@ -6,12 +6,12 @@ This project targets **Effect V4** (codename: "smol") primarily and also Effect
6
6
  <!-- supported-components:start -->
7
7
  ## Supported Package Versions
8
8
 
9
- The following target package versions are supported by `@effect/tsgo@0.62.0`:
9
+ The following target package versions are supported by `@effect/tsgo@0.63.0`:
10
10
 
11
11
  | Component | Supported versions |
12
12
  |---|---|
13
- | TypeScript | `7.0.2`, `7.1.0-beta`, `7.1.0-dev.20261027.1` |
14
- | tsrs | `0.20.0-ts7.1.0-beta` |
13
+ | TypeScript | `7.0.2`, `7.1.0-beta`, `7.1.0-dev.20261028.1` |
14
+ | tsrs | `0.20.1-ts7.1.0-beta` |
15
15
  | Oxlint | `1.88.0`, `1.89.0`, `1.90.0` |
16
16
  | oxlint-tsgolint | `7.0.2004`, `7.0.2005` |
17
17
  <!-- supported-components:end -->
@@ -172,12 +172,15 @@ Some diagnostics are off by default or have a default severity of suggestion, bu
172
172
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/effect-map-void.md"><code>effectMapVoid</code></a></td><td>Suggests using Effect.asVoid instead of Effect.map(() =&gt; void 0), Effect.map(() =&gt; undefined), or Effect.map(() =&gt; {})</td></tr>
173
173
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/effect-sleep-zero-to-yield-now.md"><code>effectSleepZeroToYieldNow</code></a></td><td>Suggests Effect.yieldNow for cooperative yielding instead of sleeping for zero duration</td></tr>
174
174
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/effect-succeed-with-void.md"><code>effectSucceedWithVoid</code></a></td><td>Suggests using Effect.void instead of Effect.succeed(undefined) or Effect.succeed(void 0)</td></tr>
175
+ <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/fail-cause-to-constructor.md"><code>failCauseToConstructor</code></a></td><td>Suggests Effect.fail/die/failSync/dieSync instead of failCause/failCauseSync wrapping a single Cause.fail/die</td></tr>
175
176
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/flat-map-conditional-to-filter-or-fail.md"><code>flatMapConditionalToFilterOrFail</code></a></td><td>Suggests Effect.filterOrFail or Effect.filterOrElse when Effect.flatMap conditionally passes its input through with Effect.succeed</td></tr>
176
177
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/flat-map-identity-to-flatten.md"><code>flatMapIdentityToFlatten</code></a></td><td>Suggests Effect.flatten instead of Effect.flatMap when the callback is Effect&#39;s identity export referenced directly or an unannotated function returning its parameter</td></tr>
177
178
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/flat-map-ignored-param-to-and-then.md"><code>flatMapIgnoredParamToAndThen</code></a></td><td>Suggests using Effect.andThen instead of Effect.flatMap when a zero-parameter callback returns an existing Effect value</td></tr>
178
179
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/flat-map-to-map.md"><code>flatMapToMap</code></a></td><td>Suggests using Effect.map instead of Effect.flatMap when the callback only wraps its result with Effect.succeed</td></tr>
179
180
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/flat-map-to-tap.md"><code>flatMapToTap</code></a></td><td>Suggests Effect.tap when a flatMap or andThen callback runs an effect and returns its unchanged parameter</td></tr>
181
+ <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/manual-metric-tap-to-track.md"><code>manualMetricTapToTrack</code></a></td><td>Suggests Effect.trackSuccesses/trackErrors/trackDefects when an Effect.tap/tapError/tapDefect only updates a metric</td></tr>
180
182
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/map-const-to-as.md"><code>mapConstToAs</code></a></td><td>Suggests using Effect.as instead of Effect.map when the callback ignores its input and returns a constant</td></tr>
183
+ <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/map-map-error-to-map-both.md"><code>mapMapErrorToMapBoth</code></a></td><td>Suggests Effect.mapBoth when Effect.map and Effect.mapError are adjacent steps of a piping flow</td></tr>
181
184
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/map-some-to-as-some.md"><code>mapSomeToAsSome</code></a></td><td>Suggests using Effect.asSome instead of Effect.map when the mapper only wraps the success value with Option.some</td></tr>
182
185
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/match-effect-to-map-both.md"><code>matchEffectToMapBoth</code></a></td><td>Suggests Effect.mapBoth when Effect.matchEffect only transforms the failure and success channels</td></tr>
183
186
  <tr><td><a href="https://github.com/Effect-TS/tsgo/blob/main/docs/rules/match-effect-to-match.md"><code>matchEffectToMatch</code></a></td><td>Suggests Effect.match or Effect.matchCause when both Effect.matchEffect handlers only return Effect.succeed</td></tr>
@@ -52769,7 +52769,7 @@ const runWith = (command, config) => {
52769
52769
  //#endregion
52770
52770
  //#region package.json
52771
52771
  var name = "@effect/tsgo";
52772
- var version = "0.62.0";
52772
+ var version = "0.63.0";
52773
52773
 
52774
52774
  //#endregion
52775
52775
  //#region src/metadata.json
@@ -52833,6 +52833,7 @@ var presets$1 = [
52833
52833
  "effectSucceedWithVoid": "suggestion",
52834
52834
  "errorPayloadShadowsName": "suggestion",
52835
52835
  "experimentalApiUsage": "warning",
52836
+ "failCauseToConstructor": "suggestion",
52836
52837
  "flatMapConditionalToFilterOrFail": "suggestion",
52837
52838
  "flatMapIdentityToFlatten": "suggestion",
52838
52839
  "flatMapIgnoredParamToAndThen": "suggestion",
@@ -52847,6 +52848,7 @@ var presets$1 = [
52847
52848
  "lazyEffect": "suggestion",
52848
52849
  "lazyPromiseInEffectSync": "warning",
52849
52850
  "leakingRequirements": "suggestion",
52851
+ "manualMetricTapToTrack": "suggestion",
52850
52852
  "mapConstToAs": "suggestion",
52851
52853
  "mapSomeToAsSome": "suggestion",
52852
52854
  "matchEffectToMapBoth": "suggestion",
@@ -52928,6 +52930,7 @@ var presets$1 = [
52928
52930
  "effectSucceedWithVoid": "error",
52929
52931
  "errorPayloadShadowsName": "error",
52930
52932
  "experimentalApiUsage": "error",
52933
+ "failCauseToConstructor": "error",
52931
52934
  "flatMapConditionalToFilterOrFail": "error",
52932
52935
  "flatMapIdentityToFlatten": "error",
52933
52936
  "flatMapIgnoredParamToAndThen": "error",
@@ -52942,6 +52945,7 @@ var presets$1 = [
52942
52945
  "lazyEffect": "error",
52943
52946
  "lazyPromiseInEffectSync": "error",
52944
52947
  "leakingRequirements": "error",
52948
+ "manualMetricTapToTrack": "error",
52945
52949
  "mapConstToAs": "error",
52946
52950
  "mapSomeToAsSome": "error",
52947
52951
  "matchEffectToMapBoth": "error",
@@ -53103,12 +53107,15 @@ var presets$1 = [
53103
53107
  "effectMapVoid": "warning",
53104
53108
  "effectSleepZeroToYieldNow": "warning",
53105
53109
  "effectSucceedWithVoid": "warning",
53110
+ "failCauseToConstructor": "warning",
53106
53111
  "flatMapConditionalToFilterOrFail": "warning",
53107
53112
  "flatMapIdentityToFlatten": "warning",
53108
53113
  "flatMapIgnoredParamToAndThen": "warning",
53109
53114
  "flatMapToMap": "warning",
53110
53115
  "flatMapToTap": "warning",
53116
+ "manualMetricTapToTrack": "warning",
53111
53117
  "mapConstToAs": "warning",
53118
+ "mapMapErrorToMapBoth": "warning",
53112
53119
  "mapSomeToAsSome": "warning",
53113
53120
  "matchEffectToMapBoth": "warning",
53114
53121
  "matchEffectToMatch": "warning",
@@ -54329,7 +54336,7 @@ var rules = [
54329
54336
  "diagnostics": [{
54330
54337
  "start": 142,
54331
54338
  "end": 158,
54332
- "text": "This code uses `JSON.parse` or `JSON.stringify`. Use `Schema.UnknownFromJsonString` for unknown shapes, `Schema.fromJsonString(schema)` for known ones, or `Schema.toCodecJson(schema)` when working with JSON values instead of strings. effect(preferSchemaOverJson)"
54339
+ "text": "This code uses `JSON.parse` or `JSON.stringify`. Use `Schema.fromJsonString(Schema.Unknown)` for unknown shapes, `Schema.fromJsonString(schema)` for known ones, or `Schema.toCodecJson(schema)` when working with JSON values instead of strings. effect(preferSchemaOverJson)"
54333
54340
  }]
54334
54341
  }
54335
54342
  },
@@ -54707,6 +54714,23 @@ var rules = [
54707
54714
  }]
54708
54715
  }
54709
54716
  },
54717
+ {
54718
+ "name": "failCauseToConstructor",
54719
+ "group": "style",
54720
+ "description": "Suggests Effect.fail/die/failSync/dieSync instead of failCause/failCauseSync wrapping a single Cause.fail/die",
54721
+ "defaultSeverity": "suggestion",
54722
+ "fixable": true,
54723
+ "supportedEffect": ["v3", "v4"],
54724
+ "codes": [377155],
54725
+ "preview": {
54726
+ "sourceText": "import { Cause, Effect } from \"effect\"\n\nexport const crashed = Effect.failCause(Cause.die(new Error(\"boom\")))\n",
54727
+ "diagnostics": [{
54728
+ "start": 63,
54729
+ "end": 79,
54730
+ "text": "`Effect.die` expresses this failure directly instead of wrapping `Cause.die` in `Effect.failCause`. effect(failCauseToConstructor)"
54731
+ }]
54732
+ }
54733
+ },
54710
54734
  {
54711
54735
  "name": "flatMapConditionalToFilterOrFail",
54712
54736
  "group": "style",
@@ -54792,6 +54816,23 @@ var rules = [
54792
54816
  }]
54793
54817
  }
54794
54818
  },
54819
+ {
54820
+ "name": "manualMetricTapToTrack",
54821
+ "group": "style",
54822
+ "description": "Suggests Effect.trackSuccesses/trackErrors/trackDefects when an Effect.tap/tapError/tapDefect only updates a metric",
54823
+ "defaultSeverity": "suggestion",
54824
+ "fixable": true,
54825
+ "supportedEffect": ["v4"],
54826
+ "codes": [377154],
54827
+ "preview": {
54828
+ "sourceText": "import { Effect, Metric } from \"effect\"\n\nconst responseSize = Metric.gauge(\"response_size\")\n\ndeclare const handleRequest: Effect.Effect<number, Error>\n\nexport const instrumented = handleRequest.pipe(Effect.tap((size) => Metric.update(responseSize, size)))\n",
54829
+ "diagnostics": [{
54830
+ "start": 199,
54831
+ "end": 209,
54832
+ "text": "`Effect.trackSuccesses` expresses recording a metric on every success directly. effect(manualMetricTapToTrack)"
54833
+ }]
54834
+ }
54835
+ },
54795
54836
  {
54796
54837
  "name": "mapConstToAs",
54797
54838
  "group": "style",
@@ -54809,6 +54850,23 @@ var rules = [
54809
54850
  }]
54810
54851
  }
54811
54852
  },
54853
+ {
54854
+ "name": "mapMapErrorToMapBoth",
54855
+ "group": "style",
54856
+ "description": "Suggests Effect.mapBoth when Effect.map and Effect.mapError are adjacent steps of a piping flow",
54857
+ "defaultSeverity": "off",
54858
+ "fixable": true,
54859
+ "supportedEffect": ["v3", "v4"],
54860
+ "codes": [377153],
54861
+ "preview": {
54862
+ "sourceText": "import { Data, Effect } from \"effect\"\n\nclass TaskError extends Data.TaggedError(\"TaskError\")<{\n readonly message: string\n}> {}\n\ndeclare const fetchCount: Effect.Effect<number, string>\n\n// MUST TRIGGER: adjacent Effect.map + Effect.mapError is a single Effect.mapBoth\nexport const isPositive = fetchCount.pipe(\n Effect.map((n) => n > 0),\n Effect.mapError((message) => new TaskError({ message }))\n)\n",
54863
+ "diagnostics": [{
54864
+ "start": 341,
54865
+ "end": 356,
54866
+ "text": "`Effect.map` + `Effect.mapError` transform the success and failure channels one step at a time; `Effect.mapBoth` expresses both transformations in a single step. effect(mapMapErrorToMapBoth)"
54867
+ }]
54868
+ }
54869
+ },
54812
54870
  {
54813
54871
  "name": "mapSomeToAsSome",
54814
54872
  "group": "style",
@@ -55462,11 +55520,11 @@ var tags = {
55462
55520
  "typescript": {
55463
55521
  "latest": "7.0.2",
55464
55522
  "beta": "7.1.0-beta",
55465
- "next": "7.1.0-dev.20261027.1"
55523
+ "next": "7.1.0-dev.20261028.1"
55466
55524
  },
55467
55525
  "oxlint": { "latest": "1.90.0" },
55468
55526
  "oxlint-tsgolint": { "latest": "7.0.2005" },
55469
- "tsrs": { "latest": "0.20.0-ts7.1.0-beta" }
55527
+ "tsrs": { "latest": "0.20.1-ts7.1.0-beta" }
55470
55528
  };
55471
55529
  var components = {
55472
55530
  "typescript": {
@@ -55478,8 +55536,8 @@ var components = {
55478
55536
  "gitHead": "3e9236361fa97a9e6c685f4833ac457ae2d8c50a",
55479
55537
  "provider": "typescript"
55480
55538
  },
55481
- "7.1.0-dev.20261027.1": {
55482
- "gitHead": "49e69830214c55a8cc361aa3c4e7412d0afd02fe",
55539
+ "7.1.0-dev.20261028.1": {
55540
+ "gitHead": "97aedd3b75e8e18a3cf2786ffbdb2e6c88aea23f",
55483
55541
  "provider": "typescript"
55484
55542
  }
55485
55543
  },
@@ -55498,8 +55556,8 @@ var components = {
55498
55556
  "1.89.0": { "gitHead": "07ed78f4abde4020ca7919381ffea4da8616b78a" },
55499
55557
  "1.90.0": { "gitHead": "9b6fff42fa6edf0bec55861b6f0764c7b9acd86b" }
55500
55558
  },
55501
- "tsrs": { "0.20.0-ts7.1.0-beta": {
55502
- "gitHead": "d197eeea709616d61930c2bd5eac048471e404b8",
55559
+ "tsrs": { "0.20.1-ts7.1.0-beta": {
55560
+ "gitHead": "77d3cddb44540734abc33a42ccca4d3f33bee527",
55503
55561
  "typescript": {
55504
55562
  "version": "7.1.0-beta",
55505
55563
  "gitHead": "3e9236361fa97a9e6c685f4833ac457ae2d8c50a"
@@ -152,6 +152,7 @@ export const recommended = {
152
152
  "effecttsgo/effect-succeed-with-void": "warn",
153
153
  "effecttsgo/error-payload-shadows-name": "warn",
154
154
  "effecttsgo/experimental-api-usage": "warn",
155
+ "effecttsgo/fail-cause-to-constructor": "warn",
155
156
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
156
157
  "effecttsgo/flat-map-identity-to-flatten": "warn",
157
158
  "effecttsgo/flat-map-ignored-param-to-and-then": "warn",
@@ -166,6 +167,7 @@ export const recommended = {
166
167
  "effecttsgo/lazy-effect": "warn",
167
168
  "effecttsgo/lazy-promise-in-effect-sync": "warn",
168
169
  "effecttsgo/leaking-requirements": "warn",
170
+ "effecttsgo/manual-metric-tap-to-track": "warn",
169
171
  "effecttsgo/map-const-to-as": "warn",
170
172
  "effecttsgo/map-some-to-as-some": "warn",
171
173
  "effecttsgo/match-effect-to-map-both": "warn",
@@ -252,6 +254,7 @@ export const strict = {
252
254
  "effecttsgo/effect-succeed-with-void": "error",
253
255
  "effecttsgo/error-payload-shadows-name": "error",
254
256
  "effecttsgo/experimental-api-usage": "error",
257
+ "effecttsgo/fail-cause-to-constructor": "error",
255
258
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "error",
256
259
  "effecttsgo/flat-map-identity-to-flatten": "error",
257
260
  "effecttsgo/flat-map-ignored-param-to-and-then": "error",
@@ -266,6 +269,7 @@ export const strict = {
266
269
  "effecttsgo/lazy-effect": "error",
267
270
  "effecttsgo/lazy-promise-in-effect-sync": "error",
268
271
  "effecttsgo/leaking-requirements": "error",
272
+ "effecttsgo/manual-metric-tap-to-track": "error",
269
273
  "effecttsgo/map-const-to-as": "error",
270
274
  "effecttsgo/map-some-to-as-some": "error",
271
275
  "effecttsgo/match-effect-to-map-both": "error",
@@ -343,12 +347,15 @@ export const style = {
343
347
  "effecttsgo/effect-map-void": "warn",
344
348
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
345
349
  "effecttsgo/effect-succeed-with-void": "warn",
350
+ "effecttsgo/fail-cause-to-constructor": "warn",
346
351
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
347
352
  "effecttsgo/flat-map-identity-to-flatten": "warn",
348
353
  "effecttsgo/flat-map-ignored-param-to-and-then": "warn",
349
354
  "effecttsgo/flat-map-to-map": "warn",
350
355
  "effecttsgo/flat-map-to-tap": "warn",
356
+ "effecttsgo/manual-metric-tap-to-track": "warn",
351
357
  "effecttsgo/map-const-to-as": "warn",
358
+ "effecttsgo/map-map-error-to-map-both": "warn",
352
359
  "effecttsgo/map-some-to-as-some": "warn",
353
360
  "effecttsgo/match-effect-to-map-both": "warn",
354
361
  "effecttsgo/match-effect-to-match": "warn",
@@ -34,6 +34,7 @@
34
34
  "effecttsgo/effect-succeed-with-void": "warn",
35
35
  "effecttsgo/error-payload-shadows-name": "warn",
36
36
  "effecttsgo/experimental-api-usage": "warn",
37
+ "effecttsgo/fail-cause-to-constructor": "warn",
37
38
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
38
39
  "effecttsgo/flat-map-identity-to-flatten": "warn",
39
40
  "effecttsgo/flat-map-ignored-param-to-and-then": "warn",
@@ -48,6 +49,7 @@
48
49
  "effecttsgo/lazy-effect": "warn",
49
50
  "effecttsgo/lazy-promise-in-effect-sync": "warn",
50
51
  "effecttsgo/leaking-requirements": "warn",
52
+ "effecttsgo/manual-metric-tap-to-track": "warn",
51
53
  "effecttsgo/map-const-to-as": "warn",
52
54
  "effecttsgo/map-some-to-as-some": "warn",
53
55
  "effecttsgo/match-effect-to-map-both": "warn",
@@ -34,6 +34,7 @@
34
34
  "effecttsgo/effect-succeed-with-void": "error",
35
35
  "effecttsgo/error-payload-shadows-name": "error",
36
36
  "effecttsgo/experimental-api-usage": "error",
37
+ "effecttsgo/fail-cause-to-constructor": "error",
37
38
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "error",
38
39
  "effecttsgo/flat-map-identity-to-flatten": "error",
39
40
  "effecttsgo/flat-map-ignored-param-to-and-then": "error",
@@ -48,6 +49,7 @@
48
49
  "effecttsgo/lazy-effect": "error",
49
50
  "effecttsgo/lazy-promise-in-effect-sync": "error",
50
51
  "effecttsgo/leaking-requirements": "error",
52
+ "effecttsgo/manual-metric-tap-to-track": "error",
51
53
  "effecttsgo/map-const-to-as": "error",
52
54
  "effecttsgo/map-some-to-as-some": "error",
53
55
  "effecttsgo/match-effect-to-map-both": "error",
@@ -25,12 +25,15 @@
25
25
  "effecttsgo/effect-map-void": "warn",
26
26
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
27
27
  "effecttsgo/effect-succeed-with-void": "warn",
28
+ "effecttsgo/fail-cause-to-constructor": "warn",
28
29
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
29
30
  "effecttsgo/flat-map-identity-to-flatten": "warn",
30
31
  "effecttsgo/flat-map-ignored-param-to-and-then": "warn",
31
32
  "effecttsgo/flat-map-to-map": "warn",
32
33
  "effecttsgo/flat-map-to-tap": "warn",
34
+ "effecttsgo/manual-metric-tap-to-track": "warn",
33
35
  "effecttsgo/map-const-to-as": "warn",
36
+ "effecttsgo/map-map-error-to-map-both": "warn",
34
37
  "effecttsgo/map-some-to-as-some": "warn",
35
38
  "effecttsgo/match-effect-to-map-both": "warn",
36
39
  "effecttsgo/match-effect-to-match": "warn",
@@ -2353,6 +2353,9 @@
2353
2353
  "effecttsgo/extends-native-error": {
2354
2354
  "$ref": "#/definitions/RuleNoConfig"
2355
2355
  },
2356
+ "effecttsgo/fail-cause-to-constructor": {
2357
+ "$ref": "#/definitions/RuleNoConfig"
2358
+ },
2356
2359
  "effecttsgo/flat-map-conditional-to-filter-or-fail": {
2357
2360
  "$ref": "#/definitions/RuleNoConfig"
2358
2361
  },
@@ -2428,9 +2431,15 @@
2428
2431
  "effecttsgo/leaking-requirements": {
2429
2432
  "$ref": "#/definitions/RuleNoConfig"
2430
2433
  },
2434
+ "effecttsgo/manual-metric-tap-to-track": {
2435
+ "$ref": "#/definitions/RuleNoConfig"
2436
+ },
2431
2437
  "effecttsgo/map-const-to-as": {
2432
2438
  "$ref": "#/definitions/RuleNoConfig"
2433
2439
  },
2440
+ "effecttsgo/map-map-error-to-map-both": {
2441
+ "$ref": "#/definitions/RuleNoConfig"
2442
+ },
2434
2443
  "effecttsgo/map-some-to-as-some": {
2435
2444
  "$ref": "#/definitions/RuleNoConfig"
2436
2445
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/tsgo",
3
- "version": "0.62.0",
3
+ "version": "0.63.0",
4
4
  "type": "module",
5
5
  "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
6
6
  "license": "MIT",
@@ -41,13 +41,13 @@
41
41
  "schema.json"
42
42
  ],
43
43
  "optionalDependencies": {
44
- "@effect/tsgo-win32-arm64": "0.62.0",
45
- "@effect/tsgo-win32-x64": "0.62.0",
46
- "@effect/tsgo-linux-x64": "0.62.0",
47
- "@effect/tsgo-linux-arm64": "0.62.0",
48
- "@effect/tsgo-linux-arm": "0.62.0",
49
- "@effect/tsgo-darwin-x64": "0.62.0",
50
- "@effect/tsgo-darwin-arm64": "0.62.0"
44
+ "@effect/tsgo-win32-x64": "0.63.0",
45
+ "@effect/tsgo-win32-arm64": "0.63.0",
46
+ "@effect/tsgo-linux-x64": "0.63.0",
47
+ "@effect/tsgo-linux-arm64": "0.63.0",
48
+ "@effect/tsgo-linux-arm": "0.63.0",
49
+ "@effect/tsgo-darwin-x64": "0.63.0",
50
+ "@effect/tsgo-darwin-arm64": "0.63.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@effect/platform-node": "^4.0.2",
package/schema.json CHANGED
@@ -2519,6 +2519,11 @@
2519
2519
  "default": "off",
2520
2520
  "description": "Warns when a class directly extends the native Error class"
2521
2521
  },
2522
+ "failCauseToConstructor": {
2523
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2524
+ "default": "suggestion",
2525
+ "description": "Suggests Effect.fail/die/failSync/dieSync instead of failCause/failCauseSync wrapping a single Cause.fail/die"
2526
+ },
2522
2527
  "flatMapConditionalToFilterOrFail": {
2523
2528
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2524
2529
  "default": "suggestion",
@@ -2644,11 +2649,21 @@
2644
2649
  "default": "suggestion",
2645
2650
  "description": "Detects implementation services leaked in service methods"
2646
2651
  },
2652
+ "manualMetricTapToTrack": {
2653
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2654
+ "default": "suggestion",
2655
+ "description": "Suggests Effect.trackSuccesses/trackErrors/trackDefects when an Effect.tap/tapError/tapDefect only updates a metric"
2656
+ },
2647
2657
  "mapConstToAs": {
2648
2658
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2649
2659
  "default": "suggestion",
2650
2660
  "description": "Suggests using Effect.as instead of Effect.map when the callback ignores its input and returns a constant"
2651
2661
  },
2662
+ "mapMapErrorToMapBoth": {
2663
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2664
+ "default": "off",
2665
+ "description": "Suggests Effect.mapBoth when Effect.map and Effect.mapError are adjacent steps of a piping flow"
2666
+ },
2652
2667
  "mapSomeToAsSome": {
2653
2668
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2654
2669
  "default": "suggestion",