@effect/tsgo 0.63.0 → 0.64.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.
@@ -11,6 +11,7 @@
11
11
  "effecttsgo/effect-gen-uses-adapter": "warn",
12
12
  "effecttsgo/effect-in-failure": "warn",
13
13
  "effecttsgo/effect-in-void-success": "warn",
14
+ "effecttsgo/effect-try-without-catch": "warn",
14
15
  "effecttsgo/global-error-in-effect-catch": "warn",
15
16
  "effecttsgo/global-error-in-effect-failure": "warn",
16
17
  "effecttsgo/layer-merge-all-with-dependencies": "warn",
@@ -17,6 +17,8 @@
17
17
  "effecttsgo/global-date-in-effect": "warn",
18
18
  "effecttsgo/global-fetch": "warn",
19
19
  "effecttsgo/global-fetch-in-effect": "warn",
20
+ "effecttsgo/global-json": "warn",
21
+ "effecttsgo/global-json-in-effect": "warn",
20
22
  "effecttsgo/global-random": "warn",
21
23
  "effecttsgo/global-random-in-effect": "warn",
22
24
  "effecttsgo/global-timers": "warn",
@@ -27,7 +29,6 @@
27
29
  "effecttsgo/prefer-effect-array": "warn",
28
30
  "effecttsgo/prefer-effect-record": "warn",
29
31
  "effecttsgo/prefer-effect-string": "warn",
30
- "effecttsgo/prefer-schema-over-json": "warn",
31
32
  "effecttsgo/process-env": "warn",
32
33
  "effecttsgo/process-env-in-effect": "warn",
33
34
  "effecttsgo/schema-sync": "warn"
@@ -13,6 +13,7 @@ export const antipattern = {
13
13
  "effecttsgo/effect-gen-uses-adapter": "warn",
14
14
  "effecttsgo/effect-in-failure": "warn",
15
15
  "effecttsgo/effect-in-void-success": "warn",
16
+ "effecttsgo/effect-try-without-catch": "warn",
16
17
  "effecttsgo/global-error-in-effect-catch": "warn",
17
18
  "effecttsgo/global-error-in-effect-failure": "warn",
18
19
  "effecttsgo/layer-merge-all-with-dependencies": "warn",
@@ -87,6 +88,8 @@ export const effectNative = {
87
88
  "effecttsgo/global-date-in-effect": "warn",
88
89
  "effecttsgo/global-fetch": "warn",
89
90
  "effecttsgo/global-fetch-in-effect": "warn",
91
+ "effecttsgo/global-json": "warn",
92
+ "effecttsgo/global-json-in-effect": "warn",
90
93
  "effecttsgo/global-random": "warn",
91
94
  "effecttsgo/global-random-in-effect": "warn",
92
95
  "effecttsgo/global-timers": "warn",
@@ -97,7 +100,6 @@ export const effectNative = {
97
100
  "effecttsgo/prefer-effect-array": "warn",
98
101
  "effecttsgo/prefer-effect-record": "warn",
99
102
  "effecttsgo/prefer-effect-string": "warn",
100
- "effecttsgo/prefer-schema-over-json": "warn",
101
103
  "effecttsgo/process-env": "warn",
102
104
  "effecttsgo/process-env-in-effect": "warn",
103
105
  "effecttsgo/schema-sync": "warn"
@@ -149,6 +151,7 @@ export const recommended = {
149
151
  "effecttsgo/effect-map-flatten": "warn",
150
152
  "effecttsgo/effect-map-void": "warn",
151
153
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
154
+ "effecttsgo/effect-succeed-with-undefined": "warn",
152
155
  "effecttsgo/effect-succeed-with-void": "warn",
153
156
  "effecttsgo/error-payload-shadows-name": "warn",
154
157
  "effecttsgo/experimental-api-usage": "warn",
@@ -169,7 +172,9 @@ export const recommended = {
169
172
  "effecttsgo/leaking-requirements": "warn",
170
173
  "effecttsgo/manual-metric-tap-to-track": "warn",
171
174
  "effecttsgo/map-const-to-as": "warn",
175
+ "effecttsgo/map-some-catch-no-such-element": "warn",
172
176
  "effecttsgo/map-some-to-as-some": "warn",
177
+ "effecttsgo/match-boolean-to-is-success": "warn",
173
178
  "effecttsgo/match-effect-to-map-both": "warn",
174
179
  "effecttsgo/match-effect-to-match": "warn",
175
180
  "effecttsgo/missing-effect-context": "error",
@@ -194,6 +199,7 @@ export const recommended = {
194
199
  "effecttsgo/redundant-map-error": "warn",
195
200
  "effecttsgo/redundant-or-die": "warn",
196
201
  "effecttsgo/redundant-schema-tag-identifier": "warn",
202
+ "effecttsgo/result-match-to-from-result": "warn",
197
203
  "effecttsgo/return-effect-in-gen": "warn",
198
204
  "effecttsgo/run-effect-inside-effect": "warn",
199
205
  "effecttsgo/run-of-exit-to-run-exit": "warn",
@@ -205,6 +211,7 @@ export const recommended = {
205
211
  "effecttsgo/schema-struct-with-tag": "warn",
206
212
  "effecttsgo/schema-sync-in-effect": "warn",
207
213
  "effecttsgo/scope-in-layer-effect": "warn",
214
+ "effecttsgo/suspend-fail-to-fail-sync": "warn",
208
215
  "effecttsgo/sync-to-succeed": "warn",
209
216
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
210
217
  "effecttsgo/try-catch-in-effect-gen": "warn",
@@ -251,6 +258,7 @@ export const strict = {
251
258
  "effecttsgo/effect-map-flatten": "error",
252
259
  "effecttsgo/effect-map-void": "error",
253
260
  "effecttsgo/effect-sleep-zero-to-yield-now": "error",
261
+ "effecttsgo/effect-succeed-with-undefined": "error",
254
262
  "effecttsgo/effect-succeed-with-void": "error",
255
263
  "effecttsgo/error-payload-shadows-name": "error",
256
264
  "effecttsgo/experimental-api-usage": "error",
@@ -271,7 +279,9 @@ export const strict = {
271
279
  "effecttsgo/leaking-requirements": "error",
272
280
  "effecttsgo/manual-metric-tap-to-track": "error",
273
281
  "effecttsgo/map-const-to-as": "error",
282
+ "effecttsgo/map-some-catch-no-such-element": "error",
274
283
  "effecttsgo/map-some-to-as-some": "error",
284
+ "effecttsgo/match-boolean-to-is-success": "error",
275
285
  "effecttsgo/match-effect-to-map-both": "error",
276
286
  "effecttsgo/match-effect-to-match": "error",
277
287
  "effecttsgo/missing-effect-context": "error",
@@ -296,6 +306,7 @@ export const strict = {
296
306
  "effecttsgo/redundant-map-error": "error",
297
307
  "effecttsgo/redundant-or-die": "error",
298
308
  "effecttsgo/redundant-schema-tag-identifier": "error",
309
+ "effecttsgo/result-match-to-from-result": "error",
299
310
  "effecttsgo/return-effect-in-gen": "error",
300
311
  "effecttsgo/run-effect-inside-effect": "error",
301
312
  "effecttsgo/run-of-exit-to-run-exit": "error",
@@ -307,6 +318,7 @@ export const strict = {
307
318
  "effecttsgo/schema-struct-with-tag": "error",
308
319
  "effecttsgo/schema-sync-in-effect": "error",
309
320
  "effecttsgo/scope-in-layer-effect": "error",
321
+ "effecttsgo/suspend-fail-to-fail-sync": "error",
310
322
  "effecttsgo/sync-to-succeed": "error",
311
323
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "error",
312
324
  "effecttsgo/try-catch-in-effect-gen": "error",
@@ -346,6 +358,7 @@ export const style = {
346
358
  "effecttsgo/effect-map-flatten": "warn",
347
359
  "effecttsgo/effect-map-void": "warn",
348
360
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
361
+ "effecttsgo/effect-succeed-with-undefined": "warn",
349
362
  "effecttsgo/effect-succeed-with-void": "warn",
350
363
  "effecttsgo/fail-cause-to-constructor": "warn",
351
364
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
@@ -356,7 +369,9 @@ export const style = {
356
369
  "effecttsgo/manual-metric-tap-to-track": "warn",
357
370
  "effecttsgo/map-const-to-as": "warn",
358
371
  "effecttsgo/map-map-error-to-map-both": "warn",
372
+ "effecttsgo/map-some-catch-no-such-element": "warn",
359
373
  "effecttsgo/map-some-to-as-some": "warn",
374
+ "effecttsgo/match-boolean-to-is-success": "warn",
360
375
  "effecttsgo/match-effect-to-map-both": "warn",
361
376
  "effecttsgo/match-effect-to-match": "warn",
362
377
  "effecttsgo/missed-pipeable-opportunity": "warn",
@@ -373,24 +388,29 @@ export const style = {
373
388
  "effecttsgo/prefer-succeed-some-or-none": "warn",
374
389
  "effecttsgo/prefer-typed-schema-decoder": "warn",
375
390
  "effecttsgo/provide-layer-succeed-to-provide-service": "warn",
391
+ "effecttsgo/provide-merge-all-to-array": "warn",
376
392
  "effecttsgo/race-first-with-sleep-to-timeout": "warn",
377
393
  "effecttsgo/redundant-map-error": "warn",
378
394
  "effecttsgo/redundant-or-die": "warn",
379
395
  "effecttsgo/redundant-schema-tag-identifier": "warn",
396
+ "effecttsgo/result-match-to-from-result": "warn",
380
397
  "effecttsgo/run-of-exit-to-run-exit": "warn",
381
398
  "effecttsgo/schema-number": "warn",
382
399
  "effecttsgo/schema-struct-with-tag": "warn",
383
400
  "effecttsgo/schema-union-of-literals": "warn",
384
401
  "effecttsgo/service-not-as-class": "warn",
385
402
  "effecttsgo/strict-boolean-expressions": "warn",
403
+ "effecttsgo/suspend-fail-to-fail-sync": "warn",
386
404
  "effecttsgo/sync-to-succeed": "warn",
387
405
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
406
+ "effecttsgo/type-union-to-schema-union": "warn",
388
407
  "effecttsgo/unnecessary-arrow-block": "warn",
389
408
  "effecttsgo/unnecessary-effect-gen": "warn",
390
409
  "effecttsgo/unnecessary-fail-yieldable-error": "warn",
391
410
  "effecttsgo/unnecessary-pipe": "warn",
392
411
  "effecttsgo/unnecessary-pipe-chain": "warn",
393
- "effecttsgo/unnecessary-typeof-type": "warn"
412
+ "effecttsgo/unnecessary-typeof-type": "warn",
413
+ "effecttsgo/yield-in-call-argument": "warn"
394
414
  }
395
415
  }
396
416
 
@@ -31,6 +31,7 @@
31
31
  "effecttsgo/effect-map-flatten": "warn",
32
32
  "effecttsgo/effect-map-void": "warn",
33
33
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
34
+ "effecttsgo/effect-succeed-with-undefined": "warn",
34
35
  "effecttsgo/effect-succeed-with-void": "warn",
35
36
  "effecttsgo/error-payload-shadows-name": "warn",
36
37
  "effecttsgo/experimental-api-usage": "warn",
@@ -51,7 +52,9 @@
51
52
  "effecttsgo/leaking-requirements": "warn",
52
53
  "effecttsgo/manual-metric-tap-to-track": "warn",
53
54
  "effecttsgo/map-const-to-as": "warn",
55
+ "effecttsgo/map-some-catch-no-such-element": "warn",
54
56
  "effecttsgo/map-some-to-as-some": "warn",
57
+ "effecttsgo/match-boolean-to-is-success": "warn",
55
58
  "effecttsgo/match-effect-to-map-both": "warn",
56
59
  "effecttsgo/match-effect-to-match": "warn",
57
60
  "effecttsgo/missing-effect-context": "error",
@@ -76,6 +79,7 @@
76
79
  "effecttsgo/redundant-map-error": "warn",
77
80
  "effecttsgo/redundant-or-die": "warn",
78
81
  "effecttsgo/redundant-schema-tag-identifier": "warn",
82
+ "effecttsgo/result-match-to-from-result": "warn",
79
83
  "effecttsgo/return-effect-in-gen": "warn",
80
84
  "effecttsgo/run-effect-inside-effect": "warn",
81
85
  "effecttsgo/run-of-exit-to-run-exit": "warn",
@@ -87,6 +91,7 @@
87
91
  "effecttsgo/schema-struct-with-tag": "warn",
88
92
  "effecttsgo/schema-sync-in-effect": "warn",
89
93
  "effecttsgo/scope-in-layer-effect": "warn",
94
+ "effecttsgo/suspend-fail-to-fail-sync": "warn",
90
95
  "effecttsgo/sync-to-succeed": "warn",
91
96
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
92
97
  "effecttsgo/try-catch-in-effect-gen": "warn",
@@ -31,6 +31,7 @@
31
31
  "effecttsgo/effect-map-flatten": "error",
32
32
  "effecttsgo/effect-map-void": "error",
33
33
  "effecttsgo/effect-sleep-zero-to-yield-now": "error",
34
+ "effecttsgo/effect-succeed-with-undefined": "error",
34
35
  "effecttsgo/effect-succeed-with-void": "error",
35
36
  "effecttsgo/error-payload-shadows-name": "error",
36
37
  "effecttsgo/experimental-api-usage": "error",
@@ -51,7 +52,9 @@
51
52
  "effecttsgo/leaking-requirements": "error",
52
53
  "effecttsgo/manual-metric-tap-to-track": "error",
53
54
  "effecttsgo/map-const-to-as": "error",
55
+ "effecttsgo/map-some-catch-no-such-element": "error",
54
56
  "effecttsgo/map-some-to-as-some": "error",
57
+ "effecttsgo/match-boolean-to-is-success": "error",
55
58
  "effecttsgo/match-effect-to-map-both": "error",
56
59
  "effecttsgo/match-effect-to-match": "error",
57
60
  "effecttsgo/missing-effect-context": "error",
@@ -76,6 +79,7 @@
76
79
  "effecttsgo/redundant-map-error": "error",
77
80
  "effecttsgo/redundant-or-die": "error",
78
81
  "effecttsgo/redundant-schema-tag-identifier": "error",
82
+ "effecttsgo/result-match-to-from-result": "error",
79
83
  "effecttsgo/return-effect-in-gen": "error",
80
84
  "effecttsgo/run-effect-inside-effect": "error",
81
85
  "effecttsgo/run-of-exit-to-run-exit": "error",
@@ -87,6 +91,7 @@
87
91
  "effecttsgo/schema-struct-with-tag": "error",
88
92
  "effecttsgo/schema-sync-in-effect": "error",
89
93
  "effecttsgo/scope-in-layer-effect": "error",
94
+ "effecttsgo/suspend-fail-to-fail-sync": "error",
90
95
  "effecttsgo/sync-to-succeed": "error",
91
96
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "error",
92
97
  "effecttsgo/try-catch-in-effect-gen": "error",
@@ -24,6 +24,7 @@
24
24
  "effecttsgo/effect-map-flatten": "warn",
25
25
  "effecttsgo/effect-map-void": "warn",
26
26
  "effecttsgo/effect-sleep-zero-to-yield-now": "warn",
27
+ "effecttsgo/effect-succeed-with-undefined": "warn",
27
28
  "effecttsgo/effect-succeed-with-void": "warn",
28
29
  "effecttsgo/fail-cause-to-constructor": "warn",
29
30
  "effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
@@ -34,7 +35,9 @@
34
35
  "effecttsgo/manual-metric-tap-to-track": "warn",
35
36
  "effecttsgo/map-const-to-as": "warn",
36
37
  "effecttsgo/map-map-error-to-map-both": "warn",
38
+ "effecttsgo/map-some-catch-no-such-element": "warn",
37
39
  "effecttsgo/map-some-to-as-some": "warn",
40
+ "effecttsgo/match-boolean-to-is-success": "warn",
38
41
  "effecttsgo/match-effect-to-map-both": "warn",
39
42
  "effecttsgo/match-effect-to-match": "warn",
40
43
  "effecttsgo/missed-pipeable-opportunity": "warn",
@@ -51,23 +54,28 @@
51
54
  "effecttsgo/prefer-succeed-some-or-none": "warn",
52
55
  "effecttsgo/prefer-typed-schema-decoder": "warn",
53
56
  "effecttsgo/provide-layer-succeed-to-provide-service": "warn",
57
+ "effecttsgo/provide-merge-all-to-array": "warn",
54
58
  "effecttsgo/race-first-with-sleep-to-timeout": "warn",
55
59
  "effecttsgo/redundant-map-error": "warn",
56
60
  "effecttsgo/redundant-or-die": "warn",
57
61
  "effecttsgo/redundant-schema-tag-identifier": "warn",
62
+ "effecttsgo/result-match-to-from-result": "warn",
58
63
  "effecttsgo/run-of-exit-to-run-exit": "warn",
59
64
  "effecttsgo/schema-number": "warn",
60
65
  "effecttsgo/schema-struct-with-tag": "warn",
61
66
  "effecttsgo/schema-union-of-literals": "warn",
62
67
  "effecttsgo/service-not-as-class": "warn",
63
68
  "effecttsgo/strict-boolean-expressions": "warn",
69
+ "effecttsgo/suspend-fail-to-fail-sync": "warn",
64
70
  "effecttsgo/sync-to-succeed": "warn",
65
71
  "effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
72
+ "effecttsgo/type-union-to-schema-union": "warn",
66
73
  "effecttsgo/unnecessary-arrow-block": "warn",
67
74
  "effecttsgo/unnecessary-effect-gen": "warn",
68
75
  "effecttsgo/unnecessary-fail-yieldable-error": "warn",
69
76
  "effecttsgo/unnecessary-pipe": "warn",
70
77
  "effecttsgo/unnecessary-pipe-chain": "warn",
71
- "effecttsgo/unnecessary-typeof-type": "warn"
78
+ "effecttsgo/unnecessary-typeof-type": "warn",
79
+ "effecttsgo/yield-in-call-argument": "warn"
72
80
  }
73
81
  }
@@ -2341,9 +2341,15 @@
2341
2341
  "effecttsgo/effect-sleep-zero-to-yield-now": {
2342
2342
  "$ref": "#/definitions/RuleNoConfig"
2343
2343
  },
2344
+ "effecttsgo/effect-succeed-with-undefined": {
2345
+ "$ref": "#/definitions/RuleNoConfig"
2346
+ },
2344
2347
  "effecttsgo/effect-succeed-with-void": {
2345
2348
  "$ref": "#/definitions/RuleNoConfig"
2346
2349
  },
2350
+ "effecttsgo/effect-try-without-catch": {
2351
+ "$ref": "#/definitions/RuleNoConfig"
2352
+ },
2347
2353
  "effecttsgo/error-payload-shadows-name": {
2348
2354
  "$ref": "#/definitions/RuleNoConfig"
2349
2355
  },
@@ -2404,6 +2410,12 @@
2404
2410
  "effecttsgo/global-fetch-in-effect": {
2405
2411
  "$ref": "#/definitions/RuleNoConfig"
2406
2412
  },
2413
+ "effecttsgo/global-json": {
2414
+ "$ref": "#/definitions/RuleNoConfig"
2415
+ },
2416
+ "effecttsgo/global-json-in-effect": {
2417
+ "$ref": "#/definitions/RuleNoConfig"
2418
+ },
2407
2419
  "effecttsgo/global-random": {
2408
2420
  "$ref": "#/definitions/RuleNoConfig"
2409
2421
  },
@@ -2440,9 +2452,15 @@
2440
2452
  "effecttsgo/map-map-error-to-map-both": {
2441
2453
  "$ref": "#/definitions/RuleNoConfig"
2442
2454
  },
2455
+ "effecttsgo/map-some-catch-no-such-element": {
2456
+ "$ref": "#/definitions/RuleNoConfig"
2457
+ },
2443
2458
  "effecttsgo/map-some-to-as-some": {
2444
2459
  "$ref": "#/definitions/RuleNoConfig"
2445
2460
  },
2461
+ "effecttsgo/match-boolean-to-is-success": {
2462
+ "$ref": "#/definitions/RuleNoConfig"
2463
+ },
2446
2464
  "effecttsgo/match-effect-to-map-both": {
2447
2465
  "$ref": "#/definitions/RuleNoConfig"
2448
2466
  },
@@ -2554,6 +2572,9 @@
2554
2572
  "effecttsgo/provide-layer-succeed-to-provide-service": {
2555
2573
  "$ref": "#/definitions/RuleNoConfig"
2556
2574
  },
2575
+ "effecttsgo/provide-merge-all-to-array": {
2576
+ "$ref": "#/definitions/RuleNoConfig"
2577
+ },
2557
2578
  "effecttsgo/race-first-with-sleep-to-timeout": {
2558
2579
  "$ref": "#/definitions/RuleNoConfig"
2559
2580
  },
@@ -2566,6 +2587,9 @@
2566
2587
  "effecttsgo/redundant-schema-tag-identifier": {
2567
2588
  "$ref": "#/definitions/RuleNoConfig"
2568
2589
  },
2590
+ "effecttsgo/result-match-to-from-result": {
2591
+ "$ref": "#/definitions/RuleNoConfig"
2592
+ },
2569
2593
  "effecttsgo/return-effect-in-gen": {
2570
2594
  "$ref": "#/definitions/RuleNoConfig"
2571
2595
  },
@@ -2614,6 +2638,9 @@
2614
2638
  "effecttsgo/strict-effect-provide": {
2615
2639
  "$ref": "#/definitions/RuleNoConfig"
2616
2640
  },
2641
+ "effecttsgo/suspend-fail-to-fail-sync": {
2642
+ "$ref": "#/definitions/RuleNoConfig"
2643
+ },
2617
2644
  "effecttsgo/sync-to-succeed": {
2618
2645
  "$ref": "#/definitions/RuleNoConfig"
2619
2646
  },
@@ -2623,6 +2650,9 @@
2623
2650
  "effecttsgo/try-catch-in-effect-gen": {
2624
2651
  "$ref": "#/definitions/RuleNoConfig"
2625
2652
  },
2653
+ "effecttsgo/type-union-to-schema-union": {
2654
+ "$ref": "#/definitions/RuleNoConfig"
2655
+ },
2626
2656
  "effecttsgo/unknown-in-effect-catch": {
2627
2657
  "$ref": "#/definitions/RuleNoConfig"
2628
2658
  },
@@ -2650,6 +2680,9 @@
2650
2680
  "effecttsgo/unstable-api-usage": {
2651
2681
  "$ref": "#/definitions/RuleNoConfig"
2652
2682
  },
2683
+ "effecttsgo/yield-in-call-argument": {
2684
+ "$ref": "#/definitions/RuleNoConfig"
2685
+ },
2653
2686
  "eqeqeq": {
2654
2687
  "anyOf": [
2655
2688
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/tsgo",
3
- "version": "0.63.0",
3
+ "version": "0.64.1",
4
4
  "type": "module",
5
5
  "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
6
6
  "license": "MIT",
@@ -41,21 +41,21 @@
41
41
  "schema.json"
42
42
  ],
43
43
  "optionalDependencies": {
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"
44
+ "@effect/tsgo-win32-x64": "0.64.1",
45
+ "@effect/tsgo-win32-arm64": "0.64.1",
46
+ "@effect/tsgo-linux-x64": "0.64.1",
47
+ "@effect/tsgo-linux-arm64": "0.64.1",
48
+ "@effect/tsgo-linux-arm": "0.64.1",
49
+ "@effect/tsgo-darwin-x64": "0.64.1",
50
+ "@effect/tsgo-darwin-arm64": "0.64.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@effect/platform-node": "^4.0.2",
54
- "@effect/platform-node-shared": "^4.0.2",
53
+ "@effect/platform-node": "^4.1.2",
54
+ "@effect/platform-node-shared": "^4.1.2",
55
55
  "@types/node": "^24.3.0",
56
56
  "tsdown": "^0.20.1",
57
57
  "typescript": "^5.9.2",
58
- "effect": "^4.0.2",
58
+ "effect": "^4.1.2",
59
59
  "vitest": "^3.2.1"
60
60
  },
61
61
  "scripts": {
package/schema.json CHANGED
@@ -1564,6 +1564,28 @@
1564
1564
  },
1565
1565
  "type": "array"
1566
1566
  },
1567
+ "brandedSchemaClasses": {
1568
+ "default": [
1569
+ "Class",
1570
+ "TaggedClass",
1571
+ "Error",
1572
+ "TaggedError",
1573
+ "Opaque"
1574
+ ],
1575
+ "description": "Schema class kinds that get a nominal brand, used by schemaClassMissingBrand and the Schema class completions.",
1576
+ "items": {
1577
+ "enum": [
1578
+ "Class",
1579
+ "TaggedClass",
1580
+ "Error",
1581
+ "TaggedError",
1582
+ "Opaque"
1583
+ ],
1584
+ "type": "string"
1585
+ },
1586
+ "type": "array",
1587
+ "uniqueItems": true
1588
+ },
1567
1589
  "completions": {
1568
1590
  "default": true,
1569
1591
  "description": "Controls Effect completions.",
@@ -2432,12 +2454,12 @@
2432
2454
  "cryptoRandomUUID": {
2433
2455
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2434
2456
  "default": "off",
2435
- "description": "Warns when using crypto.randomUUID() outside Effect generators instead of the Effect Crypto module"
2457
+ "description": "Warns when using crypto.randomUUID() outside Effect generators instead of SecureRandom from effect/crypto"
2436
2458
  },
2437
2459
  "cryptoRandomUUIDInEffect": {
2438
2460
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2439
2461
  "default": "off",
2440
- "description": "Warns when using crypto.randomUUID() inside Effect generators instead of the Effect Crypto module"
2462
+ "description": "Warns when using crypto.randomUUID() inside Effect generators instead of SecureRandom from effect/crypto"
2441
2463
  },
2442
2464
  "deterministicKeys": {
2443
2465
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
@@ -2499,11 +2521,21 @@
2499
2521
  "default": "suggestion",
2500
2522
  "description": "Suggests Effect.yieldNow for cooperative yielding instead of sleeping for zero duration"
2501
2523
  },
2524
+ "effectSucceedWithUndefined": {
2525
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2526
+ "default": "suggestion",
2527
+ "description": "Suggests using Effect.undefined instead of Effect.succeed(undefined) or Effect.succeed(void 0)"
2528
+ },
2502
2529
  "effectSucceedWithVoid": {
2503
2530
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2504
2531
  "default": "suggestion",
2505
2532
  "description": "Suggests using Effect.void instead of Effect.succeed(undefined) or Effect.succeed(void 0)"
2506
2533
  },
2534
+ "effectTryWithoutCatch": {
2535
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2536
+ "default": "off",
2537
+ "description": "Reports Effect.try and Effect.tryPromise calls without a catch handler, whose failures surface as a generic unknown error"
2538
+ },
2507
2539
  "errorPayloadShadowsName": {
2508
2540
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2509
2541
  "default": "suggestion",
@@ -2604,6 +2636,16 @@
2604
2636
  "default": "off",
2605
2637
  "description": "Warns when using the global fetch function inside Effect generators instead of the Effect HTTP client"
2606
2638
  },
2639
+ "globalJson": {
2640
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2641
+ "default": "off",
2642
+ "description": "Warns when using JSON.parse or JSON.stringify outside Effect generators instead of Effect Schema"
2643
+ },
2644
+ "globalJsonInEffect": {
2645
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2646
+ "default": "off",
2647
+ "description": "Warns when using JSON.parse or JSON.stringify inside Effect generators instead of Effect Schema"
2648
+ },
2607
2649
  "globalRandom": {
2608
2650
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2609
2651
  "default": "off",
@@ -2664,11 +2706,21 @@
2664
2706
  "default": "off",
2665
2707
  "description": "Suggests Effect.mapBoth when Effect.map and Effect.mapError are adjacent steps of a piping flow"
2666
2708
  },
2709
+ "mapSomeCatchNoSuchElement": {
2710
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2711
+ "default": "suggestion",
2712
+ "description": "Suggests Effect.catchNoSuchElement instead of wrapping successes in Option.some and catching NoSuchElementError into Option.none"
2713
+ },
2667
2714
  "mapSomeToAsSome": {
2668
2715
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2669
2716
  "default": "suggestion",
2670
2717
  "description": "Suggests using Effect.asSome instead of Effect.map when the mapper only wraps the success value with Option.some"
2671
2718
  },
2719
+ "matchBooleanToIsSuccess": {
2720
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2721
+ "default": "suggestion",
2722
+ "description": "Suggests Effect.isSuccess or Effect.isFailure when Effect.match or Effect.matchEager folds to complementary boolean literals"
2723
+ },
2672
2724
  "matchEffectToMapBoth": {
2673
2725
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2674
2726
  "default": "suggestion",
@@ -2807,7 +2859,7 @@
2807
2859
  "preferSchemaOverJson": {
2808
2860
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2809
2861
  "default": "off",
2810
- "description": "Suggests using Effect Schema for JSON operations instead of JSON.parse/JSON.stringify"
2862
+ "description": "Deprecated: use globalJsonInEffect and globalJson instead. Suggests using Effect Schema for JSON operations instead of JSON.parse/JSON.stringify inside Effect code"
2811
2863
  },
2812
2864
  "preferSchemaTaggedError": {
2813
2865
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
@@ -2854,6 +2906,11 @@
2854
2906
  "default": "suggestion",
2855
2907
  "description": "Suggests providing inline Layer.succeed and Layer.effect services directly"
2856
2908
  },
2909
+ "provideMergeAllToArray": {
2910
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2911
+ "default": "off",
2912
+ "description": "Suggests passing an array of layers to Effect.provide instead of wrapping them in Layer.mergeAll"
2913
+ },
2857
2914
  "raceFirstWithSleepToTimeout": {
2858
2915
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2859
2916
  "default": "suggestion",
@@ -2874,6 +2931,11 @@
2874
2931
  "default": "suggestion",
2875
2932
  "description": "Suggests removing redundant identifier argument when it equals the tag value in Schema.TaggedClass/TaggedError/TaggedRequest"
2876
2933
  },
2934
+ "resultMatchToFromResult": {
2935
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2936
+ "default": "suggestion",
2937
+ "description": "Suggests Effect.fromResult when Result.match or a Result guard conditional only converts Success to Effect.succeed and Failure to Effect.fail"
2938
+ },
2877
2939
  "returnEffectInGen": {
2878
2940
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2879
2941
  "default": "suggestion",
@@ -2954,6 +3016,11 @@
2954
3016
  "default": "off",
2955
3017
  "description": "Warns when using Effect.provide with layers outside of application entry points"
2956
3018
  },
3019
+ "suspendFailToFailSync": {
3020
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
3021
+ "default": "suggestion",
3022
+ "description": "Suggests Effect.failSync/dieSync instead of Effect.suspend wrapping a single Effect.fail/die"
3023
+ },
2957
3024
  "syncToSucceed": {
2958
3025
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2959
3026
  "default": "suggestion",
@@ -2969,6 +3036,11 @@
2969
3036
  "default": "suggestion",
2970
3037
  "description": "Discourages try/catch in Effect generators in favor of Effect error handling"
2971
3038
  },
3039
+ "typeUnionToSchemaUnion": {
3040
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
3041
+ "default": "off",
3042
+ "description": "Suggests composing unions of Schema .Type/.Encoded types with Schema.Union and deriving the type from it"
3043
+ },
2972
3044
  "unknownInEffectCatch": {
2973
3045
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2974
3046
  "default": "warning",
@@ -3013,6 +3085,11 @@
3013
3085
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
3014
3086
  "default": "warning",
3015
3087
  "description": "Warns when using an API marked @stability unstable"
3088
+ },
3089
+ "yieldInCallArgument": {
3090
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
3091
+ "default": "off",
3092
+ "description": "Suggests yielding into a const before a call instead of passing a yield* directly as a call or new argument in Effect generators"
3016
3093
  }
3017
3094
  },
3018
3095
  "type": "object"
@@ -3090,6 +3167,28 @@
3090
3167
  },
3091
3168
  "type": "array"
3092
3169
  },
3170
+ "brandedSchemaClasses": {
3171
+ "default": [
3172
+ "Class",
3173
+ "TaggedClass",
3174
+ "Error",
3175
+ "TaggedError",
3176
+ "Opaque"
3177
+ ],
3178
+ "description": "Schema class kinds that get a nominal brand, used by schemaClassMissingBrand and the Schema class completions.",
3179
+ "items": {
3180
+ "enum": [
3181
+ "Class",
3182
+ "TaggedClass",
3183
+ "Error",
3184
+ "TaggedError",
3185
+ "Opaque"
3186
+ ],
3187
+ "type": "string"
3188
+ },
3189
+ "type": "array",
3190
+ "uniqueItems": true
3191
+ },
3093
3192
  "completions": {
3094
3193
  "default": true,
3095
3194
  "description": "Controls Effect completions.",
@@ -3313,6 +3412,21 @@
3313
3412
  },
3314
3413
  "type": "array"
3315
3414
  },
3415
+ "brandedSchemaClasses": {
3416
+ "description": "Scoped override for the Schema class kinds that get a nominal brand.",
3417
+ "items": {
3418
+ "enum": [
3419
+ "Class",
3420
+ "TaggedClass",
3421
+ "Error",
3422
+ "TaggedError",
3423
+ "Opaque"
3424
+ ],
3425
+ "type": "string"
3426
+ },
3427
+ "type": "array",
3428
+ "uniqueItems": true
3429
+ },
3316
3430
  "diagnosticSeverity": {
3317
3431
  "$ref": "#/definitions/effectLanguageServicePluginDiagnosticSeverityDefinition",
3318
3432
  "description": "Severity overrides applied when this override matches."